RocketChat / hubot-natural

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

Fix non-root level interactions being trained on root level #41

Closed MatheusFaria closed 6 years ago

MatheusFaria commented 6 years ago

Interactions with the level field defined were trained in the root level, which increases the training time. In this PR, I give the option for the user to put the interaction at the root level when:

Otherwise, the interaction will belong to another level, and can only be reached through other interactions.

One thing that I wanted to discuss, is the meaning and differences between the level and the context.

diegodorgam commented 6 years ago

Interesting way of tracking the context, kind like a breadcrumb track style. Maybe there is some more ideas to improve this. I'll merge by now, but we should definitely make a call about this feature, there is great potential in this.