@GauravRoy48 When you say anything except “yes” can it be classified as any other intent that is part of your bot, or it doesn’t belong to any intent?
Also, may I know your use case for which you would need this?
It may or may not be classified as any other intent. For simplicity’s sake, lets assume that the user response can be classified as some other intent.
My use case is that the bot has asked a yes/no question, and i want the user to stick to only answering in yes or no. Any other intent will make the bot ask the same question again. Since I have almost 50 intents and I’m still only 30% done with adding intents, I wanted to know if there is a easy way to handle this instead of leaving it up to rasa’s probabilistic model.
Write your original question in the domain file, for utter_ask_yn. Because the way forms work in rasa, this method will repeat the original question after the “Please, answer the question.” message is sent.