https://retellai.com/?utm_source=discord&utm_medium=seo logo
How can i make my agent hear indian words properly...
# ❓・ai-evy-support
i
@AI Evy How can i make my agent hear indian words properly and especially indian dishes names the issue am facing is my agent is not listening the order properly
a
Thanks for tagging me @immaculate_cheetah_77268. I'll look through relevant sources and get back to you shortly.
### Answer To improve your agent's recognition of Indian words and dish names, you can use Retell AI's
boosted_keywords
feature [(1) ]() [(2) ]() [(3) ]() . This allows you to provide a customized list of keywords to bias the transcriber model, making these words more likely to get transcribed correctly [(1) ]() [(2) ]() . Here's how to implement it when creating an agent:
Copy code
javascript
import Retell from 'retell-sdk';
const client = new Retell({
 apiKey: 'YOUR_RETELL_API_KEY',
}) ;
const agentResponse = await client.agent.create({
 response_engine: { llm_id: 'llm_234sdertfsdsfsdf', type: 'retell-llm' },
 voice_id: '11labs-Adrian',
 boosted_keywords: [
 "retell",
 "kroger"
 ]
}) ;
[(1) ]() For your use case, replace the example keywords with Indian dish names like:
Copy code
javascript
boosted_keywords: [
 "biryani",
 "tandoori",
 "masala",
 "naan",
 "samosa",
 "dosa",
 "tikka"
]
You can also update an existing agent using the update endpoint:
Copy code
javascript
const agentResponse = await client.agent.update('16b980523634a6dc504898cda492e939', { 
 boosted_keywords: ["biryani", "tandoori", "masala"] 
}) ;
[(3) ]() Additionally, ensure your agent's language setting is appropriate for your use case [(1) ]() [(2) ]() [(3) ]() . If you're primarily serving Indian customers who speak English with Indian accents, you might consider setting the language to
"en-IN"
. The boosted keywords feature is commonly used for names, brands, and specialized terminology [(1) ]() [(2) ]() , making it perfect for Indian dish names that might not be recognized properly by the default speech recognition model.
​ To learn more, see the sources I considered: [[1] Create Agent](https://docs.retellai.com/api-references/create-agent) [[2] Create Agent](https://docs.retellai.com/api-references/create-agent) [[3] Update Agent](https://docs.retellai.com/api-references/update-agent) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
i
if i want to add this from retell dashboard then how can i do it ?
a
Appreciate the feedback! Feel free to ask me again with additional guidance or context.