添加API依赖和配置文件

This commit is contained in:
iammm0
2026-01-07 11:57:00 +08:00
parent d51c65a580
commit 77ba4e7a0b
2 changed files with 33 additions and 0 deletions

4
api/__init__.py Normal file
View File

@@ -0,0 +1,4 @@
"""
Life Echo API
"""

29
api/requirements.txt Normal file
View File

@@ -0,0 +1,29 @@
# FastAPI and Web Server
fastapi==0.115.0
uvicorn[standard]==0.32.0
websockets==14.1
python-multipart==0.0.12
# LangChain and AI
langchain==0.3.0
langchain-openai==0.2.0
langchain-community==0.3.0
openai==1.54.0
# Database
sqlalchemy==2.0.36
aiosqlite==0.20.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
# Audio Processing (optional, for future ASR/TTS integration)
# pydub==0.25.1
# speech-recognition==3.10.4