MixedbreadAIEmbeddingsParams
Defined in: providers/mixedbread/src/MixedbreadAIEmbeddings.ts:14
Interface extending EmbeddingsParams with additional parameters specific to the MixedbreadAIEmbeddings class.
Extends
Omit
<EmbeddingsRequestWithoutInput
,"model"
>
Properties
model?
optional
model:string
Defined in: providers/mixedbread/src/MixedbreadAIEmbeddings.ts:20
The model to use for generating embeddings.
Default
apiKey?
optional
apiKey:string
Defined in: providers/mixedbread/src/MixedbreadAIEmbeddings.ts:26
The API key to use.
Default
baseUrl?
optional
baseUrl:string
Defined in: providers/mixedbread/src/MixedbreadAIEmbeddings.ts:31
The base URL for the API.
embedBatchSize?
optional
embedBatchSize:number
Defined in: providers/mixedbread/src/MixedbreadAIEmbeddings.ts:37
The maximum number of documents to embed in a single request.
Default
embedInfo?
optional
embedInfo:EmbeddingInfo
Defined in: providers/mixedbread/src/MixedbreadAIEmbeddings.ts:42
The embed info for the model.
maxRetries?
optional
maxRetries:number
Defined in: providers/mixedbread/src/MixedbreadAIEmbeddings.ts:48
The maximum number of retries to attempt.
Default
timeoutInSeconds?
optional
timeoutInSeconds:number
Defined in: providers/mixedbread/src/MixedbreadAIEmbeddings.ts:53
Timeouts for the request.