im want my bot to learn,i wite aiml like this
<category>
learn</pattern>
<template>your question?
<think><set name=“topic”>learnscope</set></think>
</template>
</category>
<topic name=“learnscope”>
<category>
*</pattern>
<that>your question?</that>
<template>ok,the answer?</template>
</category>
<category>
*</pattern>
<that>ok,the answer?</that>
<template>
haha,i get it
<system>study “<input index=“2”/> <input index=“1”/></system>
<think><set name=“topic”>*</set></think>
</template>
</category>
</topic>
<category>
my question abc</pattern>
<template> xxxx xxxx </template>
</category>
——————————————————————————————-
i think it will be like this:
use:learn
bot:your question?
use:my question abc
bot:ok,the answer?
use:my anster abc
bot:haha,i get it
if i input “my question abc”,it never match in topic, i know the match process: input->that->topic
so,how can i do? is there a limit i can get my own scope?
thanks alot .....