Documentation Index
Fetch the complete documentation index at: https://backstage.spotify.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Cohere provides both LLM capabilities and advanced re-ranking models that can be used to improve the relevance of generated content and reduce inconsistencies from document indexing.Configuration
To use Cohere, configure it in the Plugin settings page under theAI Gateway section:
| Field | Description | Example |
|---|---|---|
| API Key | Your Cohere API key | your-cohere-api-key |
| Base URL | Optional, to point at a gateway | https://ai-gateway.example.com/cohere |
| Headers | Optional, e.g. for authentication with gateway | Key: X-Custom-HeaderValue: custom-value |
For Language Models
Set the default language model:For Re-ranking
Optionally configure Cohere for re-ranking:Supported Models
Re-ranking:- rerank-v3.5 (recommended)