You can use Cohere’s SDK to access privately deployed Cohere models.
To install the Cohere SDK, choose from the following 4 languages:
The only difference between using Cohere’s models on private deployments and the Cohere platform is how you set up the client. With private deployments, you need to pass the following parameters:
api_key - Pass a blank valuebase_url - Pass the URL of your private deploymentTo get started with example use cases, refer to the following quickstart examples:
You can use the LangChain library with privately deployed Cohere models. Refer to the LangChain section for more information on setting up LangChain for private deployments.