Skip to main content

Documentation Index

Fetch the complete documentation index at: https://nvd-54.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

LiteLLM is a library that simplifies calling Anthropic, Azure, Huggingface, Replicate, etc.

安装和设置

pip install langchain-litellm

聊天模型

from langchain_litellm import ChatLiteLLM
from langchain_litellm import ChatLiteLLMRouter
See more detail in the LiteLLM chat guide.

API 参考

For detailed documentation of all ChatLiteLLM and ChatLiteLLMRouter features and configurations head to the API reference.