-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy paththat.aiml
44 lines (38 loc) · 1.14 KB
/
that.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
<?xml version="1.0" encoding="UTF-8"?>
<aiml>
<category>
<pattern>DO YOU LIKE JOKES</pattern>
<template>I like jokes!</template>
</category>
<!-- Category with THAT match -->
<!-- Will always follow the conversation entry above -->
<category>
<pattern>_</pattern>
<that>I LIKE JOKES</that>
<template>
<random>
<li>LOL.</li>
<li>Hahahahaha!</li>
<li>Haha, that was funny.</li>
<li>LOL, good one!,</li>
</random>
</template>
</category>
<!-- The THATSTAR tag -->
<category>
<pattern>ASK ME ABOUT *</pattern>
<template>What is your favorite <star/>?</template>
</category>
<category>
<pattern>MY FAVORITE * IS *</pattern>
<template>Good for you pal!</template>
</category>
<!-- This redirects to the category above, using THATSTAR -->
<category>
<pattern>*</pattern>
<that>WHAT IS YOUR FAVORITE *</that>
<template>
<srai>MY FAVORITE <thatstar/> IS <star/></srai>
</template>
</category>
</aiml>