feat: Qwen3 ASR

Uses env variable to determine which type of ASR to use (streaming or
full chunks).

ref: N25B-467
This commit is contained in:
2026-01-30 12:04:25 +01:00
parent 3579aee114
commit 4c40347b6f
6 changed files with 3051 additions and 839 deletions

View File

@@ -3,55 +3,56 @@ name = "pepperplus-cb"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.13"
requires-python = ">=3.13,<3.14"
dependencies = [
"agentspeak>=0.2.2",
"colorlog>=6.10.1",
"fastapi[all]>=0.115.6",
"mlx-whisper>=0.4.3 ; sys_platform == 'darwin'",
"numpy>=2.3.3",
"openai-whisper>=20250625",
"pyaudio>=0.2.14",
"pydantic>=2.12.0",
"pydantic-settings>=2.11.0",
"python-json-logger>=4.0.0",
"python-slugify>=8.0.4",
"pyyaml>=6.0.3",
"pyzmq>=27.1.0",
"silero-vad>=6.0.0",
"sphinx>=7.3.7",
"sphinx-rtd-theme>=3.0.2",
"torch>=2.8.0",
"uvicorn>=0.37.0",
"agentspeak",
"colorlog",
"fastapi[all]",
"mlx-whisper ; sys_platform == 'darwin'",
"numpy",
"openai-whisper",
"pyaudio",
"pydantic",
"pydantic-settings",
"python-json-logger",
"python-slugify",
"pyyaml",
"pyzmq",
"qwen-asr[vllm]",
"silero-vad",
"sphinx",
"sphinx-rtd-theme",
"torch",
"uvicorn",
]
[dependency-groups]
dev = [
"pre-commit>=4.3.0",
"pytest>=8.4.2",
"pytest-asyncio>=1.2.0",
"pytest-cov>=7.0.0",
"pytest-mock>=3.15.1",
"soundfile>=0.13.1",
"ruff>=0.14.2",
"ruff-format>=0.3.0",
"pre-commit",
"pytest",
"pytest-asyncio",
"pytest-cov",
"pytest-mock",
"soundfile",
"ruff",
"ruff-format",
]
test = [
"agentspeak>=0.2.2",
"fastapi>=0.115.6",
"httpx>=0.28.1",
"mlx-whisper>=0.4.3 ; sys_platform == 'darwin'",
"openai-whisper>=20250625",
"pydantic>=2.12.0",
"pydantic-settings>=2.11.0",
"pytest>=8.4.2",
"pytest-asyncio>=1.2.0",
"pytest-cov>=7.0.0",
"pytest-mock>=3.15.1",
"python-slugify>=8.0.4",
"pyyaml>=6.0.3",
"pyzmq>=27.1.0",
"soundfile>=0.13.1",
"agentspeak",
"fastapi",
"httpx",
"mlx-whisper ; sys_platform == 'darwin'",
"openai-whisper",
"pydantic",
"pydantic-settings",
"pytest",
"pytest-asyncio",
"pytest-cov",
"pytest-mock",
"python-slugify",
"pyyaml",
"pyzmq",
"soundfile",
]
[tool.pytest.ini_options]