Hi,
I am new in aiml language. I m using Program AB. I want to store store id in a global variable named storied. For that I wrote below aiml, but in output I am getting unknown<Storeid given by user>.
Code:
<category>
<pattern>execute query * store id * </pattern>
<template>
<srai>query with ID</srai><set name="storeid"><star index="2"/></set>
</template>
</category>
<category>
<pattern>query with ID</pattern>
<template>
please confirm username of store <get name="storeid"/>
</template>
</category>
output: Human: execute query for store id 1234
BOT: please confirm username of store unknown1234
I am unable to understand instead of 1234 why I am getting unknown1234
Thanks in advance..