How to write story with multi-intents in rasa2.X

In rasa1.x, a story with multi-intents can be written as

inform_restaurant_request_phone

  • inform{“restaurant_name”: “King”, “location”: “NewYork”}+request(“phone_number”)
    • action_1
    • action_2

may I ask what is the right format in rasa 2.X? The official docs Stories does not mention how to handle multi-intents. Thanks

I think you are looking for OR statements:


stories:
- story:
  steps:
  # ... previous steps
  - action: utter_ask_confirm
  - or:
    - intent: affirm
    - intent: thankyou
  - action: action_handle_affirmation

1 Like

thank you