新增 `voice.asr_provider` 配置项,允许用户在 "api" 和 "local" 之间选择语音识别服务。 当设置为 "local" 时,系统将通过 `local_asr` 工具(由 `stt_whisper_plugin` 插件提供)调用本地 Whisper 模型进行语音转文字。这为用户提供了一个不依赖外部 API、注重隐私的备选方案。 - 默认值仍为 "api",保持现有行为不变。 - 添加 `openai-whisper` 作为新的依赖项以支持此功能。
77 lines
824 B
Plaintext
77 lines
824 B
Plaintext
sqlalchemy
|
|
aiosqlite
|
|
aiomysql
|
|
APScheduler
|
|
aiohttp
|
|
aiohttp-cors
|
|
colorama
|
|
customtkinter
|
|
dotenv
|
|
faiss-cpu
|
|
fastapi
|
|
rjieba
|
|
jsonlines
|
|
maim_message
|
|
quick_algo
|
|
matplotlib
|
|
networkx
|
|
numpy
|
|
openai
|
|
google-genai
|
|
pandas
|
|
peewee
|
|
pyarrow
|
|
pydantic
|
|
pypinyin
|
|
python-dateutil
|
|
python-dotenv
|
|
python-igraph
|
|
pymongo
|
|
requests
|
|
ruff
|
|
scipy
|
|
setuptools
|
|
toml
|
|
tomli
|
|
tomli_w
|
|
tomlkit
|
|
tqdm
|
|
urllib3
|
|
uvicorn
|
|
websockets
|
|
strawberry-graphql[fastapi]
|
|
httpx[socks]
|
|
packaging
|
|
rich
|
|
psutil
|
|
cryptography
|
|
json-repair
|
|
reportportal-client
|
|
scikit-learn
|
|
seaborn
|
|
structlog
|
|
httpx
|
|
requests
|
|
beautifulsoup4
|
|
lxml
|
|
json5
|
|
toml
|
|
beautifulsoup4
|
|
exa_py
|
|
asyncddgs
|
|
opencv-python
|
|
Pillow
|
|
chromadb
|
|
asyncio
|
|
tavily-python
|
|
google-generativeai
|
|
lunar_python
|
|
fuzzywuzzy
|
|
python-multipart
|
|
aiofiles
|
|
inkfox
|
|
soundfile
|
|
pedalboard
|
|
|
|
# For local speech-to-text functionality (stt_whisper_plugin)
|
|
openai-whisper |