- 新增PostgreSQL服务支持,使用最新版17 - 更新Docker Compose配置以支持PostgreSQL和Redis - 修改数据库连接逻辑,支持PostgreSQL和SQLite - 更新文档以反映新的数据库配置和使用方法 - 优化数据模型,确保时间戳字段支持时区
45 lines
777 B
Plaintext
45 lines
777 B
Plaintext
# FastAPI and Web Server
|
|
fastapi==0.115.0
|
|
uvicorn[standard]==0.32.0
|
|
websockets==14.1
|
|
python-multipart==0.0.19
|
|
|
|
# LangChain and AI
|
|
langchain==0.3.7
|
|
langchain-openai==0.2.0
|
|
|
|
# Database
|
|
sqlalchemy==2.0.36
|
|
greenlet>=3.3.0
|
|
# PostgreSQL drivers
|
|
asyncpg>=0.29.0
|
|
psycopg[binary]>=3.1.0
|
|
# SQLite (optional, for local dev without Docker)
|
|
aiosqlite==0.20.0
|
|
|
|
# Redis for session storage
|
|
redis>=5.0.0
|
|
aioredis>=2.0.0
|
|
|
|
# Celery for background tasks
|
|
celery[redis]>=5.3.0
|
|
|
|
# PDF Generation
|
|
reportlab==4.2.2
|
|
weasyprint==62.3
|
|
|
|
# Utilities
|
|
pydantic==2.9.2
|
|
pydantic-settings==2.5.2
|
|
python-dotenv==1.0.1
|
|
httpx==0.27.0
|
|
|
|
# Authentication
|
|
python-jose[cryptography]==3.3.0
|
|
bcrypt>=4.0.0
|
|
|
|
# Audio Processing (optional, for future ASR/TTS integration)
|
|
# pydub==0.25.1
|
|
# speech-recognition==3.10.4
|
|
|
|
openai |