-
Notifications
You must be signed in to change notification settings - Fork 11
/
domain.yml
executable file
·74 lines (69 loc) · 1.6 KB
/
domain.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
version: "3.0"
actions:
- action_send_buttons
- action_send_carousel
- action_send_image
- action_send_text
- utter_cheer_up
- utter_did_that_help
- utter_goodbye
- utter_greet
- utter_happy
- utter_iamabot
intents:
- send_sample_text:
triggers: action_send_text
- send_sample_carousel:
triggers: action_send_carousel
- send_sample_buttons:
triggers: action_send_buttons
- send_sample_image:
triggers: action_send_image
- greet
- goodbye
- affirm
- deny
- mood_great
- mood_unhappy
- bot_challenge
- send_text
- send_image
- send_carousel
- send_buttons
responses:
utter_cheer_up:
- image: https://i.imgur.com/nGF1K8f.jpg
text: 'Here is something to cheer that will cheer you up...'
buttons:
- title: "👋"
payload: "hi"
utter_did_that_help:
- text: Did that help you?
buttons:
- title: "👋"
payload: "hi"
utter_goodbye:
- text: Bye
utter_greet:
- text: Hey! How are you? Here are some sample supported commands
buttons:
- title: "👋"
payload: "hi"
- title: "Sample Text Action"
payload: "Sample Text"
- title: "Sample Image Action"
payload: "Sample Image"
- title: "Sample Carousel Action"
payload: "Sample Carousel"
- title: "Sample Button Action"
payload: "Sample Button"
utter_happy:
- text: Great, Don't worry be happy is my moto as well!
buttons:
- title: "👋"
payload: "hi"
utter_iamabot:
- text: I am a bot, powered by Rasa.
session_config:
session_expiration_time: 60
carry_over_slots_to_new_session: true