https://retellai.com/?utm_source=discord&utm_medium=seo logo
how can i make an agent read phone Numbers in huma...
# ❓・ai-evy-support
k
@AI Evy how can i make an agent read phone Numbers in human like format? It serme to be reading Numbers at a weird cadence
a
Thanks for tagging me @K Rudy. I'll look through relevant sources and get back to you shortly.
### Answer You can improve how your agent reads phone numbers by enabling the
normalize_for_speech
setting. [(1) ]() When set to
true
, this will normalize text (including numbers, currency, dates, etc.) to their spoken form for more consistent speech synthesis. For example, it will convert "Call my number 2137112342" to "Call my number two one three seven one one two three four two" before starting audio generation. You can enable this when creating or updating your agent:
Copy code
javascript
const agentResponse = await client.agent.create({
  response_engine: { llm_id: 'llm_234sdertfsdsfsdf', type: 'retell-llm' },
  voice_id: '11labs-Adrian',
  normalize_for_speech: true
}) ;
Additionally, you might experiment with: - **`voice_speed`**: Controls speech rate (value ranging from 0.5 to 2) . A lower value means slower speech which may help with number cadence. - **`voice_temperature`**: Controls voice stability (value ranging from 0 to 2) . A lower value means more stable/consistent speech generation (applies to 11labs voices) .
​ To learn more, see the sources I considered: [[1] Create Voice 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.