https://retellai.com/?utm_source=discord&utm_medium=seo logo
our agent has difficulties understanding and trans...
# ❓・ai-evy-support
m
@AI Evy our agent has difficulties understanding and transcribing names even though we added them to the boosted keywords. What to do?
a
Thanks for tagging me @mrg7503. I'll look through relevant sources and get back to you shortly.
### Answer Based on the documentation, here are several steps to improve name transcription accuracy: First, verify your boosted keywords setup: Boosted keywords are designed to bias the transcriber model so specific words are more likely to get transcribed correctly [(1) ]() [(2) ]() . You can add up to 100 custom keywords, commonly used for names, brands, and street names [(3) ]() . Check language compatibility: There's a known issue where boosted keywords don't work for certain language variants like es-419 or pt-BR, though they do work for es-ES and pt-PT [(4) ]() . If you're using one of the affected language variants, this could explain the transcription issues. Additional transcription accuracy solutions: 1. **Adjust transcription mode**: If sentences are being cut off during transcription, you can turn on transcription mode to optimize for accuracy [(3) ]() . 2. **Configure denoising settings**: If background noise is affecting transcription, experiment with the denoising mode setting to see if it helps . 3. **Consider pronunciation dictionary**: For consistent pronunciation of specific names, you can use the pronunciation dictionary feature, which is currently supported for English & 11labs voices [(1) ]() [(2) ]() . To implement boosted keywords via API:
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
Copy code
javascript
const agentResponse = await client.agent.create({
  response_engine: { llm_id: 'llm_234sdertfsdsfsdf', type: 'retell-llm' },
  voice_id: '11labs-Adrian',
  boosted_keywords: ["retell", "kroger"]
}) ;
[(1) ]() If you're still experiencing issues after checking these settings, the problem might be related to the language variant compatibility issue mentioned in the Discord discussion [(4) ]() .
​ To learn more, see the sources I considered: [[1] Create Agent](https://docs.retellai.com/api-references/create-agent) [[2] Update Agent](https://docs.retellai.com/api-references/update-agent) [[3] Increase transcription accuracy](https://docs.retellai.com/reliability/wrong-transcript) [[4] HELP! No agents working in our account](https://discord.com/channels/1186424376300679209/1236367029670248639) ​
Appreciate the feedback! Feel free to ask me again with additional guidance or context.
m
@AI Evy regarding this point: Consider pronunciation dictionary: For consistent pronunciation of specific names, you can use the pronunciation dictionary feature, which is currently supported for English & 11labs voices (1) (2) - is this only concerning her pronounciation of certain names or does it help with understanding and transcribing names aswell?
a
Thanks for the follow-up, @mrg7503. I'll get back to you soon.
### Answer The pronunciation dictionary feature is specifically for pronunciation only, not transcription or understanding [(1) ]() . The pronunciation dictionary is used "to guide the audio synthesize for consistent pronunciation" [(2) ]() . It helps control how certain words are pronounced during speech synthesis (text-to-speech) , not how they're understood or transcribed during speech recognition [(1) ]() . For transcription accuracy of names, you should continue using boosted keywords, which are designed to "bias the transcriber model, so that these words are more likely to get transcribed" [(2) ]() . Here's the structure of the pronunciation dictionary:
Copy code
javascript
"pronunciation_dictionary": [
  {
    "word": "actually",
    "alphabet": "ipa",
    "phoneme": "ˈæktʃuəli"
  }
]
The pronunciation dictionary consists of: - The word to be pronounced [(1) ]() - The phonetic alphabet to use (
ipa
and
cmu
are supported) - The phonetic pronunciation of the word So for your name transcription issues, stick with boosted keywords for better recognition, and use pronunciation dictionary only if you need the agent to pronounce those names more consistently when speaking.
​ To learn more, see the sources I considered: [[1] Add custom pronunciation](https://docs.retellai.com/build/add-pronounciation) [[2] Create Agent](https://docs.retellai.com/api-references/create-agent) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.