Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,39 +14,39 @@ langchain-community>=0.3

# ---- 提示词与输出解析 ----
langchain-core>=1.0
pydantic>=2.6
pydantic>=2.13.4

# ---- 文档切分与文本处理 ----
langchain-text-splitters>=1.0

# ---- 向量库(入门推荐 Chroma)----
chromadb>=1.0
chromadb>=1.5.9

# ---- 图编排(运行 examples/03_memory_graph.py 需要)----
langgraph>=0.3
langgraph>=1.2.9

# ---- 嵌入与 OpenAI 客户端 ----
openai>=1.30
tiktoken>=0.7

# ---- 环境变量管理 ----
python-dotenv>=1.0
python-dotenv>=1.2.2

# ---- 配置管理(P41:pydantic-settings 集中管理 .env)----
pydantic-settings>=2.0
pydantic-settings>=2.14.2

# ---- 可观测性(可选,LangSmith)----
# 安装:pip install langsmith
# 在 .env 中设置 LANGCHAIN_TRACING_V2=true 即可启用

# ---- 服务化部署(运行 examples/06_langserve.py 需要)----
langserve>=0.3
fastapi>=0.110
uvicorn>=0.29
langserve>=0.3.3
fastapi>=0.139.0
uvicorn>=0.51.0

# ---- 交互环境 ----
jupyter>=1.0
notebook>=7.0
jupyter>=1.1.1
notebook>=7.6.0

# ---- 测试(可选)----
# pip install pytest ruff
Expand Down
Loading