How to configure NLU datasets for similar intent datatype

rasa-nlu
rasa-core
(Sandeep K) #1

I have two intends configured in my nlu.md file:

intent:get_age

intent:get_days

When run the bot in some cases the data entered for the intent get_age gets accepted by intent get_days which is wrong. How would i tackle this situation?

For example if the bot asks “What is your age?” and when i responds back “30” then i would get the response configured for get_days, because both get_age and get_days accepts numbers as inputs. This issue doesn’t happen always and i am not able to figure out how to fix this.

(Ella Rohm-Ensing) #2

This is to be expected when the training data for the intents is so similar. I would recommend merging these intents into an inform intent, and using stories to drive the action prediction of what to do in response to this intent.