MixedbreadAIEmbeddingsParams
Defined in: .build/typescript/packages/providers/mixedbread/src/MixedbreadAIEmbeddings.ts:14
Interface extending EmbeddingsParams with additional parameters specific to the MixedbreadAIEmbeddings class.
Extends
Section titled “Extends”Omit<EmbeddingsRequestWithoutInput,"model">
Properties
Section titled “Properties”model?
Section titled “model?”
optionalmodel:string
Defined in: .build/typescript/packages/providers/mixedbread/src/MixedbreadAIEmbeddings.ts:20
The model to use for generating embeddings.
Default
Section titled “Default”\{"mixedbread-ai/mxbai-embed-large-v1"\}apiKey?
Section titled “apiKey?”
optionalapiKey:string
Defined in: .build/typescript/packages/providers/mixedbread/src/MixedbreadAIEmbeddings.ts:26
The API key to use.
Default
Section titled “Default”\{process.env.MXBAI_API_KEY\}baseUrl?
Section titled “baseUrl?”
optionalbaseUrl:string
Defined in: .build/typescript/packages/providers/mixedbread/src/MixedbreadAIEmbeddings.ts:31
The base URL for the API.
embedBatchSize?
Section titled “embedBatchSize?”
optionalembedBatchSize:number
Defined in: .build/typescript/packages/providers/mixedbread/src/MixedbreadAIEmbeddings.ts:37
The maximum number of documents to embed in a single request.
Default
Section titled “Default”\{128\}embedInfo?
Section titled “embedInfo?”
optionalembedInfo:EmbeddingInfo
Defined in: .build/typescript/packages/providers/mixedbread/src/MixedbreadAIEmbeddings.ts:42
The embed info for the model.
maxRetries?
Section titled “maxRetries?”
optionalmaxRetries:number
Defined in: .build/typescript/packages/providers/mixedbread/src/MixedbreadAIEmbeddings.ts:48
The maximum number of retries to attempt.
Default
Section titled “Default”\{3\}timeoutInSeconds?
Section titled “timeoutInSeconds?”
optionaltimeoutInSeconds:number
Defined in: .build/typescript/packages/providers/mixedbread/src/MixedbreadAIEmbeddings.ts:53
Timeouts for the request.