Logo
Interfaces

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

{"mixedbread-ai/mxbai-embed-large-v1"}

apiKey?

optional apiKey: string

Defined in: providers/mixedbread/src/MixedbreadAIEmbeddings.ts:26

The API key to use.

Default

{process.env.MXBAI_API_KEY}

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

{128}

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

{3}

timeoutInSeconds?

optional timeoutInSeconds: number

Defined in: providers/mixedbread/src/MixedbreadAIEmbeddings.ts:53

Timeouts for the request.

On this page