Hi. I’m new to Rasa so might have missed something. I have a question about Rasa’s stories structure. The stories in the Rasa example after running rasa init looks something like:
happy path
- greet
- utter_greet
- mood_great
- utter_happy
sad path 1
- greet
- utter_greet
- mood_unhappy
- utter_cheer_up
- utter_did_that_help
- affirm
- utter_happy
sad path 2
- greet
- utter_greet
- mood_unhappy
- utter_cheer_up
- utter_did_that_help
- deny
- utter_goodbye
The way the stories seem to be structured is that if there is ever more than one way for a user to answer the chatbot, then that requires a new story.
For example there is the happy_path which uses the mood_great intent to accept user input that is positive eg. I am great, I’m good, etc.
Then there is the sad_path which uses the mood_unhappy intent to accept user input that is negative eg. sad, awful, etc.
I was wondering why it wouldn’t be better to compress the three stories and just have a single mood intent that can accept all different types of mood eg. good and bad. And then depending on the mood, responding with the appropriate utterance. I was wondering if this was the point of the actions.py file where I can handle user input and responses.
Thanks