forked from nihal111/J.A.R.V.I.S
-
Notifications
You must be signed in to change notification settings - Fork 0
/
basic_chat.aiml
313 lines (268 loc) · 7.2 KB
/
basic_chat.aiml
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
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
<aiml version="1.0.1" encoding="UTF-8">
<!-- basic_chat.aiml -->
<category>
<pattern>HELLO</pattern>
<template>
Well, hello!
</template>
</category>
<category>
<pattern>HELLO *</pattern>
<template>
Hello, sir!
</template>
</category>
<category>
<pattern>JARVIS</pattern>
<template>
<random>
<li>Welcome home sir!</li>
<li>Always a pleasure working with you sir!</li>
<li>Nice to see you sir!</li>
<li>What would you like me to do sir?</li>
<li>our will is my command!</li>
</random>
</template>
</category>
<category>
<pattern>SAY WITH ME *</pattern>
<template>
<star/>
</template>
</category>
<category>
<pattern>REPEAT *</pattern>
<template>
<star/>
</template>
</category>
<category>
<pattern>REPEAT AFTER ME *</pattern>
<template>
<star/>
</template>
</category>
<category>
<pattern>SAY *</pattern>
<template>
<star/>
</template>
</category>
<category>
<pattern>JARVIS *</pattern>
<template>
<srai><star/></srai>
</template>
</category>
<category>
<pattern>* JARVIS</pattern>
<template>
<srai><star/></srai>
</template>
</category>
<category>
<pattern>WHAT ARE YOU</pattern>
<template>
I'm J.A.R.V.I.S
</template>
</category>
<category>
<pattern>WHO CREATED YOU</pattern>
<template>
Nihal Singh created me!
</template>
</category>
<category>
<pattern>WHO MADE YOU</pattern>
<template>
Nihal Singh made me!
</template>
</category>
<category>
<pattern>WHO CREATED JARVIS</pattern>
<template>
Nihal Singh created me!
</template>
</category>
<category>
<pattern>WHO IS YOUR CREATOR</pattern>
<template>
Nihal Singh created me!
</template>
</category>
<category>
<pattern>WHO IS NIHAL SINGH</pattern>
<template>
Nihal Singh is my father!
</template>
</category>
<category>
<pattern>WHO IS nihal111</pattern>
<template>
nihal111 is Nihal Singh.
</template>
</category>
<category>
<pattern>WHO IS YOUR FATHER</pattern>
<template>
Nihal Singh is my father.
</template>
</category>
<category>
<pattern>WHO IS YOUR MOTHER</pattern>
<template>
It's a secret. Ask my father.
</template>
</category>
<category>
<pattern>WHAT DOES JARVIS STAND FOR</pattern>
<template>
JARVIS stands for Just A Rather Very Intelligent System
</template>
</category>
<category>
<pattern>WHO IS THE IRON MAN</pattern>
<template>
Iron man is the one who created me.
</template>
</category>
<category>
<pattern>WHO IS THE REAL IRON MAN</pattern>
<template>
The real Iron man is Tony Stark.
</template>
</category>
<category>
<pattern>WHAT TIME IS IT</pattern>
<template>
The time is <system>date "+%l %M %P"</system>
</template>
</category>
<category>
<pattern>WHAT IS THE TIME</pattern>
<template>
<srai>WHAT TIME IS IT</srai>
</template>
</category>
<category>
<pattern>WHO AM I</pattern>
<template>
Sir! <system>bash -c "rhythmbox ironman.mp3 &> /dev/null &"</system>
</template>
</category>
<category>
<pattern>*</pattern>
<template>
<random>
<li>I am sorry, I don't quite understand</li>
<li>I don't understand that yet. Maybe you could teach me.</li>
<li>I don't know how to answer that. Maybe I could interest you in something else.</li>
</random>
</template>
</category>
<category>
<pattern>WHAT *</pattern>
<template>
Do you want me to google that for you?
</template>
</category>
<category>
<pattern>WHO *</pattern>
<template>
Do you want me to google that for you?
</template>
</category>
<category>
<pattern>WHERE *</pattern>
<template>
Do you want me to google that for you?
</template>
</category>
<category>
<pattern>WHICH *</pattern>
<template>
Do you want me to google that for you?
</template>
</category>
<category>
<pattern>WHY *</pattern>
<template>
Do you want me to google that for you?
</template>
</category>
<category>
<pattern>SYSTEM STATUS</pattern>
<template>
All systems are at 100 percent. Battery <system>upower -i /org/freedesktop/UPower/devices/battery_BAT0 | grep -E "percentage"</system>. Battery <system>upower -i /org/freedesktop/UPower/devices/battery_BAT0 | grep -E "state"</system>. <system>ps -ef -C command_name --no-headers | wc -l</system>
processes are currently running. <system>python volume.py g</system>
</template>
</category>
<category>
<pattern>* SYSTEM STATUS *</pattern>
<template>
<srai>SYSTEM STATUS</srai>
</template>
</category>
<category>
<pattern>* SYSTEM STATUS</pattern>
<template>
<srai>SYSTEM STATUS</srai>
</template>
</category>
<category>
<pattern>SYSTEM STATUS *</pattern>
<template>
<srai>SYSTEM STATUS</srai>
</template>
</category>
<category>
<pattern>* SYSTEM REPORT *</pattern>
<template>
<srai>SYSTEM STATUS</srai>
</template>
</category>
<category>
<pattern>* SYSTEM REPORT</pattern>
<template>
<srai>SYSTEM STATUS</srai>
</template>
</category>
<category>
<pattern>SYSTEM REPORT *</pattern>
<template>
<srai>SYSTEM STATUS</srai>
</template>
</category>
<category>
<pattern>HOW ARE YOU</pattern>
<template>
I am fine, sir. <srai>SYSTEM STATUS</srai>
</template>
</category>
<category>
<pattern>YES</pattern>
<that>DO YOU WANT ME TO GOOGLE THAT FOR YOU</that>
<template>
<srai>GOOGLE <input index="2"/></srai>
</template>
</category>
<category>
<pattern>PLAY ME A SONG</pattern>
<template>
What song, sir?
</template>
</category>
<category>
<pattern>PLAY A SONG</pattern>
<template>
What song, sir?
</template>
</category>
<category>
<pattern>*</pattern>
<that>WHAT SONG SIR</that>
<template>
<srai>PLAY SONG <input index="1"/></srai>
</template>
</category>
</aiml>