fix stories and rules

This commit is contained in:
Pratyush Desai 2022-02-03 02:10:39 +05:30
parent 09a68b838d
commit a7fb4bca98
Signed by untrusted user: pratyush
GPG Key ID: DBA5BB7505946FAD
3 changed files with 4 additions and 2 deletions

View File

@ -6,7 +6,7 @@ policies:
rules: rules:
- rule: activate signup form - rule: activate signup form
steps: steps:
- intent: signup - intent: inform_email
- action: signup_form - action: signup_form
- active_loop: signup_form - active_loop: signup_form

View File

@ -6,5 +6,7 @@ stories:
- intent: greet - intent: greet
- action: utter_greet - action: utter_greet
- intent: signup - intent: signup
- action: utter_ask_email
- intent: inform_email
- action: signup_form - action: signup_form
- active_loop: signup_form - active_loop: signup_form

View File

@ -4,8 +4,8 @@ session_config:
carry_over_slots_to_new_session: true carry_over_slots_to_new_session: true
intents: intents:
- greet - greet
- inform
- signup - signup
- inform_email
slots: slots:
email: email:
type: text type: text