Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created July 2, 2020 06:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save velotiotech/13115db4accae3a2dc54c7a0065fe78f to your computer and use it in GitHub Desktop.
Save velotiotech/13115db4accae3a2dc54c7a0065fe78f to your computer and use it in GitHub Desktop.
intents:
- greet
- goodbye
- affirm
- deny
- age
- gender
slots:
gender:
type: text
nicotine:
type: text
agegroup:
type: text
templates:
utter_greet:
- "hey there! welcome to Secure-Life!\nI can help you quickly estimate your rate of coverage.\nWould you like to do that ?"
utter_very_much_so:
- "Great! Let's get started.\nWe currently offer term plans of Rs. 1Cr. Does that suit your need?"
utter_gender:
- "What gender do you go by ?"
utter_coverage_duration:
- "We offer this term plan for a duration of 30Y. Do you think that's enough to cover entire timeframe of your financial obligations ?"
utter_nicotine:
- "Do you consume nicotine-containing products?"
utter_age:
- "And lastly, how old are you ?"
utter_thanks:
- "Thank you for providing all the info. Let me calculate the insurance premium based on your inputs."
utter_decline:
- "Sad to see you go. In case you change your plans, you know where to find me :-)"
utter_goodbye:
- "goodbye :("
actions:
- utter_greet
- utter_goodbye
- utter_very_much_so
- utter_coverage_duration
- utter_age
- utter_nicotine
- utter_gender
- utter_decline
- utter_thanks
- actions.ActionGender
- actions.ActionNicotine
- actions.ActionThanks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment