-
Notifications
You must be signed in to change notification settings - Fork 263
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
Add support for Palm, Claude-2, Cohere, Llama2, CodeLlama (100+LLMs) #1066
base: staging
Are you sure you want to change the base?
Conversation
@gaurav274 @jarulraj can i get a review on this pr ? happy to add docs/testing if this initial commit looks good |
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.
👋 Hello @ishaan-jaff, thanks for submitting a EVA DB PR 🙏 To allow your work to be integrated as seamlessly as possible, we advise you to:
- ✅ Verify that your PR is up-to-date with
georgia-tech-db/eva
master
branch. If your PR is behind you can update your code by clicking the 'Update branch' button or by runninggit pull
andgit merge master
locally. - ✅ Verify that all EVA DB Continuous Integration (CI) checks are passing.
- ✅ Reduce changes to the absolute minimum required for your bug fix or feature addition.
@ishaan-jaff Thanks for working on the integration. Absolutely, happy to review. |
@@ -81,6 +81,7 @@ def read(path, encoding="utf-8"): | |||
"protobuf", | |||
"bs4", | |||
"openai>=0.27.4", # CHATGPT |
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.
Does litellm
subsumes the openai
? Or we still need both dependency?
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.
litellm has openai as a dependency
It seems we can not find a version of litellm that works with the rest of the system.
|
@xzdandy sorry for that bumped the version to 0.1.561 which is our latest version. can you try installing that and see if it works? |
@xzdandy Are we planning to remove |
I think we can remove the explicit
|
Yes, @xzdandy. Let's do this. We had a meeting with @ishaan-jaff earlier today. |
This PR adds support for the above mentioned LLMs using LiteLLM https://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