Embedders
Cohere
Cohere Embedder is a class that allows you to embed documents using Cohere’s embedding models.
Was this page helpful?
⌘I
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
You are viewing v1 docs. For the latest documentation, visit docs.agno.com
| Parameter | Type | Description | Default |
|---|---|---|---|
id | str | The model ID to use for embeddings | "embed-english-v3.0" |
input_type | str | Type of input being embedded (e.g., "search_query", "classification", "clustering") | "search_query" |
embedding_types | Optional[List[str]] | List of embedding types to generate | None |
api_key | Optional[str] | Cohere API key | Environment variable COHERE_API_KEY |
request_params | Optional[Dict[str, Any]] | Additional parameters for embedding requests | None |
client_params | Optional[Dict[str, Any]] | Additional parameters for client initialization | None |
cohere_client | Optional[CohereClient] | Pre-configured Cohere client | None |
Was this page helpful?