When a chatbot asks questions and receives responses from users, how to check if the response from user is relevant to the question?
For example, if we are asking a user how are they feeling today, and they talk back saying "why are you asking me this", we need to know that they are trying to break flow of the conversation.
What must prerequisite knowledge I should know before developing chatbot, and dealing with such kind of problem.