我正在为Program-O聊天机器人创建AIML文件,但遇到了问题。
我想做的是按顺序一个接一个地问问题。此外,问题应该以随机顺序出现。这是对学生进行满意度评估测试,我正在尝试使用聊天机器人代替传统方法进行开发。
问题在于星号通配符与该谓词不兼容,有没有其他方法构建符合我的要求的AIML?
我想做的是按顺序一个接一个地问问题。此外,问题应该以随机顺序出现。这是对学生进行满意度评估测试,我正在尝试使用聊天机器人代替传统方法进行开发。
这是我考虑中的AIML格式。
sample.aiml
<category>
<pattern>HELLO<bot/></pattern>
<template>
<random>
<li><warm/>Hello there. Do you want to talk about your campus life?</li>
<li><happy/>Hi. Do you want to talk about your campus life?</li>
<li><happy/>Goodday. Do you want to talk about your campus life?</li>
</random>
</template>
</category>
<category>
<pattern>*</pattern>
<that>HELLO THERE. DO YOU WANT TO TALK ABOUT CAMPUS LIFE</that>
<template>
<random>
<li>How were the classes?</li>
<li>Does the teacher give a clear answer?</li>
<li>Was the teacher come on time?</li>
</random>
</template>
</category>
<category>
<pattern>*</pattern>
<that>HOW WERE THE CLASSES</that>
<template>
<random>
<li>Does the teacher give the full and clear explanation?</li>
<li>What about the material used in the classes?</li>
<li>What do you think about the courses content?</li>
</random>
</template>
</category>
问题在于星号通配符与该谓词不兼容,有没有其他方法构建符合我的要求的AIML?