update:1.切换数据库PostgreSQL

This commit is contained in:
xiamuceer
2025-11-10 21:16:55 +08:00
parent dfea51cfa4
commit 20d9319a16
31 changed files with 2526 additions and 256 deletions
+7 -5
View File
@@ -5,7 +5,9 @@ python-multipart==0.0.20
# 数据库
sqlalchemy==2.0.25
aiosqlite==0.19.0
aiosqlite==0.19.0 # SQLite支持(保留用于开发环境)
asyncpg==0.29.0 # PostgreSQL异步驱动(生产环境)
psycopg2-binary==2.9.9 # PostgreSQL同步驱动(备用)
# 数据验证
pydantic==2.12.4
@@ -29,8 +31,8 @@ numpy==1.26.4
chromadb==1.3.2
# Transformers锁定兼容版本
transformers==4.35.2
# Transformers更新到最新稳定版本以修复 FutureWarning
transformers==4.57.1
# Sentence Transformers基于PyTorch的文本embedding
sentence-transformers==2.3.1
# Sentence Transformers更新到最新稳定版本以修复 FutureWarning
sentence-transformers==5.1.2