Vapi Assistant is not as smart when it comes to ot...
# support
l
I'm currently trying to duplicate my English assistant to speak in Mandarin to accommodate for chinese client. However, even with the same system prompt but just changing it to mandarin, the assistant does not react the same. I've turned off the assistant end call function but yet half way through the call, not only the assistant kept mentioning the same sentence, but they hang up the call as well. Does anyone knows how do i debug this?
v
It sounds like you're facing some frustrating issues with your voice assistant when switching to Mandarin! Here are some debugging steps you can take to address the problems of repeating sentences and hanging up calls: ### 1. Check Configuration Settings - **Review the Assistant Configuration**: Make sure that the
clientMessages
field is set up correctly without duplicates. This can help prevent the assistant from repeating responses. - **Inspect the Code**: Look for any bugs in the code that might cause the assistant to send the same responses repeatedly. ### 2. Event Handling - **Check Event Handling**: Ensure that the message event handling does not contain loops or repeated triggers that could lead to the assistant repeating itself. ### 3. Timeout Settings - **Voicemail and Silence Timeout**: Verify the voicemail detection settings and ensure that the
silenceTimeoutSeconds
parameter is not conflicting with other timeout settings. This can affect how the assistant hangs up calls. ### 4. Testing Different Scenarios - **Run Various Input Scenarios**: Test the assistant with different inputs to see if the issues occur consistently or only under specific conditions. ### 5. Logs and Debugging Artifacts - **Analyze Logs**: Check the logs for any clues about why the assistant is repeating sentences or hanging up calls. Logs can provide insights into the assistant's behavior during interactions. ### 6. Language Switching Considerations - **Language Settings**: Ensure that the language settings are correctly configured for Mandarin. Sometimes, issues can arise if the transcriber is not set to the correct language. By following these steps, you should be able to identify and resolve the issues with your Mandarin assistant. If you continue to experience problems, consider reaching out for further assistance or checking for updates that might address these bugs. Good luck! 😊 Sources:
a
@lin10 Apologies for the delay in response.  To help track down this issue, could you share: - The call ID - What response you expected to get - What response you actually got instead This would really help us figure out what went wrong!
l
Hi there, I tried it on web, it was completely fine. But when i initiate the call to my phone, that's when the problem arised, here are 2 logs that is for Malay language 9c6465be-55f4-4347-b430-9ff812fef295 9c6465be-55f4-4347-b430-9ff812fef295 Please have a look, thank you
@Vapi Support Bot @User @Shubham Bajaj can help on the above? thank you!
a
To help track down this issue, could you share: - What response you expected to get - What response you actually got instead This would really help us figure out what went wrong!