# IBM CUGA Indic Voice Agent: Test Hindi and Tamil Retrieval Before Audio

A correct transcript can still lead to the wrong English page; isolate retrieval before tuning prompts or changing speech providers.

By Paras Madan | 2026-11-25


If a voice assistant correctly transcribes a Hindi question but says the answer isn't in an English handbook, check the retrieved pages before you tweak the prompt. [IBM Research's November 25 CUGA walkthrough](https://huggingface.co/blog/ibm-research/an-indic-voice-agent-with-cuga) describes exactly this failure. Its English-only default embedder returned passages for Hindi and Tamil questions, but those passages didn't answer them. The answering model could follow its instructions faithfully and still give an unhelpful response.

The IBM demo searches a 154-page English agricultural handbook and speaks the answer in the language used to ask it, with source pages shown on screen. That's one workflow, not evidence that every language or subject works equally well. The useful idea is to test where the mismatch first appears.

## Run a text-only retrieval test

Choose a question whose answer you can find in the handbook. Make versions in English, Hindi and Tamil with the same meaning. Keep the expected page numbers in the test labels, not in the questions. Add one related question whose answer is actually missing.

Send the text directly through the retrieval layer and log the top passages before the answering model sees them. Count a hit when an answer-bearing page appears in the first few results, not when the search simply returns five passages. If the English version succeeds while the equivalent Hindi or Tamil version misses, you have isolated a retrieval problem without changing either the speech service or the model prompt.

## Put the source and query in the same embedding space

IBM swapped in `intfloat/multilingual-e5-large`. The [model card](https://huggingface.co/intfloat/multilingual-e5-large) documents distinct query and passage prefixes even for non-English text. Apply the same embedding model to questions and the document chunks, and rebuild the index when you switch. Don't query old English-model vectors with embeddings from the replacement model.

Keep chunks tied to the original page number. Run the same labeled questions again and compare which passages were retrieved, how often an irrelevant passage ranked first and whether the assistant now points to the right evidence. A vague answer can sound more fluent without fixing any of those measures.

## Add speech back one layer at a time

Once typed questions retrieve the right pages, compare a spoken question with its expected transcript and search results. Then test whether the spoken answer conveys the right fact without reading out awkward markup. Keep the page references visible in the interface so someone can inspect them independently.

IBM's example supports browser-to-Sarvam cloud speech or self-hosted SraVaani and Svara for speech, while the CUGA search runs locally in their design. That doesn't make the entire deployment local: the language model configuration and any external services still have their own data paths. For a real rollout, document where audio, transcripts and selected passages go.

Don't replace a speech stack to fix a page the search never found. A small set of source-labeled multilingual questions will tell you which layer needs the work.

I'm Paras. I work with teams building AI products.

I help turn practical AI workflows into guides that developers can test and explain to users.

[Book a 30-minute call](https://cal.com/paras-madan/30min).
