Skip to content

Add local SenseVoice recognition service - #52

Open
LauraGPT wants to merge 3 commits into
VoiceLinkVR:mainfrom
LauraGPT:codex/fix-local-sensevoice-recognition
Open

Add local SenseVoice recognition service#52
LauraGPT wants to merge 3 commits into
VoiceLinkVR:mainfrom
LauraGPT:codex/fix-local-sensevoice-recognition

Conversation

@LauraGPT

Copy link
Copy Markdown

Summary

  • add an offline SenseVoice recognition service backed by sherpa-onnx OfflineRecognizer
  • route local microphone recognition to the selected model without silently falling back to the remote API
  • centralize complete SenseVoice model discovery (model.onnx + tokens.txt) for startup, updates, settings, and runtime use
  • keep SenseVoice on VAD-completed segments and emit final results with capture metadata
  • surface local decode failures through the existing service error UI

Validation

  • dotnet test tests/VRCLS.Services.Tests/VRCLS.Services.Tests.csproj --nologo --verbosity minimal (13 passed)
  • dotnet build VRCLS.sln -p:EnableWindowsTargeting=true --nologo --no-incremental --verbosity minimal (0 errors; existing generated OpenVR nullable warnings only)
  • git diff --check
  • real sherpa-onnx 1.13.4 decode using the official 229 MB int8 SenseVoice model and test_wavs/zh.wav: 开放时间早上9点至下午5点。

Closes #51

LauraGPT added 3 commits July 26, 2026 22:57
Signed-off-by: LauraGPT <lauragpt@users.noreply.github.com>
Signed-off-by: LauraGPT <lauragpt@users.noreply.github.com>
Signed-off-by: LauraGPT <lauragpt@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

本地 SenseVoice 识别模式缺失识别服务实现,选中后静默回退到远程

1 participant