77 lines
1.7 KiB
Plaintext
77 lines
1.7 KiB
Plaintext
|
|
# Web框架和核心依赖
|
|||
|
|
fastapi>=0.104.1
|
|||
|
|
uvicorn[standard]>=0.24.0
|
|||
|
|
pydantic>=2.5.0
|
|||
|
|
sqlalchemy>=2.0.23
|
|||
|
|
alembic>=1.13.1
|
|||
|
|
python-multipart>=0.0.6
|
|||
|
|
python-jose[cryptography]>=3.3.0
|
|||
|
|
passlib[bcrypt]>=1.7.4
|
|||
|
|
python-dotenv>=1.0.0
|
|||
|
|
|
|||
|
|
# 数据库和向量数据库
|
|||
|
|
psycopg2-binary>=2.9.7 # PostgreSQL
|
|||
|
|
pgvector>=0.2.4 # PostgreSQL pgvector extension
|
|||
|
|
pymysql>=1.1.2 #mysql
|
|||
|
|
|
|||
|
|
# Excel和数据分析(智能问数功能)
|
|||
|
|
pandas>=2.1.0
|
|||
|
|
numpy>=1.24.0
|
|||
|
|
openpyxl>=3.1.0 # Excel文件读写
|
|||
|
|
xlrd>=2.0.1 # 旧版Excel文件支持
|
|||
|
|
|
|||
|
|
# LangChain AI框架
|
|||
|
|
langchain>=0.1.0
|
|||
|
|
langchain-community>=0.0.10
|
|||
|
|
langchain-experimental>=0.0.50 # pandas代理
|
|||
|
|
langchain-postgres>=0.0.6 # PGVector支持
|
|||
|
|
langchain-openai>=0.0.5 # OpenAI集成
|
|||
|
|
langgraph>=0.0.40 # LangGraph工作流编排
|
|||
|
|
|
|||
|
|
# AI模型服务商
|
|||
|
|
zhipuai>=2.0.0 # 智谱AI
|
|||
|
|
openai>=1.0.0 # OpenAI
|
|||
|
|
|
|||
|
|
# 文档处理(知识库功能)
|
|||
|
|
pypdf2>=3.0.0 # PDF文件处理
|
|||
|
|
python-docx>=0.8.11 # Word文档处理
|
|||
|
|
markdown>=3.5.0 # Markdown文件处理
|
|||
|
|
chardet>=5.2.0 # 文件编码检测
|
|||
|
|
pdfplumber>=0.11.7 #pdf内容提取
|
|||
|
|
|
|||
|
|
# 工作流编排和智能体
|
|||
|
|
celery>=5.3.0 # 异步任务队列
|
|||
|
|
redis>=5.0.0 # Redis缓存和消息队列
|
|||
|
|
apscheduler>=3.10.0 # 定时任务调度
|
|||
|
|
|
|||
|
|
# 文件和网络处理
|
|||
|
|
aiofiles>=23.2.0 # 异步文件操作
|
|||
|
|
requests>=2.31.0
|
|||
|
|
httpx>=0.25.0
|
|||
|
|
pyyaml>=6.0 # YAML配置文件解析
|
|||
|
|
boto3>=1.40.30 #云对象存储
|
|||
|
|
|
|||
|
|
# 开发和测试工具
|
|||
|
|
pytest>=7.4.0
|
|||
|
|
pytest-asyncio>=0.21.0
|
|||
|
|
pytest-cov>=4.1.0
|
|||
|
|
black>=23.0.0
|
|||
|
|
isort>=5.12.0
|
|||
|
|
flake8>=6.0.0
|
|||
|
|
mypy>=1.5.0
|
|||
|
|
pre-commit>=3.3.0
|
|||
|
|
|
|||
|
|
# 数据库迁移
|
|||
|
|
alembic>=1.12.0
|
|||
|
|
|
|||
|
|
# 监控和日志
|
|||
|
|
prometheus-client>=0.17.0
|
|||
|
|
structlog>=23.1.0
|
|||
|
|
|
|||
|
|
# 安全
|
|||
|
|
cryptography>=41.0.0
|
|||
|
|
passlib[bcrypt]>=1.7.4
|
|||
|
|
python-jose[cryptography]>=3.3.0
|
|||
|
|
|
|||
|
|
# 性能优化
|
|||
|
|
orjson>=3.9.0
|