38 lines
1.1 KiB
Plaintext
38 lines
1.1 KiB
Plaintext
# 薄后端依赖。语音引擎用 pipecat 官方库。
|
|
# webrtc -> SmallWebRTCTransport / SmallWebRTCConnection + aiortc
|
|
# silero -> 本地 VAD(判断用户说话起止),语音必备
|
|
# openai -> OpenAI 兼容的 LLM/STT/TTS 客户端(DeepSeek、SenseVoice、CosyVoice 都走它)
|
|
pipecat-ai[webrtc,websocket,silero,openai,mcp]==1.13.0
|
|
# MCP 2.x 使用 httpx2;普通业务 HTTP 请求继续使用 httpx。
|
|
httpx2>=2.10.0,<3
|
|
Pillow>=11.1.0,<13
|
|
|
|
# FastGPT 类型助手:本地 SDK(包 /api/v1/chat/completions 流式 + chatId 会话)
|
|
# fastgpt-client @ file:///Users/wangx/Code/AI-VideoAssistant-Project/fastgpt-python-sdk
|
|
|
|
# Dify 类型助手:异步流式 Runtime API SDK
|
|
dify-client-python==1.0.3
|
|
|
|
fastapi
|
|
httpx
|
|
jsonschema==4.26.0
|
|
openai==2.44.0
|
|
uvicorn[standard]
|
|
python-dotenv
|
|
pydantic
|
|
loguru
|
|
websockets>=13
|
|
# websockets uses the system proxy; SOCKS connections need this optional extra.
|
|
python-socks[asyncio]>=2.4,<3
|
|
|
|
# 存储:Postgres(SQLAlchemy 2.0 异步 + asyncpg 驱动)
|
|
sqlalchemy[asyncio]>=2.0
|
|
alembic>=1.13
|
|
asyncpg
|
|
greenlet # SQLAlchemy 异步运行时必需(部分平台不会自动带上)
|
|
pgvector
|
|
boto3
|
|
python-multipart
|
|
pypdf
|
|
python-docx
|