[alicebot-developer] Regarding AIML

Chhawsaria, Deepti alicebot-developer@list.alicebot.org
Fri, 5 Aug 2005 10:33:42 +0530


This is a multi-part message in MIME format.

------_=_NextPart_001_01C5997B.0D4E6156
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable


Hi,
=0D
I am using ProgramD 4=2E5, it is not allowing the use of <if> tag=2E
=0D
Its gives me error like:
=0D
[10:26:15] Error parsing
"file:/C:/ProgramD_new/aiml/standard/CG_personality=2Eaim
l": cvc-complex-type=2E2=2E4=2Ea: Invalid content was found starting with
element 'if'
=2E=2E One of '{"http://alicebot=2Eorg/2001/AIML-1=2E0=2E1":star,
"http://alicebot=2Eorg/2001
/AIML-1=2E0=2E1":that, "http://alicebot=2Eorg/2001/AIML-1=2E0=2E1":input,
"http://alicebot
=2E=2Eorg/2001/AIML-1=2E0=2E1":thatstar,
"http://alicebot=2Eorg/2001/AIML-1=2E0=2E1":topicstar,
 "http://alicebot=2Eorg/2001/AIML-1=2E0=2E1":get,
"http://alicebot=2Eorg/2001/AIML-1=2E0=2E1
":bot, "http://alicebot=2Eorg/2001/AIML-1=2E0=2E1":sr,
"http://alicebot=2Eorg/2001/AIML-
1=2E0=2E1":date, "http://alicebot=2Eorg/2001/AIML-1=2E0=2E1":id,
"http://alicebot=2Eorg/2001
/AIML-1=2E0=2E1":size, "http://alicebot=2Eorg/2001/AIML-1=2E0=2E1":version,
"http://aliceb
ot=2Eorg/2001/AIML-1=2E0=2E1":uppercase,
"http://alicebot=2Eorg/2001/AIML-1=2E0=2E1":lowerca
se, "http://alicebot=2Eorg/2001/AIML-1=2E0=2E1":formal,
"http://alicebot=2Eorg/2001/AIML
-1=2E0=2E1":sentence, "http://alicebot=2Eorg/2001/AIML-1=2E0=
=2E1":condition,
"http://alice
bot=2Eorg/2001/AIML-1=2E0=2E1":random,
"http://alicebot=2Eorg/2001/AIML-1=2E0=2E1":set, "htt
p://alicebot=2Eorg/2001/AIML-1=2E0=2E1":gossip,
"http://alicebot=2Eorg/2001/AIML-1=2E0=2E1":
srai, "http://alicebot=2Eorg/2001/AIML-1=2E0=2E1":person,
"http://alicebot=2Eorg/2001/AI
ML-1=2E0=2E1":person2, "http://alicebot=2Eorg/2001/AIML-1=2E0=2E1":gender,
"http://alicebo
t=2Eorg/2001/AIML-1=2E0=2E1":think,
"http://alicebot=2Eorg/2001/AIML-1=2E0=2E1":learn, "http
://alicebot=2Eorg/2001/AIML-1=2E0=2E1":system,
"http://alicebot=2Eorg/2001/AIML-1=2E0=2E1":j
avascript, WC[##other:"http://alicebot=2Eorg/2001/AIML-1=2E0=2E1"]}' is
expected=2E
=0D
=0D
My code is:
=0D
<category>
<pattern> *
</pattern>
<that>
JUST TELL ME THE LEAVE POLICY YOU ARE INTERESTED IN
</that>
<template>
<think> <set name =3D "leave_type"> <star/> </set> </think>
<if name=3D"leave_type" value=3D"SICK">
<srai> SICK LEAVE </srai>
</if>
</template>
</category>
=0D
=0D
Please help me!!!
Regards,_________________________________________________________

Deepti Chhawsaria | Capgemini | Mumbai
Associate Consultant | Project Saint Gobain | Oracle Service Line
Direct: +91 22 5642 6173 | Mob=2E +91 9820136918 |
mail: deepti=2Echhawsaria@capgemini=2Ecom
____________________________________________________________

=0D

=0D


This message contains information that may be privileged or confidential=
 and is the property of the Capgemini Group=2E It is intended only for the=
 person to whom it is addressed=2E If you are not the intended recipient, =
 you are not authorized to read, print, retain, copy, disseminate, =
 distribute, or use this message or any part thereof=2E If you receive this=
  message in error, please notify the sender immediately and delete all =
 copies of this message=2E

------_=_NextPart_001_01C5997B.0D4E6156
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4=2E0 Transitional//EN">
<HTML xmlns:o =3D "urn:schemas-microsoft-com:office:office"><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dus-ascii">
<META content=3D"MSHTML 6=2E00=2E2800=2E1505" name=3DGENERATOR></HEAD>
<BODY>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D504465604-05082005><FONT face=
=3DArial=0D
size=3D2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=3D504465604-05082005><FONT face=3DArial=0D
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D504465604-05082005><FONT face=3DArial size=3D2>I am=
 using ProgramD=0D
4=2E5, it is not allowing the use of &lt;if&gt; tag=2E</FONT></SPAN></DIV>
<DIV><SPAN class=3D504465604-05082005><FONT face=3DArial=0D
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D504465604-05082005><FONT face=3DArial size=3D2>Its gives=
 me error=0D
like:</FONT></SPAN></DIV>
<DIV><SPAN class=3D504465604-05082005><FONT face=3DArial=0D
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D504465604-05082005><FONT face=3DArial size=
=3D2>[10:26:15] Error=0D
parsing "file:/C:/ProgramD_new/aiml/standard/CG_personality=2Eaim<BR>l":=0D
cvc-complex-type=2E2=2E4=2Ea: Invalid content was found starting with=
 element=0D
'if'<BR>=2E One of '{"<A=0D
href=3D'http://alicebot=2Eorg/2001/AIML-1=2E0=2E1":star'>http://alicebot=
=2Eorg/2001/AIML-1=2E0=2E1":star</A>,=0D
"<A=0D
href=3D"http://alicebot=2Eorg/2001">http://alicebot=
=2Eorg/2001</A><BR>/AIML-1=2E=2E0=2E1":that,=0D
"<A=0D
href=3D'http://alicebot=2Eorg/2001/AIML-1=2E0=2E1":input'>http://alicebot=
=2Eorg/2001/AIML-1=2E0=2E1":input</A>,=0D
"<A=0D
href=3D"http://alicebot">http://alicebot</A><BR>=2Eorg/2001/AIML-1=2E0=
=2E1":thatstar,=0D
"<A=0D
href=3D'http://alicebot=2Eorg/2001/AIML-1=2E0=
=2E1":topicstar'>http://alicebot=2Eorg/2001/AIML-1=2E0=
=2E1":topicstar</A>,<BR>&nbsp;"<A=0D
href=3D'http://alicebot=2Eorg/2001/AIML-1=2E0=2E1":get'>http://alicebot=
=2Eorg/2001/AIML-1=2E0=2E1":get</A>,=0D
"<A=0D
href=3D"http://alicebot=2Eorg/2001/AIML-1=2E0=2E1">http://alicebot=
=2Eorg/2001/AIML-1=2E0=2E1</A><BR>":bot,=0D
"<A=0D
href=3D'http://alicebot=2Eorg/2001/AIML-1=2E0=2E1":sr'>http://alicebot=
=2Eorg/2001/AIML-1=2E0=2E1":sr</A>,=0D
"<A=0D
href=3D"http://alicebot=2Eorg/2001/AIML">http://alicebot=
=2Eorg/2001/AIML</A>-<BR>1=2E0=2E1":date,=0D
"<A=0D
href=3D'http://alicebot=2Eorg/2001/AIML-1=2E0=2E1":id'>http://alicebot=
=2Eorg/2001/AIML-1=2E0=2E1":id</A>,=0D
"<A=0D
href=3D"http://alicebot=2Eorg/2001">http://alicebot=
=2Eorg/2001</A><BR>/AIML-1=2E=2E0=2E1":size,=0D
"<A=0D
href=3D'http://alicebot=2Eorg/2001/AIML-1=2E0=2E1":version'>http://alicebot=
=2Eorg/2001/AIML-1=2E0=2E1":version</A>,=0D
"<A href=3D"http://aliceb">http://aliceb</A><BR>ot=2Eorg/2001/AIML-1=2E0=
=2E1":uppercase,=0D
"<A=0D
href=3D'http://alicebot=2Eorg/2001/AIML-1=2E0=2E1":lowerca'>http://alicebot=
=2Eorg/2001/AIML-1=2E0=2E1":lowerca</A><BR>se,=0D
"<A=0D
href=3D'http://alicebot=2Eorg/2001/AIML-1=2E0=2E1":formal'>http://alicebot=
=2Eorg/2001/AIML-1=2E0=2E1":formal</A>,=0D
"<A=0D
href=3D"http://alicebot=2Eorg/2001/AIML">http://alicebot=
=2Eorg/2001/AIML</A><BR>-1=2E0=2E1":sentence,=0D
"<A=0D
href=3D'http://alicebot=2Eorg/2001/AIML-1=2E0=
=2E1":condition'>http://alicebot=2Eorg/2001/AIML-1=2E0=2E1":condition</A>,=
=0D
"<A href=3D"http://alice">http://alice</A><BR>bot=2Eorg/2001/AIML-1=2E0=
=2E1":random, "<A=0D
href=3D'http://alicebot=2Eorg/2001/AIML-1=2E0=2E1":set'>http://alicebot=
=2Eorg/2001/AIML-1=2E0=2E1":set</A>,=0D
"htt<BR>p://alicebot=2Eorg/2001/AIML-1=2E0=2E1":gossip, "<A=0D
href=3D"http://alicebot=2Eorg/2001/AIML-1=2E0=2E1">http://alicebot=
=2Eorg/2001/AIML-1=2E0=2E1</A>":<BR>srai,=0D
"<A=0D
href=3D'http://alicebot=2Eorg/2001/AIML-1=2E0=2E1":person'>http://alicebot=
=2Eorg/2001/AIML-1=2E0=2E1":person</A>,=0D
"<A=0D
href=3D"http://alicebot=2Eorg/2001/AI">http://alicebot=
=2Eorg/2001/AI</A><BR>ML-1=2E0=2E1":person2,=0D
"<A=0D
href=3D'http://alicebot=2Eorg/2001/AIML-1=2E0=2E1":gender'>http://alicebot=
=2Eorg/2001/AIML-1=2E0=2E1":gender</A>,=0D
"<A href=3D"http://alicebo">http://alicebo</A><BR>t=2Eorg/2001/AIML-1=2E0=
=2E1":think,=0D
"<A=0D
href=3D'http://alicebot=2Eorg/2001/AIML-1=2E0=2E1":learn'>http://alicebot=
=2Eorg/2001/AIML-1=2E0=2E1":learn</A>,=0D
"http<BR>://alicebot=2Eorg/2001/AIML-1=2E0=2E1":system, "<A=0D
href=3D'http://alicebot=2Eorg/2001/AIML-1=2E0=2E1":j'>http://alicebot=
=2Eorg/2001/AIML-1=2E0=2E1":j</A><BR>avascript,=0D
WC[##other:"<A=0D
href=3D"http://alicebot=2Eorg/2001/AIML-1=2E0=2E1&quot;]}'">http://alicebot=
=2Eorg/2001/AIML-1=2E0=2E1"]}'</A>=0D
is expected=2E</FONT></SPAN></DIV>
<DIV><SPAN class=3D504465604-05082005><FONT face=3DArial=0D
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D504465604-05082005><FONT face=3DArial=0D
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D504465604-05082005><FONT face=3DArial size=3D2>My code=0D
is:</FONT></SPAN></DIV>
<DIV><SPAN class=3D504465604-05082005><FONT face=3DArial=0D
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D504465604-05082005><FONT face=3DArial=0D
size=3D2>&lt;category&gt;<BR>&lt;pattern&gt;=0D
*<BR>&lt;/pattern&gt;<BR>&lt;that&gt;<BR>JUST TELL ME THE LEAVE POLICY YOU=
 ARE=0D
INTERESTED IN<BR>&lt;/that&gt;<BR>&lt;template&gt;<BR>&lt;think&gt; &lt;set=
 name=0D
=3D "leave_type"&gt; &lt;star/&gt; &lt;/set&gt; &lt;/think&gt;<BR>&lt;if=0D
name=3D"leave_type" value=3D"SICK"&gt;<BR>&lt;srai&gt; SICK LEAVE=0D
&lt;/srai&gt;<BR>&lt;/if&gt;<BR>&lt;/template&gt;<BR>&lt;/category&gt;</FON=
T></SPAN></DIV>
<DIV><SPAN class=3D504465604-05082005><FONT face=3DArial=0D
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><SPAN class=3D504465604-05082005><FONT face=3DArial size=3D2>Please=
 help=0D
me!!!</FONT></SPAN></DIV><!-- Converted from text/rtf format --><SPAN=0D
lang=3Den-us><FONT face=3DArial color=3D#000080 size=3D2>
<P class=3DMsoNormal align=3Dleft><A name=3D_MailAutoSig><FONT face=
=3D"Times New Roman"=0D
size=3D3><SPAN style=3D"FONT-SIZE: 12pt; mso-no-proof: yes"><SPAN=0D
class=3D504465604-05082005><FONT face=3DArial color=3D#000000=0D
size=
=3D2>Regards,</FONT></SPAN>________________________________________________=
_________<o:p></o:p></SPAN></FONT></A></P>
<P class=3DMsoNormal><SPAN style=3D"mso-bookmark: _MailAutoSig"><FONT=0D
face=3D"Times New Roman" size=3D3><SPAN=0D
style=3D"FONT-SIZE: 12pt; mso-no-proof: yes">Deepti Chhawsaria | Capgemini=
 |=0D
Mumbai<BR>Associate Consultant | Project Saint Gobain | Oracle Service=0D
Line<BR>Direct: +91 22&nbsp;5642 6173 | Mob=2E +91 9820136918 |<BR>mail:=0D
deepti=2Echhawsaria@capgemini=
=2Ecom<BR>____________________________________________________________</SPA=
N></FONT></SPAN><o:p></o:p></P>
<P class=3DMsoNormal><FONT face=3D"Times New Roman" size=3D3><SPAN=0D
style=3D"FONT-SIZE: 12pt"><o:p>&nbsp;</o:p></SPAN></FONT></P></FONT></SPAN>
<DIV>&nbsp;</DIV></BODY></HTML>

<table><tr><td bgcolor=3D#ffffff><font color=3D#000000>This message=
 contains information that may be privileged or confidential and is the=
 property of the Capgemini Group=2E It is intended only for the person to=
 whom it is addressed=2E If you are not the intended recipient,  you are=
 not authorized to read, print, retain, copy, disseminate,  distribute, or=
 use this message or any part thereof=2E If you receive this  message in=
 error, please notify the sender immediately and delete all  copies of this=
 message=2E<br>
<br>
</font></td></tr></table>
------_=_NextPart_001_01C5997B.0D4E6156--