Interface extending EmbeddingsParams with additional parameters specific to the MixedbreadAIEmbeddings class.

interface MixedbreadAIEmbeddingsParams {
    apiKey?: string;
    baseUrl?: string;
    batchSize?: number;
    model?: string;
}

Hierarchy (view full)

  • Toolkit
  • Omit<EmbeddingsRequestWithoutInput, "model">
    • MixedbreadAIEmbeddingsParams

Properties

apiKey?: string

The API key to use.

{process.env.MXBAI_API_KEY}
baseUrl?: string

The base URL for the API.

batchSize?: number

The maximum number of documents to embed in a single request.

{128}
model?: string

The model to use for generating embeddings.

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