https://retellai.com/?utm_source=discord&utm_medium=seo logo
When user voice is too low or speaking too slow, t...
# ❓・ai-evy-support
a
@AI Evy When user voice is too low or speaking too slow, the agent speaks so looks like overlapping the user talking. How to control this ?
a
Thanks for tagging me @afrah_85175. I'll look through relevant sources and get back to you shortly.
### Answer You can control agent interruption behavior using several parameters when creating or updating your agent [(1) ]() [(2) ]() : **Responsiveness**: Controls how responsive the agent is [(1) ]() . Value ranging from [0,1] . Lower value means less responsive agent (wait more, respond slower) , while higher value means faster exchanges (respond when it can) . If unset, default value 1 will apply . **Interruption Sensitivity**: Controls how sensitive the agent is to user interruptions . Value ranging from [0,1] . Lower value means it will take longer / more words for user to interrupt agent, while higher value means it's easier for user to interrupt agent . If unset, default value 1 will apply . When this is set to 0, agent would never be interrupted . Here's how to configure these in JavaScript:
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',
 responsiveness: 0.5,
 interruption_sensitivity: 0.3,
}) ;
For your specific issue with low/slow user voice, try: - Lower responsiveness (e.g., 0.3-0.5) to make the agent wait longer before speaking - Lower interruption sensitivity (e.g., 0.2-0.4) to require more clear speech before the agent stops talking
​ 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) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.