mrg7503
10/08/2025, 2:26 PMAI Evy
10/08/2025, 2:26 PMAI Evy
10/08/2025, 2:26 PMjavascript
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) ]() .AI Evy
10/08/2025, 2:26 PMAI Evy
10/08/2025, 2:26 PM