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