- Notifications
You must be signed in to change notification settings - Fork328
Add support for Ollama, Palm, Claude-2, Cohere, Replicate Llama2 CodeLlama (100+LLMs) - using LiteLLM#1112
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:master
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
@levkk@montanalow can I get a review on this PR ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
@ishaan-jaff Thanks for the PR. litellm seems like a promising addition to pgml-chat. I would like to pull this into our upcoming upgrade to pgml-chat (#1047).
When I try to install litellm using poetry (poetry add litellm
) I see the following error. Could you please look into this?
Because no versions of litellm match >0.11.1,<0.12.0 and litellm (0.11.1) depends on appdirs (>=1.4.4,<2.0.0), litellm (>=0.11.1,<0.12.0) requires appdirs (>=1.4.4,<2.0.0).So, because no versions of appdirs match >=1.4.4,<2.0.0 and pgml-chat depends on litellm (^0.11.1), version solving failed.
cognitivetech commentedAug 25, 2024
👀 |
This PR adds support for the above mentioned LLMs using LiteLLMhttps://github.com/BerriAI/litellm/
LiteLLM is a lightweight package to simplify LLM API calls - use any llm as a drop in replacement for gpt-3.5-turbo.
Example