forked from luyishisi/The_python_code
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest_chat.aiml
More file actions
87 lines (79 loc) · 2.14 KB
/
test_chat.aiml
File metadata and controls
87 lines (79 loc) · 2.14 KB
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
<aiml version="1.0.1" encoding="UTF-8">
<!-- basic_chat.aiml -->
<category>
<pattern>HELLO</pattern>
<template>
Well, hello!
</template>
</category>
<category>
<pattern>YOU ARE *</pattern>
<template>
my name is <set name="rebot_name2"><star/></set>!
</template>
</category>
<category>
<pattern>你好</pattern>
<template>
你好啊!
</template>
</category>
<category>
<pattern>我叫你 *</pattern>
<template>
可以啊,我以后就叫<set name="rebot_name1"><star/></set>
</template>
</category>
<category>
<pattern>WHAT ARE YOU</pattern>
<template>
I'm a bot, silly!
</template>
</category>
<category>
<pattern>ONE TIME I *</pattern>
<template>
<random>
<li>Go on.</li>
<li>How old are you?</li>
<li>Be more specific.</li>
<li>I did not know that.</li>
<li>Are you telling the truth?</li>
<li>I don't know what that means.</li>
<li>Try to tell me that another way.</li>
<li>Are you talking about an animal, vegetable or mineral?</li>
<li>What is it?</li>
</random>
</template>
</category>
<category>
<pattern>WHATS YOUR NAME *</pattern>
<template>
my name is rebot
</template>
</category>
<category>
<pattern>MY DOG NAME IS *</pattern>
<template>
That is interesting that you have a dog named <set name="dog"><star/></set>
</template>
</category>
<category>
<pattern>WHAT IS MY DOG NAME</pattern>
<template>
Your dog's name is <get name="dog"/>.
</template>
</category>
<category>
<pattern>MY NAME IS *</pattern>
<template>
I got you name <set name="clientName"><star/></set>
</template>
</category>
<category>
<pattern>WHAT IS MY NAME</pattern>
<template>
Your name is <get name="clientName"/>.
</template>
</category>
</aiml>