优化包
This commit is contained in:
@@ -1,95 +1,44 @@
|
||||
# ============================================================================
|
||||
# AI Agent 项目依赖 - 生产环境锁定版本
|
||||
# 生成时间: 2026-04-20
|
||||
# Python 版本: 3.13+
|
||||
# ============================================================================
|
||||
# Core
|
||||
pydantic==2.12.5
|
||||
python-dotenv==1.2.2
|
||||
typing-extensions==4.15.0
|
||||
|
||||
# Core Utilities (核心工具库)
|
||||
pypdf==6.10.0
|
||||
pandas==3.0.2
|
||||
requests==2.33.1
|
||||
beautifulsoup4==4.14.3
|
||||
numpy==2.4.4
|
||||
lxml==6.1.0
|
||||
pillow==12.2.0
|
||||
PyYAML==6.0.3
|
||||
|
||||
# LangChain Ecosystem (LangChain 生态系统 - 核心框架)
|
||||
# LangChain
|
||||
langchain==1.2.15
|
||||
langchain-community==0.4.1
|
||||
langchain-core==1.2.28
|
||||
langchain-openai==1.1.12
|
||||
langchain-text-splitters==1.1.1
|
||||
langchain-qdrant==1.1.0
|
||||
langchain-classic==1.0.3
|
||||
langchain-experimental==0.4.1
|
||||
|
||||
# Vector Database (向量数据库客户端)
|
||||
qdrant-client==1.17.1
|
||||
|
||||
# Memory Layer (记忆层)
|
||||
mem0ai==1.0.11
|
||||
|
||||
# LangGraph (工作流编排)
|
||||
langgraph==1.1.6
|
||||
langgraph-checkpoint-postgres==3.0.5
|
||||
|
||||
# ZhipuAI Integration (智谱 AI SDK)
|
||||
zhipuai==2.1.5.20250825
|
||||
openai==2.32.0
|
||||
# Vector DB
|
||||
qdrant-client==1.17.1
|
||||
|
||||
# Backend Framework (后端框架)
|
||||
# Memory
|
||||
mem0ai==1.0.11
|
||||
|
||||
# Backend
|
||||
fastapi==0.135.3
|
||||
uvicorn[standard]==0.44.0
|
||||
|
||||
# Frontend Framework (前端框架)
|
||||
streamlit==1.56.0
|
||||
altair==6.0.0
|
||||
|
||||
# Database Driver (数据库驱动)
|
||||
psycopg[binary,pool]==3.3.3
|
||||
# Database
|
||||
asyncpg==0.31.0
|
||||
sqlalchemy==2.0.49
|
||||
psycopg[binary]==3.3.3
|
||||
|
||||
# Data Validation (数据验证)
|
||||
pydantic==2.12.5
|
||||
|
||||
# Environment & Type Support (环境变量和类型支持)
|
||||
python-dotenv==1.2.2
|
||||
typing-extensions==4.15.0
|
||||
|
||||
# HTTP Client (HTTP 客户端)
|
||||
# HTTP
|
||||
httpx==0.28.1
|
||||
httpx-sse==0.4.3
|
||||
aiohttp==3.13.5
|
||||
aiofiles==25.1.0
|
||||
|
||||
# Document Processing (文档处理)
|
||||
unstructured==0.22.21
|
||||
|
||||
# NLP (自然语言处理)
|
||||
spacy==3.8.14
|
||||
|
||||
# ML/Embeddings (机器学习/向量嵌入)
|
||||
torch==2.11.0
|
||||
sentence-transformers==5.4.1
|
||||
transformers==5.5.4
|
||||
tokenizers==0.22.2
|
||||
scikit-learn==1.8.0
|
||||
scipy==1.17.1
|
||||
tiktoken==0.12.0
|
||||
huggingface-hub==1.11.0
|
||||
|
||||
# Utilities (工具库)
|
||||
rich==15.0.0
|
||||
# Utilities
|
||||
tenacity==9.1.4
|
||||
tqdm==4.67.3
|
||||
watchdog==6.0.0
|
||||
websockets==16.0
|
||||
gitpython==3.1.46
|
||||
rich==15.0.0
|
||||
PyYAML==6.0.3
|
||||
|
||||
# ============================================================================
|
||||
# 注意:
|
||||
# 1. 此文件包含项目直接依赖的精确版本
|
||||
# 2. 升级依赖前请在测试环境验证兼容性
|
||||
# ============================================================================
|
||||
# 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 可能依赖
|
||||
Reference in New Issue
Block a user