Skip to main content

Documentation Index

Fetch the complete documentation index at: https://langchain-zh.cn/llms.txt

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

要安装 LangChain 包:
pip install -U langchain
# 需要 Python 3.10+
LangChain 提供了与数百个 LLM 和数千个其他集成组件的连接。这些功能位于独立的提供商包中。
# 安装 OpenAI 集成
pip install -U langchain-openai

# 安装 Anthropic 集成
pip install -U langchain-anthropic
查看 集成选项卡 获取完整的可用集成列表。
现在你已经安装了 LangChain,可以按照 快速入门指南 开始使用。