Choose a Hindi transcriber
The transcriber turns the caller’s Hindi speech into text. Send the plain codehi as transcriber.language; hi-IN is rejected (Create Agent).
For callers in India, the Sarvam page calls Sarvam usually the strongest transcriber choice, and the Deepgram page points to Sarvam for better accuracy on Indian languages. Compare all transcribers in Choosing a speech-to-text provider.
Choose a Hindi voice
The voice (synthesizer) speaks the agent’s replies. Most providers requirelanguage inside provider_config, so set it to hi (Create Agent).
Voice catalogs change over time. Confirm a valid
model and voice_id pair with List voices, or preview voices in the Languages tab. See Choosing a text-to-speech provider for a wider comparison.
On Sarvam
bulbul:v4-flash, the spoken language follows the script of the text, not language. Keep the prompt in Devanagari and the voice a Hindi voice.Write the prompt for Hindi and Hinglish
- Write in Devanagari, not romanized Hindi.
नमस्ते! आप कैसे हैं?rather thanNamaste! Aap kaise ho?. Native script gives more accurate pronunciation and stops the text being treated as English. - Keep common English loanwords in Latin script. Callers say “order”, “OTP” and “support ticket” in English, so write
आपका order status check करने के लिए मुझे थोड़ा समय दीजिए।instead of forcing a pure Hindi translation. - Set gender and politeness explicitly. For a female persona, ask for consistent feminine verb forms in Hindi.
- Read alphanumerics character by character, in English. For OTPs, registration numbers and order IDs, this avoids misheard and mispronounced digits.
Create a Hindi agent over the API
This uses the same body shape as the API quickstart, with Sarvam for both transcription and voice.1
Write the agent config
Save this as
agent.json:sampling_rate and encoding are left out because Bolna sets them for Sarvam to match the telephony provider.2
Create the agent
agent_id.3
Place a test call
Call the agent with
POST /call, as in the API quickstart, and check the transcript with GET /executions/{id}.transcriber or synthesizer block for one from the provider’s page. Every combination is validated when you create the agent: an unsupported transcriber model and language pair returns 400 Provided language: <language> is not available for the model: <model>.
Improve recognition with keywords and context
Brand names, product names and place names are where Hindi transcription most often goes wrong. Bolna has two transcriber fields for this:keywords: a comma-separated list of terms callers say. On Sarvam this needssaaras:v4, and takes up to 50 terms of up to 64 characters each.context: a sentence or two describing the call. Sarvam reads it on every Saaras model.
Sarvam transcribes English words in the native script of the call’s language. On a Hindi agent, a boosted term such as
PhonePe can come back in Devanagari rather than Latin script.Fix pronunciation of numbers and names
A pronunciation list tells the voice how to say a word: an acronym, a brand name, a place name, or a number such as56. Pronunciation lists work on ElevenLabs and on Cartesia sonic-3 and newer. On other providers the list is ignored.
- Write how a word should sound in the script the voice speaks. For a Hindi voice, write
नो योर कस्टमरrather thanknow your customer. - Each language has its own list, so
56can be “five six” in English andपाँच छहin Hindi. - A rule only matches text the agent actually says. If the LLM writes a number out in words, a rule for the digits won’t apply, so ask the prompt to keep numbers exactly as written.
pronunciation_rules API field and limits.
Serve Hindi and English on one agent
Many Indian callers move between Hindi and English. Bolna handles this in two ways:- Code-mixing within a sentence. Sarvam, Soniox, AssemblyAI and Gladia transcribe code-mixed speech, and Kalpa Labs speaks Hinglish from one model. A sentence with a few English words is still treated as Hindi.
- A full language switch. Add both English and Hindi to one agent with
multilingual_config, each with its own transcriber, voice and prompt. Hindi is one of the languages Bolna detects automatically mid-call. The multilingual quickstart builds an English and Hindi agent over the API.
- Start a call in Hindi with
"agent_data": { "language": "hi" }onPOST /call, or anagent_languagevariable in a batch CSV. - Let system messages such as the hangup and “are you still there?” checks follow the active language.
- Read How language switching works for what does and doesn’t trigger a switch.
Phone numbers for Hindi agents in India
- Buy an Indian number in the dashboard through Plivo or Vobiz.
- For commercial or telemarketing calls in India, read How to get 140 & 160-series phone numbers in India for the TRAI and DLT requirements.
- To use numbers from your own carrier, connect it with a SIP trunk.
Next steps
Multilingual setup
Indian language support by provider, and per-language voices and prompts
Sarvam speech-to-text
Saaras models, language codes and biasing limits
Sarvam text-to-speech
Bulbul models and the Hindi voice catalog
SIP trunks
Bring your own carrier, including Indian carriers
Speech-to-text providers
Every transcriber Bolna supports
Text-to-speech providers
Every voice provider Bolna supports

