**This website will be shutdown permanently soon**

This website and apps are for sale. Only serious offers will be considered. Contact [email protected]

** Server is current under maintenance, any changes will be lost **

Bot Libre Forum : prevent a chatbot from asking a question it knows

RE: prevent a chatbot from asking a question it knows

通过 admin 发布 Jul 4 2018, 10:24

The pattern for that script that overrides the "is * a color" pattern is,

<category>
<pattern>is <set>color</set> a color</pattern>
<template>Yes, <star/> is a color.
</template>
</category>

The <map> ability to set a value in memory is a Bot Libre AIML extension. It lets you do some basic knowledge operations with AIML, but AIML is pretty limited for knowledge processing. It is much better to process knowledge using Self, either using the <self> AIML tag, or using a response list or script instead of AIML.


Id: 22691566
发布: Jul 4 2018, 10:24
答复: 0
的风景: 1955, 今天: 10, 周: 16, 一个月: 27
0 0 0.0/5