Skip to main content
Open on GitHub

LiteLLM

LiteLLM 是一个简化调用 Anthropic、Azure、Huggingface、Replicate 等服务的库。

安装与设置

pip install langchain-litellm

Chat Models

from langchain_litellm import ChatLiteLLM
from langchain_litellm import ChatLiteLLMRouter

更多详情请参阅此处的指南。

API 参考

有关 ChatLiteLLMChatLiteLLMRouter 所有功能和配置的详细文档,请访问 API 参考:https://github.com/Akshay-Dongare/langchain-litellm