Skip to content

Conversation

@krrishdholakia
Copy link

@krrishdholakia krrishdholakia commented Aug 4, 2023

Hi @assafelovic @gregdrizz ,

Noticed y'all are calling just OpenAI. 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, Cohere and PaLM by replacing the raw openai.ChatCompletion.acreate endpoint with acompletion from litellm.

I also noticed #117, so added a model fallback strategy - in case the initial model fails, have it try one of the backup models.

Would love to know if this helps.

@krrishdholakia krrishdholakia changed the title adding support for Claude, Cohere and PaLM adding support for Claude, Cohere and PaLM + Model Fallback Strategy (prevent failed requests) Aug 4, 2023
@krrishdholakia
Copy link
Author

Re: Llama 2 - using the Replicate endpoint https://replicate.com/replicate/llama-2-70b-chat,

so everybody should be able to access / test it.

@gururise
Copy link

Is this PR going to get merged? Would love to have LiteLLM integration so we can choose the model on the backend.

@krrishdholakia
Copy link
Author

@gururise happy to help do this in some way for you - just DM'ed on linkedin

@ishaan-jaff
Copy link

@assafelovic any update on this PR ? Can we get a review on this when possible?

@ishaan-jaff ishaan-jaff mentioned this pull request Sep 19, 2023
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