ChatLiteLLM and ChatLiteLLMRouter
LiteLLM is a library that simplifies calling Anthropic, Azure, Huggingface, Replicate, etc.
This notebook covers how to get started with using Langchain + the LiteLLM I/O library.
This integration contains two main classes:
ChatLiteLLM
: The main Langchain wrapper for basic usage of LiteLLM (docs).ChatLiteLLMRouter
: AChatLiteLLM
wrapper that leverages LiteLLM's Router (docs).