Skip to content

feat(sarvam): add realtime STT plugin for Saaras v3#6015

Closed
dhruvladia-sarvam wants to merge 4 commits into
livekit:mainfrom
dhruvladia-sarvam:feat/sarvam-realtime-stt
Closed

feat(sarvam): add realtime STT plugin for Saaras v3#6015
dhruvladia-sarvam wants to merge 4 commits into
livekit:mainfrom
dhruvladia-sarvam:feat/sarvam-realtime-stt

Conversation

@dhruvladia-sarvam

Copy link
Copy Markdown
Contributor

Introducing STTStreaming, a LiveKit Agents STT implementation for Sarvam's
saaras:v3-realtime WebSocket API.

  • WebSocket streaming with fast/balanced/simulated stream types
  • VAD and manual endpointing, with configurable VAD query params
  • Maps Sarvam events to LiveKit speech events (interim/final transcripts,
    start/end of speech) with symmetric utterance commit ordering
  • Sets SpeechData.end_time from utterance speech-end position so EOU
    transcription_delay is computed correctly
  • Captures server request_id and session_id as raw tracing values
  • Usage metrics, reconnect on option changes, structured INFO logging
  • Shared PeriodicCollector helper in _utils.py
  • Export STTStreaming from the Sarvam plugin package
  • Add unit tests for URL construction, event mapping, timing, logging,
    usage metrics, and error handling

@dhruvladia-sarvam dhruvladia-sarvam force-pushed the feat/sarvam-realtime-stt branch from 0675191 to e24a93d Compare June 8, 2026 18:54
devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

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.

1 participant