Can Vapi interrupt the user if they have been spea...
# support
a
i want the assistant to politely interrupt the user after 2 minutes
a
Heyatharane Thank you for creating the ticket! A member of our team will reach out to you shortly.
v
@atharane Certainly! I can set the assistant to interrupt after 2 minutes. Just to clarify, would you like the assistant to interrupt after 2 minutes of continuous speech, or after 2 minutes regardless of pauses in the conversation?
You can continue this conversation by mentioning me in the message.
a
2 minutes of continuous speech
s
@atharane Could you please provide a specific example of user input and the corresponding conversation flow? This information is essential, as it can be achieved through the implementation of custom endpoint rules. I require these details to accurately identify the issues and assist you effectively.
a
@Shubham Bajaj so we are building an ai therapist web app, each session is 10-15 minutes long, we want to make it such that if the user keeps talking for a certain duration nonstop, or starts talking about something irrelevant, the assistant should politely interupt the conversation.
s
> f the user keeps talking for a certain duration nonstop It is necessary for you to perform the calculation independently and subsequently interrupt the user externally, as we currently do not have a mechanism in place that allows the user to continue speaking. > starts talking about something irrelevant, the assistant should politely interupt the conversation. This matter can be addressed through the use of prompting. It is essential to incorporate the context of the call or conversation into your prompt and to provide clear instructions to the assistant regarding this. Additionally, should the user input deviate from the established context, it is important to inform them of the possible actions that can be taken. This is fundamentally a prompting issue.
Checkout this for calculating the call duration with ease https://docs.vapi.ai/calls/call-features
4 Views