Skip to main content
Cohere Embedder embeds documents using Cohere’s embedding models.
dimensions is the vector width Agno expects. It is not sent to Cohere and does not change the model’s output width. The default embed-english-v3.0 model returns 1024 dimensions, while CohereEmbedder inherits a default of 1536. Set dimensions=1024 when using the default model.

Parameters

Set embedding_types=["float"] when selecting Cohere response types. Agno reads response.embeddings.float_; configurations limited to int8, uint8, binary, or ubinary return an empty embedding.