From a7fb4bca98659227ef15f7407e980663d2c83805 Mon Sep 17 00:00:00 2001 From: Pratyush Desai Date: Thu, 3 Feb 2022 02:10:39 +0530 Subject: [PATCH] fix stories and rules --- data/rules.yml | 2 +- data/stories.yml | 2 ++ domain.yml | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) 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