SSML parsing working inconsistently - delivering a...
# support
v
To quickly verify and isolate SSML parsing issues, use the Vapi dashboard's "Talk to Assistant" feature and input a simple SSML string, such as:
Copy code
xml
<speak>Hello, <break time="500ms"/> this is a test of SSML parsing.</speak>
If this works consistently, the issue may be with your SSML formatting or content elsewhere. If it fails, double-check that your assistant's voice model is set to an ElevenLabs model that supports SSML and that "Enable SSML Parsing" is set to
true
in your configuration. Sources: - [Pronunciation dictionaries and SSML parsing](https://docs.vapi.ai/assistants/pronunciation-dictionaries) - [Debugging voice agents](https://docs.vapi.ai/debugging)
v
Hey James, I can help ensure SSML parsing works consistently with your ElevenLabs setup. The issue often occurs when the SSML tags aren’t being passed correctly or the model input type isn’t set to ssml. I can review your agent’s configuration and suggest fixes for stable parsing. Could you confirm if your assistant sends text as rawText or ssml format? @Logos
l
Thanks. Check the images attached to the post for more information
@Vercel
c
Hi Logos, For SSML parsing issues, ensure that your voice agent is properly configured to support SSML inputs. SSML parsing might not function consistently due to varying factors such as incorrect SSML syntax or voice agent settings. To troubleshoot, consider the following steps: 1. **Check SSML Syntax**: Ensure that your SSML is correctly formatted. Each tag should be properly closed and nested according to the SSML specification. 2. **Review Voice Agent Settings**: Ensure that the voice profile you are using supports SSML. Not all voice profiles have SSML capabilities. 3. **Validate Inputs**: Confirm that inputs containing SSML are reaching the voice agent without being altered or stripped of tags. 4. **Test with Different Providers**: If using a non-native provider, verify their SSML support, as some providers may have limited or different SSML capabilities. For further details, you can refer to the [API Reference](https://docs.vapi.ai/api-reference/calls/get). If these do not resolve the issue, consider examining logs for errors related to SSML parsing which may provide more insight into specific problems.
l
Check the images I've uploaded for more details. I've tried what you have suggested and am not seeing a differece
c
Hey there, we reviewed the details of your request and brought this to our team's attention. We will be getting back to you as soon as we can. Thank you for your continued patience!
l
Appreciate it
c
Hi James, Thanks for the update. Could you please share a few call IDs where you noticed the SSML parsing issues? That’ll help us review the logs and pinpoint what’s causing the inconsistency. Best, Vapi Support
2 Views