Add support for Azure, OpenAI, Palm, Anthropic, Cohere Models - using litellm#26
Add support for Azure, OpenAI, Palm, Anthropic, Cohere Models - using litellm#26ishaan-jaff wants to merge 1 commit intoAutoLLM:mainfrom
Conversation
|
@rmfan would love your feedback on this 😊 |
|
Can you verify that for all the models, the responses are in the format:
We've only tested this for gpt-3.5-turbo, and before we officially support any other LLM, we need to make sure that it will follow that format given the prompt in src/relevancy_prompt.txt |
|
for some lower quality models output is not guaranteed to always be perhaps we can add a check in the output text and see if it is |
|
this way - you can add support for new models while maintaining ur output guarantees |
I'm the maintainer of litellm https://github.com/BerriAI/litellm - a simple & light package to call OpenAI, Azure, Cohere, Anthropic API Endpoints
This PR adds support for models from all the above mentioned providers
Here's a sample of how it's used: