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?”
optional
model: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?”
optional
apiKey: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?”
optional
baseUrl:string
Defined in: .build/typescript/packages/providers/mixedbread/src/MixedbreadAIEmbeddings.ts:31
The base URL for the API.
embedBatchSize?
Section titled “embedBatchSize?”
optional
embedBatchSize: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?”
optional
embedInfo:EmbeddingInfo
Defined in: .build/typescript/packages/providers/mixedbread/src/MixedbreadAIEmbeddings.ts:42
The embed info for the model.
maxRetries?
Section titled “maxRetries?”
optional
maxRetries: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?”
optional
timeoutInSeconds:number
Defined in: .build/typescript/packages/providers/mixedbread/src/MixedbreadAIEmbeddings.ts:53
Timeouts for the request.