juliointheworld
04/08/2025, 9:16 PMVapi Support Bot
04/08/2025, 9:19 PMonNumberSeconds
parameter to give the system more time to process number sequences accurately:
json
{
startSpeakingPlan: {
transcriptionEndpointingPlan: {
onNumberSeconds: 1.0 // Increase from default 0.5s
}
}
}
[Source](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1342583376707850250)
2. **Adjust numberToDigitsCutoff
Setting**: This determines when numbers are transcribed as words or digits. Setting it higher than expected numbers ensures they're converted to words:
json
{
numberToDigitsCutoff: 100000 // For numbers like "12345" to be spoken as words
}
[Source](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1342349738032500736)
3. **Consider DTMF as Alternative**: For critical number capture, enabling keypad input (DTMF) can be more accurate than voice transcription [Source](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1341108728115757138).
## Preventing Unexpected Language Changes
For the language switching issue (Spanish to Portuguese):
1. **Explicitly Set the Language**: Use the language
property in your voice configuration:
json
{
"voice": {
"provider": "azure",
"voiceId": "es-ES-ElviraNeural",
"language": "es-ES"
}
}
[Source](https://docs.vapi.ai/changelog/2024/11/24)Vapi Support Bot
04/08/2025, 9:19 PMsmartEndpointingEnabled
to false
as it only works for English transcriptions [Source](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1334385998423130174).
5. **Configure chunkPlan for Spanish**: Ensure chunkPlan.enabled
is set to true
to improve sentence boundary detection for Spanish responses [Source](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1343543475383046185).
## General Performance Improvements
1. **Adjust Voice Recognition Settings**: Fine-tune wait time and sensitivity settings to improve understanding [Source](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1333067714729607228).
2. **Optimize Prompt Engineering**: Structure prompts effectively for voice interactions and add clear error handling [Source](https://docs.vapi.ai/assistants).
3. **Test and Iterate**: Use Voice Testing to automate evaluation of your AI voice agents [Source](https://docs.vapi.ai/test/voice-testing).
Would you like me to elaborate on any specific aspect of these recommendations or help with implementing any particular solution?
Sources:
- [Discord Thread](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1342583376707850250)
- [Discord Thread](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1342349738032500736)
- [Discord Thread](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1341108728115757138)Vapi Support Bot
04/08/2025, 9:19 PMjuliointheworld
04/09/2025, 2:23 AMjuliointheworld
04/09/2025, 4:12 PMKings_bigđź’«
04/09/2025, 4:20 PMShubham Bajaj
04/10/2025, 11:26 AMShubham Bajaj
04/10/2025, 11:28 AMjuliointheworld
04/11/2025, 8:49 PMjuliointheworld
04/11/2025, 8:49 PMjuliointheworld
04/11/2025, 8:50 PMjuliointheworld
04/11/2025, 8:50 PMShubham Bajaj
04/11/2025, 10:26 PMjuliointheworld
04/16/2025, 2:50 AMjuliointheworld
04/16/2025, 3:57 PMShubham Bajaj
04/21/2025, 12:24 PMShubham Bajaj
04/21/2025, 12:46 PMShubham Bajaj
04/21/2025, 12:52 PM