Update requirements.txt to streamline dependencies by removing comments and consolidating sections. Ensure compatibility with core libraries and maintain version constraints for improved package management.
This commit is contained in:
+3
-10
@@ -1,33 +1,26 @@
|
|||||||
# Text2SQL Agent 依赖清单
|
|
||||||
# 使用 uv 或 pip 安装:pip install -r requirements.txt
|
|
||||||
|
|
||||||
# 核心框架
|
|
||||||
camel-ai>=0.2.0
|
camel-ai>=0.2.0
|
||||||
|
|
||||||
# LLM API
|
# LLM API
|
||||||
openai>=1.0.0
|
openai>=1.0.0
|
||||||
|
|
||||||
# 向量数据库
|
|
||||||
chromadb>=0.4.0
|
chromadb>=0.4.0
|
||||||
|
|
||||||
# SQL 处理
|
|
||||||
sqlglot>=20.0.0
|
sqlglot>=20.0.0
|
||||||
sqlparse>=0.4.0
|
sqlparse>=0.4.0
|
||||||
sqlalchemy>=2.0.0
|
sqlalchemy>=2.0.0
|
||||||
pymssql>=2.2.0
|
pymssql>=2.2.0
|
||||||
|
|
||||||
# 配置与验证
|
|
||||||
pydantic>=2.0.0
|
pydantic>=2.0.0
|
||||||
pydantic-settings>=2.0.0
|
pydantic-settings>=2.0.0
|
||||||
python-dotenv>=1.0.0
|
python-dotenv>=1.0.0
|
||||||
|
|
||||||
# 工具库
|
|
||||||
tenacity>=8.0.0
|
tenacity>=8.0.0
|
||||||
structlog>=23.0.0
|
structlog>=23.0.0
|
||||||
tqdm>=4.65.0
|
tqdm>=4.65.0
|
||||||
jieba>=0.42.0
|
jieba>=0.42.0
|
||||||
numpy>=1.24.0,<2
|
numpy>=1.24.0,<2
|
||||||
|
|
||||||
# API框架
|
|
||||||
fastapi>=0.100.0
|
fastapi>=0.100.0
|
||||||
uvicorn>=0.20.0
|
uvicorn>=0.20.0
|
||||||
Reference in New Issue
Block a user