Hello, I am trying to make some tests for my stories and custom actions. I don’t understand why rasa always predict either the action_default_fallback or the action_listen. In my project, I use actions instead of utters. But I don’t understand why I fall into action_default_fallback and actions_listen. I have looked in the rasa projects examples, but I do not understand. Could you please show me an example of test structure using forms and actions (instead of utter). I put you an example of my tests. Here is my code:
stories:
- story: Example of my happy path
steps:
- user: |
Hello
intent: greet_INTENT
- action: utter_welcome_message
- action: action_listen
- user: |
I want to eat at restaurant
intent: inform_restaurant_INTENT
- action: action_prepare_restaurant
- slot_was_set:
- location_SLOT: "New York"
- action: action_listen
- action: action_ask_restaurant_form_foodType_SLOT
- slot_was_set:
- foodType_number_times_asked_SLOT: 1.0
- action: action_listen
- user: |
I want to eat [chinese food](chineseFood_ENTITY)
intent: inform_foodType_INTENT