cohere-toolkit

Command Model Provider Guides

A model deployment refers to an active instance of one of the Cohere command models. The Toolkit currently supports the following model deployment options:

Command Model Provider Options

Adding Your Own Deployment

  1. Create a deployment file and place it in the /community/model_deployments folder. Implement the function calls from BaseDeployment, mirroring the existing deployment structures.
  2. Register your deployment in src/community/config/deployments.py.
  3. Add any required environment variables to the .env template.

Adding a Cohere Private Deployment

To add a Cohere private deployment, replicate the steps above for the Cohere Platform implementation, adjusting the base_url for your private deployment and incorporating any custom authentication steps.