Skip to content

Commit

Permalink
chore: Fix typo in modelName options (#5970)
Browse files Browse the repository at this point in the history
  • Loading branch information
DOTime authored Jul 19, 2024
1 parent 326cb85 commit 57707b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/langchain-community/src/embeddings/baidu_qianfan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { getEnvironmentVariable } from "@langchain/core/utils/env";
/** @deprecated Install and import from @langchain/baidu-qianfan instead. */
export interface BaiduQianfanEmbeddingsParams extends EmbeddingsParams {
/** Model name to use */
modelName: "embedding-v1" | "bge_large_zh" | "bge-large-en" | "tao-8k";
modelName: "embedding-v1" | "bge_large_zh" | "bge_large_en" | "tao-8k";

/**
* Timeout to use when making requests to BaiduQianfan.
Expand Down

0 comments on commit 57707b0

Please sign in to comment.