程序 ab 上的 AIML:聊天机器人流程不适用于主题标签

AIML on program-ab : chatbot flow doesn't work with topic tags

感谢任何能帮助我解决这个问题的人。我在 program-ab 上尝试了 运行 下面的 AIML,但它不起作用。具体来说,它会跳过 'step003'。任何人都可以启发我什么是错的?

没有错误,但输入一直跳到下一步,结果输出与键入的输入不同。如果有人知道哪里出了问题,那就太好了。谢谢

<?xml version="1.0" encoding="UTF-8"?>
<aiml version="2.0">
<category>
    <pattern># Product engine #</pattern>
    <template>
<think><set name="topic">step001</set></think> 
What is your age bracket?
A: less than 17
B: 18-30
C: 31-60
D: more than 61
</template>
</category>

<topic name = "step001"> 
<category>
    <pattern>#</pattern>
    <template>
What is your income bracket per year?
A: less than 12000
B: 12001-30000
C: 30001-60000
D: more than 60000

    <think><set name="agebracket"><star/></set><set name="topic">step002</set></think> 
    </template>
</category>
</topic>

<topic name = "step002">
<category>
    <pattern>#</pattern>
    <that> # less than 12000 # </that>
    
    <template>
What is your total current loan ?
A: less than 100000
B: 100001-300000
C: 300001-600000
D: more than 600000

    <think><set name="incbracket"><star/></set><set name="topic">step003</set></think> 
    </template>
</category>
</topic>

<topic name = "step003">
<category>
    <pattern>#</pattern>
    <template>
agebracket=<get name="agebracket"/>
incomebracket=<get name="incbracket"/>
gender=M
curloanbracket=<set name="loanbracket"><star/></set>

</template>
</category>
</topic>
</aiml>

代码有效。这是我之前开始时的菜鸟错误。我忘记删除包含旧流程的缓存文件。任何有兴趣做一些流程的人都可以使用这种方法。谢谢。