Skip to main content
MistralEmbedder uses mistral-embed by default. The model returns 1024-dimensional vectors.
mistral_embedder.py
In v2.7.2, endpoint and max_retries use parameter names rejected by the current mistralai client. Pass a preconfigured client through mistral_client when you need either setting.

Run the Example

1

Set up your virtual environment

2

Export the API key

3

Install dependencies

4

Run the example

Developer Resources