Hi, Having a story with a form the, The intent that comes right after the form is parsed but leads to action_default_fallback.
Here are the rules for the form:
rules:
- rule: Activate Appointment Form
steps:
- intent: new_appointment
- action: appointment_form
- active_loop: appointment_form
- rule: Appointment Form
condition:
- active_loop: appointment_form
steps:
- action: appointment_form
- slot_was_set:
- requested_slot: null
- active_loop: null
- action: action_search_spots
And here is the story corresponding (currently tested with a single story to remove noise):
- story: Existing Customer Appointment
steps:
- intent: greet
- action: utter_greet
- intent: greet_affirm
- action: utter_how_can_i_help
- intent: new_appointment
- action: appointment_form
- active_loop: appointment_form
- slot_was_set:
- requested_slot: service
- slot_was_set:
- service: Facial Treatment
- slot_was_set:
- requested_slot: date_range
- slot_was_set:
- date_range: Tomorrow
- slot_was_set:
- requested_slot: null
- active_loop: null
- action: action_search_spots
- intent: time_selection
- action: utter_available_appointments
- intent: goodbye
- action: utter_goodbye
Also, looking at the tracker i see the following,
Having the time_selection
intent parsed perfectly, including setting both the entity and the slot,
However, the utter_available_appointments
is never called.
...
{
...
"name": "action_listen",
},
{
...
"event": "user",
"parse_data": {
"intent": {
"name": "time_selection",
"confidence": 0.9999264478683472
}
}
},
{
...
"event": "slot",
"name": "appointment_time",
},
{
...
"event": "user_featurization"
},
{
...
"event": "action",
"name": "action_default_fallback",
}
I’ve tried everything to help the story continue “regularly” after the form, but couldn’t.
Any help?