Interface extending RerankingRequestWithoutInput with additional parameters specific to the MixedbreadAIRerank class.

interface MixedbreadAIRerankParams {
    apiKey?: string;
    baseUrl?: string;
    maxRetries?: number;
    model?: string;
}

Hierarchy

  • Omit<RerankingRequestWithoutInput, "model">
    • MixedbreadAIRerankParams

Properties

apiKey?: string

The API key to use.

{process.env.MXBAI_API_KEY}
baseUrl?: string

The base URL of the MixedbreadAI API.

maxRetries?: number

The maximum number of retries to attempt.

{3}
model?: string

The model to use for reranking. For example "default" or "mixedbread-ai/mxbai-rerank-large-v1".

{"default"}