Installation
Install the Mistral package:Setup
Set your Mistral API key as an environment variable:Usage
Create a Mistral embedder:Configuration Options
- model - The embedding model to use (e.g., “mistral-embed”)
- api_key - Your Mistral API key
For the full list of available models and parameters, see the Mistral Embeddings documentation.