Constructor for MixedbreadAIEmbeddings.
Optional
params: Partial<MixedbreadAIEmbeddingsParams>An optional object with properties to configure the instance.
The async caller should be used by subclasses to make any async calls, which will thus benefit from the concurrency and retry logic.
Class for generating embeddings using the Mixedbread AI API.
This class leverages the model "mixedbread-ai/mxbai-embed-large-v1" to generate embeddings for text documents. The embeddings can be used for various NLP tasks such as similarity comparison, clustering, or as features in machine learning models.
Example
Example