You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add Sarvam AI (Saaras v4) speech-to-text provider in Settings > Voice #495
Requesting native speech-to-text support for Sarvam AI (saaras:v4) under Settings > Voice alongside the existing cloud transcription providers (elevenlabs, openai, groq, deepgram, assemblyai).
Why openai-compatible does not cover Sarvam AI
Dusk bot's openai-compatible voice provider (electron/voice-providers.mjs) posts to ${base}/audio/transcriptions using Authorization: Bearer <key> and reads body.text. Sarvam AI's speech-to-text API differs on all three:
Request fields:file (WAV), model (saaras:v4, legacy saaras:v3), mode (transcribe, translate, verbatim, translit, codemix), optional language_code (BCP-47 such as en-IN, hi-IN, or unknown for auto-detect across Indian languages and Global English)
Response field:transcript (instead of text)
Optional streaming: Sarvam also provides a WebSocket streaming endpoint (wss://api.sarvam.ai/speech-to-text/ws) with Api-Subscription-Key auth if realtime dictation is desired.
Why this is useful
saaras:v4 has strong multilingual and code-mixed recognition across Indian languages and Global English, where general Whisper-based providers often struggle.
Activity
SiddDevZ commentedon Dec 3, 2026
Added on dev via #496 (Sarvam AI speech-to-text in Settings > Voice), shipping in the next release.