cohere-python  by cohere-ai

Python SDK for accessing Cohere's models

created 4 years ago
354 stars

Top 79.9% on sourcepulse

GitHubView on GitHub
Project Summary

This Python SDK provides access to Cohere's generative AI models, targeting developers building applications on platforms like AWS, Azure, GCP, and Oracle OCI, as well as Cohere's own platform. It simplifies integration with Cohere's advanced language models for tasks such as chat and text generation.

How It Works

The SDK acts as a client interface to the Cohere API, abstracting away the complexities of direct HTTP requests. It supports both standard and streaming responses for chat interactions, allowing for real-time output. The library is programmatically generated, ensuring consistency with Cohere's API specifications.

Quick Start & Requirements

Highlighted Details

  • Supports multiple deployment platforms: Cohere platform, AWS (Bedrock, Sagemaker), Azure, GCP, and Oracle OCI.
  • Enables streaming responses for chat endpoints via chat_stream.
  • Programmatically generated code ensures alignment with API updates.

Maintenance & Community

Contributions to the SDK code itself are not directly merged due to its generated nature; discussions are encouraged via issues. Contributions to the README are welcome.

Licensing & Compatibility

The README does not specify a license. Compatibility for commercial use or closed-source linking is not explicitly stated.

Limitations & Caveats

Direct code contributions to the SDK will be overwritten in future generated releases. Users are advised to discuss proposed changes via GitHub issues before submitting pull requests.

Health Check
Last commit

3 weeks ago

Responsiveness

1 week

Pull Requests (30d)
5
Issues (30d)
2
Star History
11 stars in the last 90 days

Explore Similar Projects

Starred by Patrick von Platen Patrick von Platen(Core Contributor to Hugging Face Transformers and Diffusers) and Jeff Hammerbacher Jeff Hammerbacher(Cofounder of Cloudera).

client-python by mistralai

0.3%
628
Python SDK for Mistral AI platform
created 1 year ago
updated 1 week ago
Starred by Adam Wolff Adam Wolff(Claude Code Core; MTS at Anthropic), Samuel Colvin Samuel Colvin(Author of Pydantic, Pydantic Logfire, PydanticAI), and
3 more.

anthropic-sdk-python by anthropics

0.7%
2k
Python SDK for Anthropic's REST API
created 2 years ago
updated 22 hours ago
Feedback? Help us improve.