当前应用程序使用的是AIML版本的1.0.1,我想将其更新为2.0。xml文件的代码如下-
<aiml version = "1.0.1" encoding = "UTF-8">
<aiml>
<category>
<name>URL</name>
<pattern>Example link*</pattern>
<template>Here is the Link !
<hyperlink href="https://example.com"target="_blank">Click Here</hyperlink>
<id>URL1</id>
</template>
</category>
</aiml>发布于 2018-10-29 00:52:19
你用的是哪种机器人?
AIML 2.0完全兼容1.0
发布于 2019-11-04 17:30:05
有关AIML (包括AIML2)的文档可在此处获得:https://pandorabots.com/docs/aiml-reference/
您的示例类别现在可以简化为以下内容,使用标记
<category>
<pattern>Example link</pattern>
<template>Here is the Link !
<link>
<text>Click here</text>
<url>https://example.com</url>
</link>
</template>
</category>https://stackoverflow.com/questions/52829286
复制相似问题