-
Notifications
You must be signed in to change notification settings - Fork 0
/
data.yml
59 lines (52 loc) · 1.33 KB
/
data.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
# Question types
# - a question type requires at least one identifier
# - identifiers have to be in a list
# - they are used to identify that question type in the input
question_types:
what:
identifiers:
- what
when:
identifiers:
- when
who:
identifiers:
- who
why:
identifiers:
- why
how:
identifiers:
- how
# Categories
# - each category requires a list of identifiers and a list of responses
# - each list of responses is required to have a default response lift
# - you can add a list of responses for that many question types as you want
#
# Note: values like yes and no are automatically converted to their boolean values. Make sure to quote them, eg. "yes" and "no".
categories:
greetings:
identifiers:
- hi
- hello
responses:
default:
- Hi! :-)
- Nice to meet you!
- Hello! What is your name?
name:
identifiers:
- name
- call
- called
responses:
default:
- People call me William.
what:
- My name is William!
# Error responses
# - these are displayed when there is no other valid response
# - they are chosen randomly, you may add as many as you want to the list
error_responses:
- Sorry, I don't understand.
- I am sorry, but I didn't understand you.