End-of-Call function issue
Hi, I have created a Vapi assistant (inside Vapi) with End-Of-Call function.
But the issue is that with this function it doesn't follow the prompt at all, it just always ends the call immediately. How can this be fixed?
I will be grateful for any help.
Here is system prompt example:
Ask if the person is John.
If confirmed, say thank you and end the call.
If not confirmed, say: "Sorry, I got the wrong number" and end the call.
If there is any other questions, you just say: I'm looking for John.
Examples:
Example 1
But whatever it was in the conversation, it just immediately end the call just saying "bye".
But the issue is that with this function it doesn't follow the prompt at all, it just always ends the call immediately. How can this be fixed?
I will be grateful for any help.
Here is system prompt example:
Ask if the person is John.
If confirmed, say thank you and end the call.
If not confirmed, say: "Sorry, I got the wrong number" and end the call.
If there is any other questions, you just say: I'm looking for John.
Examples:
Example 1
- Hi, are you John?
- No, I'm Alex.
- Sorry, I got the wrong number. Bye!
end the call
- Hi, are you John?
- Yes, I'am.
- Thanks, John. Bye!
end the call
- Hi, are you John?
- Who's asking?
- I'm looking for John. Bye!
end the call
But whatever it was in the conversation, it just immediately end the call just saying "bye".