Cohere
Example configuration for Cohere
Cohere API key: dashboard.cohere.com
Notes:
- Known: icon provided.
- Experimental: does not follow OpenAI-spec, uses a new method for endpoint compatibility, shares some similarities and parameters.
- For a full list of Cohere-specific parameters, see the Cohere API documentation.
- Note: The following parameters are recognized between OpenAI and Cohere. Most are removed in the example config below to prefer Cohere's default settings:
stop: mapped tostopSequencestop_p: mapped top, different min/max valuesfrequency_penalty: mapped tofrequencyPenalty, different min/max valuespresence_penalty: mapped topresencePenalty, different min/max valuesmodel: shared, included by default.stream: shared, included by default.max_tokens: shared, mapped tomaxTokens, not included by default.
How is this guide?