Search code examples
facebook-messenger-botwit-ai

How to stop reply to the user if the bot doesn't know what the user type in wit.ai?


I am following this tutorial wit ai messenger bot tutorial My question is that how to stop reply if the bot doesn't know what the user typing to.Currently the bot is keep replying something what i structured in wit ai.

Please guide me


Solution

  • Check your confidence in the answer. If it's below what you required, make a statement like "I'm sorry I can't answer that". Check your console inbox to see that everyone message has it's confidence meter.