Files
ailine/backend/requirements.txt
root 048f57a89f
Some checks failed
构建并部署 AI Agent 服务 / deploy (push) Has been cancelled
集成三个子图到主Agent架构 + 修复前后端字段不匹配问题
主要变更:
1. 创建 subgraph_tools.py - 将三个子图包装为 LangChain 工具
2. 更新 graph_tools.py - 删除旧工具,添加子图工具
3. 更新系统提示词 - 介绍三个子系统 + RAG 能力
4. 简化 backend.py - 删除独立子图 API 端点
5. 修复 service.py 字段名不匹配问题 - content -> token
6. 前端界面优化 - 移动子图测试到侧边栏、删除测试审核按钮
7. 添加 pyjwt 依赖到 requirements.txt
8. 更新 docker-compose.yml - 添加前端代码挂载
2026-04-27 15:23:50 +08:00

48 lines
759 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Core
pydantic==2.12.5
python-dotenv==1.2.2
typing-extensions==4.15.0
# LangChain
langchain==1.2.15
langchain-community==0.4.1
langchain-core==1.2.28
langchain-openai==1.1.12
langchain-qdrant==1.1.0
langgraph==1.1.6
langgraph-checkpoint-postgres==3.0.5
tiktoken>=0.12.0
# Vector DB
qdrant-client==1.17.1
# Memory
mem0ai==1.0.11
# Backend
fastapi==0.135.3
uvicorn[standard]==0.44.0
# Database
asyncpg==0.31.0
psycopg[binary]==3.3.3
# HTTP
httpx==0.28.1
aiohttp==3.13.5
# Utilities
tenacity==9.1.4
rich==15.0.0
PyYAML==6.0.3
numpy>=1.26.2
pyjwt==2.10.1
# Document Processing
unstructured==0.22.21
pypdf==6.10.0
beautifulsoup4==4.14.3
lxml==6.1.0
pandas==3.0.2 # 若需Excel保留否则移除
spacy==3.8.14 # unstructured 可能依赖