Python
pip install -U langchain # 需要 Python 3.10+
# 安装 OpenAI 集成 pip install -U langchain-openai # 安装 Anthropic 集成 pip install -U langchain-anthropic