2022-02-02 20:35:02 +01:00
|
|
|
version: '3.0'
|
2021-10-20 14:29:59 +02:00
|
|
|
session_config:
|
|
|
|
session_expiration_time: 60
|
|
|
|
carry_over_slots_to_new_session: true
|
|
|
|
intents:
|
|
|
|
- greet
|
|
|
|
- inform
|
|
|
|
- signup
|
|
|
|
slots:
|
|
|
|
email:
|
2022-02-02 21:11:34 +01:00
|
|
|
type: text
|
2021-10-20 14:29:59 +02:00
|
|
|
influence_conversation: false
|
2022-02-02 21:11:34 +01:00
|
|
|
mappings:
|
|
|
|
- type: from_text
|
2021-10-20 14:29:59 +02:00
|
|
|
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.
|
|
|
|
actions:
|
|
|
|
- '...'
|
|
|
|
- utter_greet
|
|
|
|
- utter_signedup
|
|
|
|
forms:
|
|
|
|
signup_form:
|
|
|
|
required_slots:
|
2022-02-02 21:11:34 +01:00
|
|
|
- email
|