-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtopic.aiml
43 lines (37 loc) · 1.16 KB
/
topic.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
<?xml version="1.0" encoding="UTF-8"?>
<aiml>
<!-- Here the topic is set -->
<category>
<pattern>LET US TALK ABOUT *</pattern>
<template>
<think><set name="topic"><star/></set></think>
Ok then, what do you want to know about <get name="topic" />?
</template>
</category>
<!-- Geography topic -->
<topic name="geography">
<category>
<pattern>*</pattern>
<template>
Well, I don't really know. You'd better try to use a map!
</template>
</category>
<category>
<pattern>MY FAVORITE COUNTRY IS *</pattern>
<template>
Good choice. <formal><star /></formal> is also my favorite one!
</template>
</category>
</topic>
<!-- Movie topic -->
<topic name="movies">
<category>
<pattern>*</pattern>
<template>Watching good movie refreshes our minds.</template>
</category>
<category>
<pattern>I LIKE WATCHING COMEDY</pattern>
<template>I like comedy movies too.</template>
</category>
</topic>
</aiml>