Files
ai-companion/requirements.txt
T

17 lines
962 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 助手本体依赖。按方案 §10 要求固定版本。
# 实测可用组合:Python 3.12(服务器)/ 3.13(N5095),两台机器都验证过。
pipecat-ai==1.10.0 # 会话管线框架(服务器侧用其传输/打断能力)
aiortc==1.15.0 # N5095 文件/声卡客户端与 WebRTC 回归测试
av==17.1.0 # aiortc 音频帧(客户端直接导入)
nltk==3.10.3 # Pipecat 分句预热;punkt_tab 需在部署阶段预装
sherpa-onnx==1.13.8 # 本地 STT/TTS 运行时(自带 onnxruntime,不依赖 pip 的)
numpy==2.5.3
aiohttp==3.14.3 # LLM 流式请求
# 说明:
# - 不装 pipecat-ai[local]:本地声卡传输只在 N5095(客户端)需要,
# 服务器侧走 WebRTC,不需要 PyAudio。
# - pipecat 会把 onnxruntime 钉到 1.24.x。实测不影响 sherpa-onnx,
# 后者自带运行时不读 pip 的那个。若要单独用 onnxruntime,注意版本。