LangChain 入门 Agent 的基本运行机制
安装依赖
cd D:\OpenSource\Python\VipLangChain# 初始化 uv 项目(可选)
uv init# 1. 创建虚拟环境
uv venv# 2. 激活虚拟环境(Windows)
.venv\Scripts\activate# 3. 安装环境变量
uv add python-dotenv --default-index https:/…
2026/6/28 2:09:53