MixedbreadAIEmbeddingsParams
定义于:.build/typescript/packages/providers/mixedbread/src/MixedbreadAIEmbeddings.ts:14
扩展 EmbeddingsParams 接口,包含 MixedbreadAIEmbeddings 类特有的附加参数。
Omit<EmbeddingsRequestWithoutInput,"model">
optionalmodel:string
定义于:.build/typescript/packages/providers/mixedbread/src/MixedbreadAIEmbeddings.ts:20
用于生成嵌入向量的模型。
\{"mixedbread-ai/mxbai-embed-large-v1"\}API密钥?
Section titled “apiKey?”
optionalapiKey:string
定义于:.build/typescript/packages/providers/mixedbread/src/MixedbreadAIEmbeddings.ts:26
要使用的API密钥。
\{process.env.MXBAI_API_KEY\}baseUrl?
Section titled “baseUrl?”
optional基础网址:string
定义于:.build/typescript/packages/providers/mixedbread/src/MixedbreadAIEmbeddings.ts:31
API的基础URL。
embedBatchSize?
Section titled “embedBatchSize?”
optionalembedBatchSize:number
定义于:.build/typescript/packages/providers/mixedbread/src/MixedbreadAIEmbeddings.ts:37
单次请求中可嵌入文档的最大数量。
\{128\}embedInfo?
Section titled “embedInfo?”
optionalembedInfo:EmbeddingInfo
定义于:.build/typescript/packages/providers/mixedbread/src/MixedbreadAIEmbeddings.ts:42
模型的嵌入信息。
最大重试次数?
Section titled “maxRetries?”
optional最大重试次数:number
定义于:.build/typescript/packages/providers/mixedbread/src/MixedbreadAIEmbeddings.ts:48
最大重试次数。
\{3\}
optional超时秒数:number
定义于:.build/typescript/packages/providers/mixedbread/src/MixedbreadAIEmbeddings.ts:53
请求的超时时间。