Skip to main content

Cohere

Before using Cohere, visit the Cohere dashboard to create an API key.

Chat model

We recommend configuring Command-R Plus as your chat model.

Package or config.yaml
models:
- name: Cohere
provider: cohere
model: command-r-plus
apiKey: <YOUR_COHERE_API_KEY>

Autocomplete model

Cohere currently does not offer any autocomplete models.

Click here to see a list of autocomplete model providers.

Embeddings model

We recommend configuring embed-english-v3.0 as your embeddings model.

config.yaml
models:
- name: Cohere Embed
provider: cohere
model: embed-english-v3.0
apiKey: <YOUR_COHERE_API_KEY>
roles:
- embed

Reranking model

We recommend configuring rerank-english-v3.0 as your reranking model.

config.yaml
models:
- name: Cohere Reranker
provider: cohere
model: rerank-english-v3.0
apiKey: <YOUR_COHERE_API_KEY>
roles:
- rerank