constructor(params: Partial<MixedbreadAIRerankParams>): MixedbreadAIReranker| Name | Type | Description |
|---|---|---|
params | Partial<MixedbreadAIRerankParams> | An optional object with properties to configure the instance. |
const reranker = new MixedbreadAIReranker({
apiKey: 'your-api-key',
model: 'mixedbread-ai/mxbai-rerank-large-v1',
maxRetries: 5
});Constructor for MixedbreadAIReranker.