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..

Just a quick question regarding srai tag
 
 
<category>
    <
pattern>WHAT IS *</pattern>
    <
template><wiki><star /></wiki></template>
</
category>

<
category>
    <
pattern>I WANT TO LEARN ABOUT *</pattern>
    <
template><srai>WHAT IS </star></srai></template>
</
category

Is this the correct way of using the srai tag?

 

 
  [ # 1 ]

I see nothing to complain about there. smile

 

 
  [ # 2 ]

But I am getting the following error
XML Parsing Error: mismatched tag. Expected: </srai>

 

 
  [ # 3 ]

your “star” has the slash in the wrong place. It should be before the closing bracket instead of the opening one.

 

 
  [ # 4 ]
Merlin - Apr 14, 2014:

your “star” has the slash in the wrong place. It should be before the closing bracket instead of the opening one.

I’m sorry I didn’t get that. Can you show an example.

 

 
  [ # 5 ]
Ishwor Shrestha - Apr 14, 2014:
Merlin - Apr 14, 2014:

your “star” has the slash in the wrong place. It should be before the closing bracket instead of the opening one.

I’m sorry I didn’t get that. Can you show an example.

<category>
    <
pattern>I WANT TO LEARN ABOUT *</pattern>
    <
template><srai>WHAT IS </star></srai></template>
</
category
<template><srai>WHAT IS </star></srai></template> <---- look at the "star"
should be
<star/>
instead of:
</
star

having the “/” in the wrong place makes it look like the close of a command instead of an atomic command.

 

 
  [ # 6 ]

Oops? How could I have missed that??? big surprise

 

 
  [ # 7 ]
Merlin - Apr 14, 2014:
Ishwor Shrestha - Apr 14, 2014:
Merlin - Apr 14, 2014:

your “star” has the slash in the wrong place. It should be before the closing bracket instead of the opening one.

I’m sorry I didn’t get that. Can you show an example.

<category>
    <
pattern>I WANT TO LEARN ABOUT *</pattern>
    <
template><srai>WHAT IS </star></srai></template>
</
category
<template><srai>WHAT IS </star></srai></template> <---- look at the "star"
should be
<star/>
instead of:
</
star

having the “/” in the wrong place makes it look like the close of a command instead of an atomic command.


Ah now I see it. Thanks guys for the help

 

 
  login or register to react