Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 893 Bytes

File metadata and controls

26 lines (22 loc) · 893 Bytes

Cohere

Feature Available
Tools Yes
Multimodal No

You may use Cohere to run their models directly from Chat UI. You will need to have a Cohere account, then get your API token. You can either specify it directly in your .env.local using the COHERE_API_TOKEN variable, or you can set it in the endpoint config.

Here is an example of a Cohere model config. You can set which model you want to use by setting the id field to the model name.

MODELS=`[
  {
    "name": "command-r-plus",
    "displayName": "Command R+",
    "tools": true,
    "endpoints": [{
      "type": "cohere",
      <!-- optionally specify these, or use COHERE_API_TOKEN
      "apiKey": "your-api-token"
      -->
    }]
  }
]`