-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdomain.yml
118 lines (98 loc) · 2.53 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
version: "2.0"
intents:
- greet
- goodbye
- affirm
- deny
- mood_great
- mood_unhappy
- thank
- bot_challenge
- concession_application
- timetable
- timetable_day
# - action_concession (status check)
# - action_timetable_prof
# - action_timetable_lect
# - action_timetable_time (weekday lec)
# - action_result (exam_result)
responses:
utter_greet:
- text: "Hey! How are you?"
utter_cheer_up:
- text: "Here is something to cheer you up:"
image: "https://i.imgur.com/nGF1K8f.jpg"
utter_welcome:
- text: "My pleasure!"
image: "https://i.imgur.com/BiMNTfo.png"
utter_did_that_help:
- text: "Did that help you?"
utter_happy:
- text: "Great, carry on!"
utter_goodbye:
- text: "Bye bye! Have a Great day!"
utter_iamabot:
- text: "I'm a Virtual Assistant (Chatbot) made to help you through your student life. :). I'm powered by Rasa."
utter_ask_coach_class:
- text: "Please enter the coach class by which you wish to travel. 1st or 2nd?"
utter_ask_from_station:
- text: "Please enter the station from which you would board the train."
utter_ask_to_station:
- text: "Please enter the destination station. Wadala or Dadar?"
utter_ask_duration:
- text: "Please enter the duration of your pass. 1 month or 3 months?"
utter_concession_form_submitted:
- text: "Thank you, your concession application from {from_station} to {to_station} for {duration} with class {coach_class} has been sumbitted! (I'm messing around. My maker's too lazy to implement this.)"
utter_timetable:
- custom:
intent: "timetable"
utter_timetable_day:
- custom:
intent: "timetable_day"
day: "{tt_day}"
utter_please_rephrase:
- text: "I'm sorry, I didn't quite understand that. Could you rephrase?"
entities:
- coach_class
- from_station
- to_station
- duration
- tt_day
forms:
concession_form:
coach_class:
- type: from_entity
entity: coach_class
from_station:
- type: from_entity
entity: from_station
to_station:
- type: from_entity
entity: to_station
duration:
- type: from_entity
entity: duration
slots:
coach_class:
type: categorical
values:
- first
- second
from_station:
type: text
to_station:
type: text
duration:
type: categorical
values:
- month
- quarter
tt_day:
type: categorical
initial_value: today
values:
- today
- tomorrow
session_config:
session_expiration_time: 60
carry_over_slots_to_new_session: false