Back to Mlflow

README

examples/gateway/cohere/README.md

3.12.0502 B
Original Source

Example endpoint configuration for Cohere

To see an example of specifying both the completions and the embeddings endpoints for Cohere, see the configuration YAML file.

This configuration file specifies two endpoints: 'completions' and 'embeddings', both using Cohere's models 'command' and 'embed-english-light-v2.0', respectively.

Setting a Cohere API Key

This example requires a Cohere API key:

sh
export COHERE_API_KEY=...