diff --git a/data/rules.yml b/data/rules.yml index d130f3e..543ec83 100644 --- a/data/rules.yml +++ b/data/rules.yml @@ -6,7 +6,7 @@ policies: rules: - rule: activate signup form steps: - - intent: signup + - intent: inform_email - action: signup_form - active_loop: signup_form diff --git a/data/stories.yml b/data/stories.yml index 0e3f0f8..a217dd4 100644 --- a/data/stories.yml +++ b/data/stories.yml @@ -6,5 +6,7 @@ stories: - intent: greet - action: utter_greet - intent: signup + - action: utter_ask_email + - intent: inform_email - action: signup_form - active_loop: signup_form \ No newline at end of file diff --git a/domain.yml b/domain.yml index 2457dce..81ee1e6 100644 --- a/domain.yml +++ b/domain.yml @@ -4,8 +4,8 @@ session_config: carry_over_slots_to_new_session: true intents: - greet -- inform - signup +- inform_email slots: email: type: text