https://retellai.com/?utm_source=discord&utm_medium=seo logo
how can we improve our STT performance
# ❓・ai-evy-support
m
@AI Evy how can we improve our STT performance. Our agent has difficulties understanding names
a
Thanks for tagging me @mrg7503. I'll look through relevant sources and get back to you shortly.
### Answer To improve STT performance for names in Retell AI, you can use boosted keywords to help the transcription model better recognize specific names [(1) ]() . This feature allows you to provide a customized list of keywords to bias the transcriber model, making these words more likely to get transcribed correctly . Here's how to implement boosted keywords 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"
 ],
}) ;
You can add the specific names your agent commonly encounters to the
boosted_keywords
array . This is commonly used for names, brands, and other specific terms that need accurate transcription . Additionally, you can configure the STT mode for your agent - you have options like
"fast"
mode which may affect transcription accuracy . The language setting can also be optimized - for instance, selecting
"en-GB"
optimizes speech recognition for British English, while the default is
"en-US"
[(2) ]() . For medical or specialized vocabulary, you can set
vocab_specialization
to
"medical"
if dealing with medical names, though this only applies to English agents [(3) ]() .
​ 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] 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.