Assistant change language during call
# support
t
My agent is set to speak Italian, but sometime It says: "how can I help you?" In English. I prompted to speak only italian but nothing changed
v
Hi there! 👋 I understand your frustration when your Italian-speaking agent suddenly switches to English with phrases like "how can I help you?". Based on the information I've found, there are several reasons why this might be happening and several solutions you can try: ### Why This Happens According to the [documentation](https://docs.vapi.ai/customization/multilingual), language switching can occur due to: 1. Configuration issues - The language setting might be incorrectly configured or using a deprecated method 2. Voice model limitations - Some voice models may have unexpected behavior or "hiccups" 3. Chunk processing issues - Problems with text processing for non-English languages 4. Smart endpointing - This feature only works for English and can cause issues with other languages ### How to Fix It Here are specific steps to ensure your agent speaks only Italian: 1. **Select the right voice ID**: Choose a voice that natively supports Italian from your provider. For example, if using Azure, you'd configure something like:
Copy code
json
   {
     "voice": {
       "provider": "azure",
       "voiceId": "[Italian-voice-ID]"
     }
   }
2. **Enable chunk processing**: According to [troubleshooting information](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1343543475383046185), keep
chunkPlan.enabled
set to
true
for non-English languages:
Copy code
json
   {
     "voice": {
       "chunkPlan": {
         "enabled": true,
         "minCharacters": 30,
         "punctuationBoundaries": [".", "!", "?", ";"]
       }
     }
   }
3. **Disable smart endpointing**: As mentioned in [support discussions](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1334385998423130174), set
smartEndpointingEnabled
to
false
since it only works for English.
4. **Update your system prompt**: Make sure your system prompt explicitly instructs the agent to speak only in Italian. The [documentation](https://docs.vapi.ai/quickstart/phone/outbound) indicates you can use the system prompt to configure language instructions. 5. **Keep everything in Italian**: Ensure all components of your assistant remain in native Italian to avoid translation errors, as suggested in [community discussions](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1330949649720414288). Would you like me to help you troubleshoot any specific part of your configuration in more detail? Sources: - [Customization/Multilingual](https://docs.vapi.ai/customization/multilingual) - [Discord Thread 1343543475383046185](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1343543475383046185) - [Discord Thread 1334385998423130174](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1334385998423130174) - [Quickstart/Phone/Outbound](https://docs.vapi.ai/quickstart/phone/outbound) - [Discord Thread 1330949649720414288](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1330949649720414288)
k
possibly due to misconfigured voice, transcription, or LLM language settings.