Incomprehensible conversation
# support
h
Hi, I hope you are well. I have an assistant with a script hook "Hi, is this sarah from x clinic?!" This assistant sometimes makes some incomprehensible conversations. For example, in this conversation, instead of the customer's name, it makes incomprehensible conversations. https://storage.vapi.ai/8aeec76d-b09e-4ddd-b703-396c586ccd41-1743458754805-ceb34fc6-b002-4525-960b-dd4e9c48b872-mono.wav I don't know why this happens. Please check it.
v
Hi there! 👋 Sorry to hear you're experiencing issues with incomprehensible conversations in your Vapi assistant. While I can't directly access or listen to the audio file you shared, I can definitely help explain some potential causes and solutions for this type of issue, especially related to script hooks and customer names. ## Potential Causes of Incomprehensible Conversations There are several reasons why your assistant might be producing incomprehensible speech when trying to use the customer's name: 1. **Script Hook Placeholder Issues**: According to the information I found, script hooks use placeholders like
{{variableName}}
to insert dynamic content such as customer names. If these placeholders aren't properly configured, the assistant might try to pronounce the placeholder itself or produce garbled speech. 2. **Customer Name Availability**: The customer name might not be available when the first message is spoken. As noted in [Discord discussions](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1343862805463302184), "The first message is spoken when the customer calls up, and at that point, the customer name might not be available." 3. **Text-to-Speech Pronunciation Issues**: Some text-to-speech voices may struggle to pronounce certain words correctly, leading to incomprehensible speech. According to [Vapi documentation](https://docs.vapi.ai/quickstart/phone/inbound), this is a known issue with some voice models. 4. **Voice Distortion**: Voice distortion can occur due to network issues, encoding/decoding errors, or problems with voice synthesis. If you're using 11Labs voices, a high "style" property (e.g., 0.8) can lead to complications and unpredictable AI behavior, as mentioned in [Discord discussions](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1336377512233664523).
5. **Transcription Errors**: The system might be incorrectly transcribing the caller's name. In one example from [Discord](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1338470163825033287), the VAPI transcript incorrectly transcribed a caller's name as numbers ("2 0 0"). ## Debugging Steps Here are some steps you can take to debug this issue: 1. **Check Your Script Hook Format**: Ensure your script hook is properly formatted with the correct variable syntax. For dynamic variables, use double curly braces like
{{name}}
. 2. **Review Variable Passing**: Make sure you're correctly passing the customer name as a variable using
assistantOverrides
with
variableValues
. 3. **Check Voice Configuration**: If using 11Labs voices, try setting the "style" property to 0.0 to avoid distortion issues. 4. **Review Language Settings**: Ensure the language for the transcriber and voice model are correctly configured and match. A mismatch can lead to mispronunciations or garbled speech. 5. **Test with Different Voices**: Try using different voice models to see if the issue persists, which can help identify if it's a specific voice model causing the problem. Would you like me to provide more specific troubleshooting steps for any of these potential issues? Sources: - [Discord discussions on incomprehensible conversations](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1343862805463302184) - [Vapi documentation on text-to-speech issues](https://docs.vapi.ai/quickstart/phone/inbound) - [Discord discussions on voice distortion](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1336377512233664523) - [Discord discussions on transcription errors](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1338470163825033287)
k
Hey! To help track down this issue, could you share: - When exactly this happened (the timestamp) - What response you expected to get - What response you actually got instead This would really help us figure out what went wrong!
Hey Hamid, I need the following information mentioned above because I want to understand what you mean by "incomprehensible conversations." Please share it in the required format.
2 Views