aiagent.club
中文
PyPI

cohere

#67 of 964 in the AI Agent Index

41 Score
Real usage
92
Momentum
Attention

About

The Cohere Python SDK allows access to Cohere models across many different platforms: the cohere platform, AWS (Bedrock, Sagemaker), Azure, GCP and Oracle OCI. For a full list of support and snippets, please take a look at the SDK support docs page.

Cohere documentation and API reference is available here.

You can set a system environment variable COAPIKEY to avoid writing your api key within your code, e.g. add export COAPIKEY=theapikeyforyouraccount in your /.zshrc or /.bashrc, open a new terminal, then code calling cohere.Client() will read this key.

The SDK supports streaming endpoints. To take advantage of this feature for chat, use chatstream.

The SDK supports Oracle Cloud…

Across sources

41.9M Downloads / month
  • Downloads / month 41.9M
  • Downloads / week 9.3M
  • Downloads / day 1.3M