Add support for Azure, OpenAI, Palm, Anthropic, Cohere Models - using litellm #15
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ishaan-jaff/master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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:
@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
thank you very much. we will consider your proposal as soon as possible
Thanks a lot for your PR, we will review it ASAP.
@ericxinwu @booboosui any updates on this ?
which other api keys can be used for this tool
@Balor-TheDemon see: https://docs.litellm.ai/docs/providers
Hi @ericxinwu @booboosui any update on this? Is there something missing in LiteLLM for your use case?
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.