Add pipecat-based backend with WebRTC/WS voice routes, Next.js frontend, and Docker Compose orchestration. Co-authored-by: Cursor <cursoragent@cursor.com>
17 lines
551 B
Plaintext
17 lines
551 B
Plaintext
# 薄后端依赖。语音引擎用 pipecat 官方库。
|
|
# webrtc -> SmallWebRTCTransport / SmallWebRTCConnection + aiortc
|
|
# silero -> 本地 VAD(判断用户说话起止),语音必备
|
|
# openai -> OpenAI 兼容的 LLM/STT/TTS 客户端(DeepSeek、SenseVoice、CosyVoice 都走它)
|
|
pipecat-ai[webrtc,silero,openai]~=0.0.60
|
|
|
|
fastapi
|
|
uvicorn[standard]
|
|
python-dotenv
|
|
pydantic
|
|
loguru
|
|
|
|
# 存储:Postgres(SQLAlchemy 2.0 异步 + asyncpg 驱动)
|
|
sqlalchemy[asyncio]>=2.0
|
|
asyncpg
|
|
greenlet # SQLAlchemy 异步运行时必需(部分平台不会自动带上)
|