This repository has been archived on 2024-06-26. You can view files and clone it, but cannot push or open issues or pull requests.
InteractiveRegistration/domain.yml

72 lines
1.4 KiB
YAML
Raw Permalink Normal View History

2022-08-10 12:07:09 +02:00
version: '3.1'
2021-10-20 14:29:59 +02:00
session_config:
session_expiration_time: 60
carry_over_slots_to_new_session: true
2022-08-10 13:19:22 +02:00
entities:
- email
- last_name
- first_name
- full_name
2021-10-20 14:29:59 +02:00
intents:
- greet
2022-08-10 13:19:22 +02:00
- inform
2021-10-20 14:29:59 +02:00
- signup
2022-08-10 13:19:22 +02:00
- bye
- affirm
- deny
2022-09-09 03:54:40 +02:00
- bot_challange
2022-08-10 13:19:22 +02:00
- out_of_scope
2021-10-20 14:29:59 +02:00
slots:
email:
2022-08-10 13:19:22 +02:00
type: any
influence_conversation: false
2022-09-09 03:54:40 +02:00
mappings:
- type: custom
2022-08-10 13:19:22 +02:00
first_name:
type: text
influence_conversation: false
2022-09-09 03:54:40 +02:00
mappings:
- type: custom
2022-08-10 13:19:22 +02:00
last_name:
type: text
2021-10-20 14:29:59 +02:00
influence_conversation: false
2022-09-09 03:54:40 +02:00
mappings:
- type: custom
2021-10-20 14:29:59 +02:00
responses:
2022-08-10 13:19:22 +02:00
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!
2021-10-20 14:29:59 +02:00
utter_greet:
- text: |
2022-08-10 13:19:22 +02:00
Hello! How can I help you?
2021-10-20 14:29:59 +02:00
- text: |
2022-08-10 13:19:22 +02:00
Hi!
2021-10-20 14:29:59 +02:00
utter_ask_email:
- text: |
2022-08-10 13:19:22 +02:00
What is your email address?
2021-10-20 14:29:59 +02:00
utter_signedup:
- text: |
Check your inbox at {email} in order to finish signing up on Liberta Casa!
2022-08-10 13:19:22 +02:00
You're all set! Check your inbox at {email} to confirm your registration.
2021-10-20 14:29:59 +02:00
actions:
- '...'
- utter_greet
- utter_signedup
forms:
signup_form:
required_slots:
2022-09-09 03:54:40 +02:00
- email
# - type: from_slot
- first_name
# - type: from_slot
- last_name
# - type: from_slot