Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding support for Claude, Replicate, Cohere, Azure #7

Merged
merged 1 commit into from
Aug 4, 2023

Conversation

krrishdholakia
Copy link
Contributor

@krrishdholakia krrishdholakia commented Aug 4, 2023

Hi @sunnweiwei,

Following up on my issue - #6. I'm working on litellm (simple library to standardize LLM API Calls - https://github.com/BerriAI/litellm) and was wondering if we could be helpful.

Added support for Anthropic, Llama2, and Cohere by adding an if condition to your chat function. The code is pretty similar to the OpenAI class - as litellm follows the same pattern as the openai-python sdk.

Would love to know if this helps.

@sunnweiwei sunnweiwei merged commit d92da84 into sunnweiwei:main Aug 4, 2023
@sunnweiwei
Copy link
Owner

Merged. Thanks for your great work :D

@krrishdholakia
Copy link
Contributor Author

krrishdholakia commented Aug 4, 2023

Thanks @sunnweiwei the README looks the same? What do you think is the best way of communicating how users can use other llm providers?

@sunnweiwei
Copy link
Owner

I've added the update to News section and fixed the inconsistency caused by renaming the api_key.

@austinmw
Copy link

@krrishdholakia Hi, curious if this could be extended to additionally support Claude through Amazon Bedrock?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants