a_sid
0
Q:

two form in rasa

## survey stop
* greet
    - utter_greet
* affirm
    - health_form
    - form{"name": "health_form"}
* out_of_scope
    - utter_ask_continue
* deny
    - action_deactivate_form
    - form{"name": null}
    - utter_goodbye
0
## survey continue
* greet
    - utter_greet
* affirm
    - health_form
    - form{"name": "health_form"}
* out_of_scope
    - utter_ask_continue
* affirm
    - health_form
    - form{"name": null}
    - utter_slots_values
0
  utter_cheer_up:
  - text: "Here is something to cheer you up:"
    image: "https://i.imgur.com/nGF1K8f.jpg"

  utter_did_that_help:
  - text: "Did that help you?"

  utter_happy:
  - text: "Great, carry on!"
0
class CarSearchForm(FormAction):
        def name(self):
            return "carSearch_form"
        @staticmethod
        def required_slots(tracker: Tracker) -> List[Text]:
            return ['make', 'model', .......]
0
class BookAppointmentForm(FormAction):
    def name(self):
        return "bookAppointment_form"
    @staticmethod
    def required_slots(tracker: Tracker) -> List[Text]:
        return ['name', 'phone', .......]
0

New to Communities?

Join the community