RocketChat / hubot-natural

Natural Language Processing Chatbot for RocketChat
https://open.rocket.chat/channel/hubot-natural
MIT License
145 stars 44 forks source link

Bot crashes when there is no error node and a high trust value #37

Closed MatheusFaria closed 6 years ago

MatheusFaria commented 6 years ago

If you set a high trust value on your corpus, and do not define any error node. The bot crashes, since it can't define an interaction, and do not have an error node to fallback.

The good practice is to always have at least one error node, but we need to define a behavior since it is not mandatory.