domain.yml:
session_config:
session_expiration_time: 60
carry_over_slots_to_new_session: true
intents:
-
greet
-
goodbye
-
affirm
-
deny
-
mood_great
-
mood_unhappy
-
bot_challenge
-
insurance
slots:
address:
auto_fill: false
type: unfeaturized
email:
auto_fill: false
type: unfeaturized
name:
auto_fill: false
type: unfeaturized
dateofbirth:
auto_fill: false
type: unfeaturized
number:
auto_fill: false
type: unfeaturized
zip:
auto_fill: false
type: unfeaturized
responses:
utter_ask_address:
- text: "Enter your address?"
utter_ask_email:
- text: "Enter your Email?"
utter_ask_name:
- text: "Enter your name?"
utter_ask_dateofbirth:
- text: "Enter your date of birth"
utter_ask_number:
- text: "Enter your Number?"
utter_ask_zip:
- text: "Enter your zip code?"
utter_greet:
- text: Hi, thanks for reaching out to us at ABC Insurance Company. What type of insurance are you looking for today?
utter_cheer_up:
-
image: https://i.imgur.com/nGF1K8f.jpg
text: ‘Here is something to cheer you up:’
utter_did_that_help:
- text: Did that help you?
utter_happy:
- text: Great, carry on!
utter_goodbye:
- text: Bye
utter_iamabot:
- text: I am a bot, powered by Rasa.
utter_insurance:
- text: Help us get you free quotes from top insurers with the lowest premiums.
utter_wrong_name:
- text: The name you entered is not alphabetical. Please enter a valid name.
utter_wrong_email:
- text: The email you entered is invalid. Please enter a valid email.
utter_wrong_dob:
- text: The date of birth is invalid. Please enter a valid date of birth.
utter_wrong_zipcode:
- text: Wrong zip code. Please enter a valid zipcode
utter_wrong_contact:
- text: Wrong contact number. Please enter a valid number
actions:
-
utter_greet
-
utter_goodbye
-
utter_iamabot
-
utter_insurance
forms:
- insurance_form