constructor(params: Partial<MixedbreadAIEmbeddingsParams>): MixedbreadAIEmbeddings| Name | Type | Description |
|---|---|---|
params | Partial<MixedbreadAIEmbeddingsParams> | An optional object with properties to configure the instance. |
const embeddings = new MixedbreadAIEmbeddings({
apiKey: 'your-api-key',
model: 'mixedbread-ai/mxbai-embed-large-v1',
batchSize: 64
});Constructor for MixedbreadAIEmbeddings.