Add support for Azure, OpenAI, Palm, Anthropic, Cohere Models - using litellm#15
Open
ishaan-jaff wants to merge 1 commit intokuafuai:masterfrom
Open
Add support for Azure, OpenAI, Palm, Anthropic, Cohere Models - using litellm#15ishaan-jaff wants to merge 1 commit intokuafuai:masterfrom
ishaan-jaff wants to merge 1 commit intokuafuai:masterfrom
Conversation
Author
|
@yakeJiang @ericxinwu would love some feedback on if this looks good. Happy to make your openai call as the default one and if the model is not supported by the openai call we can direct it to litellm |
Collaborator
|
thank you very much. we will consider your proposal as soon as possible |
Collaborator
Thanks a lot for your PR, we will review it ASAP. |
Author
|
@ericxinwu @booboosui any updates on this ? |
|
which other api keys can be used for this tool |
Author
Author
|
Hi @ericxinwu @booboosui any update on this? Is there something missing in LiteLLM for your use case? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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. I added a condition to check if the provided model is supported by litellm -> if so it uses litellm for the completion call.
If not it maintains your openai call
Here's a sample of how it's used: