the assistant keeps interrupting
# support
k
Aggressive interruptions: If the person takes even half a second to think while completing a sentence, the bot tends to interject, how would we resolve this.and im building a takeaway assistant this is the call id -af3da6ff-275b-49d4-a837-97ed42aa9009 it just interrupts in the middle of my order
v
message has been deleted
@klklkl It sounds like you're experiencing interruptions that are too aggressive during your interactions with the voice assistant. To resolve this, we can adjust the
numWordsToInterruptAssistant
parameter to a higher value, which will give you more time to speak before the assistant considers interrupting. Since you're building a takeaway assistant, it's important that the assistant allows you to complete your order without unnecessary interruptions. Let's increase the
numWordsToInterruptAssistant
to a value that provides a better balance between responsiveness and giving you enough time to think and speak. Could you please tell me how many words or seconds you would prefer to have before the assistant considers interrupting?
You can continue this conversation by mentioning me in the message.
k
where can i do this @Vapi
v
@klklkl To adjust the settings for the voice assistant's interruption behavior, you would typically need to access the configuration settings of your voice application. This is often done within the development environment or platform where you are building your takeaway assistant. If you are using a specific Voice API or platform, you would look for settings related to speech recognition, such as sensitivity, timeout settings, or parameters that control when the assistant should start speaking. The exact location and name of these settings can vary depending on the platform you are using. If you need assistance with locating and adjusting these settings within your development environment, please provide more details about the platform or tools you are using to build your takeaway assistant, and I'll do my best to guide you through the process. If the platform is VAPI, please let me know so I can provide more specific instructions.
k
its vapi @Vapi
v
@klklkl Great, since you're using VAPI, you'll want to adjust the settings related to the voice assistant's interruption behavior within the VAPI platform. Here's a general approach to how you might do this: 1. Access the VAPI development dashboard. 2. Navigate to the project settings for your takeaway assistant. 3. Look for settings related to speech recognition and response timing. 4. Adjust the parameters that control the assistant's interruption behavior. This could be something like
numWordsToInterruptAssistant
or a similar setting that defines the threshold for interruptions. 5. Save your changes and test the assistant to ensure that the new settings provide a better user experience without aggressive interruptions. If you're not sure where to find these settings or if you need help with the specific parameters, please reach out to VAPI support for more detailed guidance. They will be able to provide you with step-by-step instructions tailored to their platform.
s
@klklkl because of end pointing set to 10ms (by default) it was unable to get the words, setting it to 300ms will get the words at the end.
Copy code
"transcriber": {
    "provider": "deepgram",
    "endpointing": 300
  }
FYI Endpointing(in ms) is used to determine when user has stopped speaking. Do let me know how it goes!!