Add support for Palm, Claude-2, Llama2, CodeLlama (100+LLMs) #7
Add support for Palm, Claude-2, Llama2, CodeLlama (100+LLMs) #7ishaan-jaff wants to merge 1 commit intomyscale:mainfrom
Conversation
|
@mpskex can you take a look at this PR when possible ? happy to add docs/testing too if this initial commit looks good to you |
Thanks a LOT for the PR @ishaan-jaff ! Usually we add new models instead of replacing them. So do you mind make a new copy from openai.py to litellm.py? |
|
Hi @mpskex curious why make a new file ? LiteLLM allows you to support openai. You can make your openai calls using litellm too |
|
Sure, LiteLLM is a powerful interface that interacts with many LLMs. But we are trying to keep the compatibility to users and the key philosophy here is have as many options available to users as possible. So we encourage adding instead of replacing, just like langchain did |
📝 Description
Description:
This PR adds support for the above mentioned LLMs using LiteLLM https://github.com/BerriAI/litellm/
In addition LiteLLM client allows you to:
Here's a link to a live demo of litellm client: https://admin.litellm.ai/
Reference Issues: #XX (XX is the issue number you work on)
❕ Linked Issue
👷 Maintainer
@mpskex