tatianaf
(Tatiana)
1
If my submit form rule looks like this then do I need to include it at all or is this the default behavior so I don’t need this in my rules.yml?
- rule: Submit webex device form
condition:
# Condition that form is active.
- active_loop: webex_device_form
steps:
- action: webex_device_form
- active_loop: null
noman
(Noman Saleem)
2
hi can you share forms implemented in rasa 2.0?
tatianaf
(Tatiana)
3
This is the form:
webex_device:
- type: from_entity
entity: webex_device
I decided to remove the rule because it seems the rule I wrote is the default behavior and I already have a story that covers the form logic:
- story: webex start meeting interactive_story_1
steps:
- intent: webex_start_meeting
- action: action_interject
- action: webex_device_form
- active_loop: webex_device_form
- slot_was_set:
- requested_slot: webex_device
- slot_was_set:
- webex_device: computer
- slot_was_set:
- requested_slot: null
- active_loop: null
- action: action_webex_start_meeting
- action: action_follow_up