Overview
SarvamSTTService provides real-time speech recognition using Sarvam AI’s WebSocket API, supporting Indian language transcription with Voice Activity Detection (VAD) and multiple audio formats for high-accuracy speech recognition.
Sarvam STT API Reference
Pipecat’s API methods for Sarvam STT integration
Example Implementation
Complete example with interruption handling
Sarvam Documentation
Official Sarvam AI STT documentation and features
Sarvam AI Platform
Access API keys and speech models
Installation
To use Sarvam services, install the required dependency:Prerequisites
Sarvam AI Account Setup
Before using Sarvam STT services, you need:- Sarvam AI Account: Sign up at Sarvam AI
- API Key: Generate an API key from your account dashboard
- Model Access: Access to Saarika (STT) or Saaras (STT-Translate) models
Required Environment Variables
SARVAM_API_KEY: Your Sarvam AI API key for authentication