-
Notifications
You must be signed in to change notification settings - Fork 11
/
domain.yml
163 lines (161 loc) · 3.91 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
version: '3.1'
intents:
- affirm
- bot_challenge
- deny
- envirocar_info
- goodbye
- greet
- main_ui_recording
- mood_great
- mood_unhappy
- select_car
- detailed_car_selection
entities:
- recording_start_action
- recording_stop_action
- car_selection_number
actions:
- action_start_recording
- action_stop_recording
- action_ask_car_number
- action_detailed_car_selection
- validate_car_selection_form
- action_ask_car_verification
- action_car_selection
- action_followup
- action_cancel_commands
forms:
car_selection_form:
required_slots:
- car_number
- car_verification
- car_name
- select_car_iteration
- next_car
- previous_car
slots:
is_dashboard_fragment:
type: bool
influence_conversation: true
mappings:
- type: custom
recording_mode:
type: text
influence_conversation: true
mappings:
- type: custom
location_permission:
type: bool
influence_conversation: true
mappings:
- type: custom
gps:
type: bool
influence_conversation: true
mappings:
- type: custom
car:
type: bool
influence_conversation: true
mappings:
- type: custom
bluetooth_permission:
type: bool
influence_conversation: true
mappings:
- type: custom
bluetooth:
type: bool
influence_conversation: true
mappings:
- type: custom
obd_adapter:
type: bool
influence_conversation: true
mappings:
- type: custom
recording_start_query:
type: bool
influence_conversation: true
mappings:
- type: custom
car_number:
type: text
influence_conversation: true
mappings:
- type: from_entity
entity: car_selection_number
conditions:
- active_loop: car_selection_form
requested_slot: car_number
car_name:
type: text
mappings:
- type: custom
conditions:
- active_loop: car_selection_form
requested_slot: car_name
select_car_iteration:
type: float
initial_value: 0.0
min_value: 0.0
max_value: 100.0
mappings:
- type: custom
conditions:
- active_loop: car_selection_form
requested_slot: select_car_iteration
next_car:
type: bool
mappings:
- type: custom
conditions:
- active_loop: car_selection_form
requested_slot: next_car
previous_car:
type: bool
mappings:
- type: custom
conditions:
- active_loop: car_selection_form
requested_slot: previous_car
car_verification:
type: text
influence_conversation: true
mappings:
- type: from_intent
value: yes
intent: affirm
- type: from_intent
value: no
intent: deny
conditions:
- active_loop: car_selection_form
requested_slot: car_verification
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_happy:
- text: Great, carry on!
utter_goodbye:
- text: Bye
utter_iamabot:
- text: I am a bot, powered by Rasa.
utter_did_that_help:
- text: did that help?
utter_unspecified_recording_action:
- text: please specify recording action, e.g. to start say "start recording" or to stop track say "stop recording".
utter_envirocar_info:
- text: enviroCar Mobile is an Android application for collecting Extended Floating Car Data on smartphones. You can upload tracks to the enviroCar server, where the data is available for further analysis and use under the ODbL license. The data is also available on the enviroCar website for viewing and analysis.
# utter_custom_response:
# - custom:
# query: '{query}'
# reply: '{reply}'
# data: '{data}'
session_config:
session_expiration_time: 60
carry_over_slots_to_new_session: true