2022-08-10 12:07:09 +02:00
|
|
|
version: "3.1"
|
2022-02-02 20:35:02 +01:00
|
|
|
|
|
|
|
policies:
|
|
|
|
- name: RulePolicy
|
|
|
|
|
2021-10-20 14:29:59 +02:00
|
|
|
rules:
|
|
|
|
- rule: activate signup form
|
|
|
|
steps:
|
2022-02-02 21:40:39 +01:00
|
|
|
- intent: inform_email
|
2021-10-20 14:29:59 +02:00
|
|
|
- action: signup_form
|
|
|
|
- active_loop: signup_form
|
|
|
|
|
|
|
|
- rule: submit form
|
|
|
|
condition:
|
|
|
|
- active_loop: signup_form
|
|
|
|
steps:
|
|
|
|
- action: signup_form
|
|
|
|
- active_loop: null
|
2022-08-10 13:02:18 +02:00
|
|
|
- action: utter_signedup
|
|
|
|
|
|
|
|
- rule: out_of_scope
|
|
|
|
steps:
|
|
|
|
- intent: out_of_scope
|
|
|
|
- action: utter_out_of_scope
|
|
|
|
|
|
|
|
- rule: bot_challange
|
|
|
|
steps:
|
|
|
|
- intent: bot_challange
|
|
|
|
- action: utter_bot_challenge
|
|
|
|
|
|
|
|
- rule: bye
|
|
|
|
steps:
|
|
|
|
- intent: bye
|
|
|
|
- action: utter_bye
|