two form in rasa
class BookAppointmentForm(FormAction):
def name(self):
return "bookAppointment_form"
@staticmethod
def required_slots(tracker: Tracker) -> List[Text]:
return ['name', 'phone', .......]
two form in rasa
class BookAppointmentForm(FormAction):
def name(self):
return "bookAppointment_form"
@staticmethod
def required_slots(tracker: Tracker) -> List[Text]:
return ['name', 'phone', .......]
two form in rasa
class CarSearchForm(FormAction):
def name(self):
return "carSearch_form"
@staticmethod
def required_slots(tracker: Tracker) -> List[Text]:
return ['make', 'model', .......]
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
two form in rasa
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!"
two form in rasa
## 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
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us