From 6f279a2267e2bd581804e1dd8131e2ee866035a8 Mon Sep 17 00:00:00 2001 From: Pratyush Desai Date: Wed, 10 Aug 2022 16:51:33 +0530 Subject: [PATCH] update responses and forms from pytoxic --- forms.yml | 6 +++++- responses.yml | 37 ++++++++++++++++++++++++------------- 2 files changed, 29 insertions(+), 14 deletions(-) diff --git a/forms.yml b/forms.yml index 619e020..80a9772 100644 --- a/forms.yml +++ b/forms.yml @@ -2,4 +2,8 @@ forms: signup_form: required_slots: email: - - type: from_text \ No newline at end of file + - type: from_slot + first_name: + - type: from_slot + last_name: + - type: from_slot \ No newline at end of file diff --git a/responses.yml b/responses.yml index eab3f78..954d973 100644 --- a/responses.yml +++ b/responses.yml @@ -1,14 +1,25 @@ responses: - utter_greet: - - text: | - Hello! How can I help you? - - text: | - Hi! - utter_ask_email: - - text: | - What is your email address? - utter_signedup: - - text: | - Check your inbox at {email} in order to finish signing up on Liberta Casa! - - text: | - You're all set! Check your inbox at {email} to confirm your registration. \ No newline at end of file + utter_bye: + - text: | + Goodbye! + utter_out_of_scope/other: + - text: | + I dont understand sorry! + utter_out_of_scope/non_english: + - text: | + I only speak English :( + utter_bot_challenge: + - text: | + I am a bot! + utter_greet: + - text: | + Hello! How can I help you? + - text: | + Hi! + utter_ask_email: + - text: | + What is your email address? + utter_signedup: + - text: | + Check your inbox at {email} in order to finish signing up on Liberta Casa! + You're all set! Check your inbox at {email} to confirm your registration. \ No newline at end of file