Closed ishaan-jaff closed 1 year ago
@akshata29 can you please take a look at this PR ?😊
If this initial commit looks good happy to add liteLLM throughout + add docs/testing on the same
@ishaan-jaff - Looks good to me, let me do a quick testing and appreciate if you can help liteLLM throughout + help add docs/testing.
This PR adds support for models from all the above mentioned providers using https://github.com/BerriAI/litellm/
ChatLiteLLM()
is integrated into langchain and allows you to call all models using the OpenAI I/O interface https://python.langchain.com/docs/integrations/chat/litellmHere's an example of how to use ChatLiteLLM()
Here's an example of how just using
litellm.completion
works