update domain.yml from pytoxic

This commit is contained in:
Pratyush Desai 2022-08-10 16:49:22 +05:30
parent 95bf237c6b
commit 5047788f5f
Signed by: pratyush
GPG Key ID: DBA5BB7505946FAD

View File

@ -2,29 +2,54 @@ version: '3.1'
session_config: session_config:
session_expiration_time: 60 session_expiration_time: 60
carry_over_slots_to_new_session: true carry_over_slots_to_new_session: true
entities:
- email
- last_name
- first_name
- full_name
intents: intents:
- greet - greet
- inform
- signup - signup
- inform_email - bye
- affirm
- deny
- out_of_scope
slots: slots:
email: email:
type: any
influence_conversation: false
first_name:
type: text
influence_conversation: false
last_name:
type: text type: text
influence_conversation: false influence_conversation: false
mappings:
- type: from_text
responses: responses:
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: utter_greet:
- text: | - text: |
Hello! How can I help you? Hello! How can I help you?
- text: | - text: |
Hi! Hi!
utter_ask_email: utter_ask_email:
- text: | - text: |
What is your email address? What is your email address?
utter_signedup: utter_signedup:
- text: | - text: |
Check your inbox at {email} in order to finish signing up on Liberta Casa! 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. You're all set! Check your inbox at {email} to confirm your registration.
actions: actions:
- '...' - '...'
- utter_greet - utter_greet
@ -32,4 +57,9 @@ actions:
forms: forms:
signup_form: signup_form:
required_slots: required_slots:
- email email:
- type: from_slot
first_name:
- type: from_slot
last_name:
- type: from_slot