AI Zone Admin Forum Add your forum

NEWS: Chatbots.org survey on 3000 US and UK consumers shows it is time for chatbot integration in customer service!read more..

passing <that> from one category to the next, without repeating it?
 
 

I wish to create a category that handles spelling and grammar mistake and then ask the user to correct it and respond again. When the user does that then the original expected category should get invoked, but it does not because the <that> has got changed.

I work around I am doing is to show the last that at the end but that looks not so cool after some time…

<category>
    <
pattern>*</pattern>
    <
template>
            
Please help me understand you better
            
Please restate what you wanted to say using some other words
            
Please be direct and make sure that you are using the right spellings
            
Let me repeat my last sentence for you.  <that index="1"/>
    </
template>
</
category

In the code above I wish to skip the last two lines but yet achieve retaining the earlier that, please advise.

 

 
  login or register to react