Spaces:
Paused
Paused
|
Download docs/source/configuration/models/providers/cohere.md from maksym-work/chat_ui: direct link, hf CLI and curl.
- Browser
- Download file 893 Bytes
-
https://huggingface.co/spaces/maksym-work/chat_ui/resolve/main/docs/source/configuration/models/providers/cohere.md
- Command line
-
hf download hf://spaces/maksym-work/chat_ui/docs/source/configuration/models/providers/cohere.md
-
curl -L -o cohere.md https://huggingface.co/spaces/maksym-work/chat_ui/resolve/main/docs/source/configuration/models/providers/cohere.md
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"
-->
}]
}
]`