I think this is a fundamental question and would like to get some help on it.
Given the following Stories.md from RasaDemo:
## newsletter + affirm feedback
* greet
- action_greet_user
* signup_newsletter
- utter_great
- utter_ask_email
* enter_data{"email": "maxmeier@firma.de"} OR enter_data{"number":"1"}
- action_store_email
- slot{"email": "maxmeier@firma.de"}
- action_subscribe_newsletter
- slot{"subscribed": true}
- utter_awesome
- utter_confirmationemail
- utter_docu
- utter_ask_feedback
* affirm
- utter_thumbsup
- utter_anything_else
## newsletter + deny feedback
* greet
- action_greet_user
* signup_newsletter
- utter_great
- utter_ask_email
* enter_data{"email": "maxmeier@firma.de"} OR enter_data{"number":"1"}
- action_store_email
- slot{"email": "maxmeier@firma.de"}
- action_subscribe_newsletter
- slot{"subscribed": true}
- utter_awesome
- utter_confirmationemail
- utter_docu
- utter_ask_feedback
* deny
- utter_thumbsup
- utter_anything_else
According to Rasa Doc, ##
is comment. From my understanding, comment
means that this is for developer ONLY, there is NO meaning from the computer point of view.
If it is right, then there are some questions:
- If a user types something that falls to
greet
intent, which stories it is fallen into? - if user types something that falls to
signup_newsletter
, and the bot prompts for input, now user types something that falls todeny
intent instead of actual input, what would happen?
My question is, since stories.md contains a list of intent and actions, how do Rasa determine which flow it is right now?
If possible, can you please give me a more concrete example on that?
Thank you very much.