Moises_Carrero | 2021-08-30 19:27:47 UTC | #1
Hello,
I am creating a chatbot with dialogflow and I am confronting the problem that it runs the question 3 times as it is suppose to, but before giving me the NoMatchError it runs the question one more time (4 in total) and then gives me the respond of the error. Is there any work around for this?
brad.wehmeier | 2021-08-31 12:44:40 UTC | #2
If I understand correctly, you are describing the behavior that occurs when someone has called into a bot and is silent (or unintelligible noise) for a while. If thats the case, the following documentation page might help: https://help.mypurecloud.com/articles/configure-google-dialogflow-intent-behavior-when-the-caller-does-not-answer/
There is a sequence of events that Genesys Cloud sends to Dialogflow. The 4th and final event is an opportunity for your Dialogflow agent to say "goodbye" or some other statement that indicates that the bot can't understand the caller. If the Dialogflow agent has a separate intent that matches the that 4th "FINAL" event, then the Dialogflow agent can provide a different response (something other than the question).
I hope that helps.
Thanks, Brad
Moises_Carrero | 2021-08-31 18:05:47 UTC | #3
brad.wehmeier, post:2, topic:11868
There is a sequence of events that Genesys Cloud sends to Dialogflow. The 4th and final event is an opportunity for your Dialogflow agent to say "goodbye" or some other statement that indicates that the bot can't understand the caller. If the Dialogflow agent has a separate intent that matches the that 4th "FINAL" event, then the Dialogflow agent can provide a different response (something other than the question).
Brad, Thank you for your replay. Let me be more clear about my problem. I have an Intent that has a custome Entity created by me. The Intent will only return 1 or 2 depending on the user input.
chatbot example: Are you ready to procced?
- to procced
- Need more time
For example If the user enters 3 the Intent won't return anything, after 3 wrong entries the bot will throw a NoMatchError.
Complete Chatbot example:
Chabot: Are you ready to procced?
- to procced
- Need more time
UserInput: 3
Chabot: Are you ready to procced?
- to procced
- Need more time
UserInput: 3
Chabot: Are you ready to procced?
- to procced
- Need more time
UserInput: 3 Chabot: Are you ready to procced? ( This one is the one that I would like to eliminate)
- to procced
- Need more time
Chatbot: I'm sorry you have exceeded the amount of tries, good bye.
Charles_Cafrelli | 2021-09-01 20:41:58 UTC | #4
Hi Moises, Could you elaborate a little on what behavior you're expecting? Are you saying you do not want the last responses before the error message?
Moises_Carrero | 2021-09-01 20:43:51 UTC | #5
Hi Charles,
Exactly, I don't want that last response. I would like something like this:
Complete Chatbot example:
Chabot: Are you ready to procced?
- to procced
- Need more time
UserInput: 3
Chabot: Are you ready to procced?
- to procced
- Need more time
UserInput: 3
Chabot: Are you ready to procced?
- to procced
- Need more time
UserInput: 3 Chatbot: I'm sorry you have exceeded the amount of tries, good bye.
system | 2021-10-02 20:44:05 UTC | #6
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 11868