how to teach the bot to answer after two (or more) non-understandable questions?
I'm trying to teach my bot to do the following:
user: sjkldfh sdkhfjk
bot: I'm sorry but I don't understand that. Can you please reformulate that?
user: lksdfj osdjm sdfj
bot: I still don't understand. Please, let me know in which respect I can improve.
I only want the second bot answer if there are two non-understandable talks from user. I mean, the first bot answer is correct but I want the bot to answer the second only after two (or more) non-understandable questions.
Can someone explain how can I achieve this or point me in the right direction?