Hello everyone, I’m really new to rasa and trying to figure out some stuffs.
I’m creating a bot (menu-bot) with rule-based only.
- Select an option
- 1 - Option_one (if input = 1 send a message and run out of scope)
- 2 - Option_two (if input = 2 send a message and run out of scope)
- 3 - Option_three (if input = 3 send a message and run out of scope)
- 4 - Option_four (if input = 4 send message and continue to another form to collect email/phone number/etc)
Problem: It isn’t triggering ‘Active collect_form if option 4’. how to proper connect forms in rasa 2.0?
rules
rule: Active consult form
- steps:
- intent: consult_form
- action: utter_consult_form
- action: consult_form
- active_loop: consult_form
rule: Submit consult form
- condition:
- active_loop: consult_form
- steps:
- action: consult_form
- active_loop: null
- slot_was_set:
- requested_slot: null
rule: Active collect_form if option 4
- condition:
- active_loop: collect_form
- steps:
- slot_was_set:
- type_consult: 4
- active_loop: collect_form
rule: Submit collect form if option 4
- condition:
- active_loop: collect_form
- steps:
- action: collect_form
- active_loop: null
- slot_was_set:
- requested_slot: null