Skip to content

Instantly share code, notes, and snippets.

@ehzawad
Created August 29, 2023 22:43
Show Gist options
  • Save ehzawad/b6c3eab70ecf1753012dacb164c83b49 to your computer and use it in GitHub Desktop.
Save ehzawad/b6c3eab70ecf1753012dacb164c83b49 to your computer and use it in GitHub Desktop.
rasa
# version: "3.1"
# stories:
# - story: stop form + continue
# steps:
# - intent: request_restaurant
# - action: restaurant_form
# - active_loop: restaurant_form
# - intent: stop
# - action: utter_ask_continue
# - intent: affirm
# - action: restaurant_form
# - active_loop: null
# - action: utter_submit
# - action: action_submit # Explicitly invoking the submit action
# - story: stop form + stop
# steps:
# - intent: request_restaurant
# - action: restaurant_form
# - active_loop: restaurant_form
# - intent: stop
# - action: utter_ask_continue
# - intent: deny
# - action: action_deactivate_loop
# - active_loop: null
@ehzawad
Copy link
Author

ehzawad commented Aug 30, 2023

return [
SlotSet("DivisionName", None),
SlotSet("ApplicationNumber", None),
SlotSet("ApplicationNumber_confirm", None),
SlotSet("Incomplete_Story", False),
SlotSet("Found", False),
]

                return[
            SlotSet("ApplicationNumber", None),
            SlotSet("ApplicationNumber_confirm", None),
            SlotSet("APtext", None),
            SlotSet("DivisionName", None),
            SlotSet("Incomplete_Story", True),
        ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment