|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Noobie questionsSorry but this is giving me a headache, Ive been playing with it for a day
now and I'm getting some good output, but I have a couple of code questions. I had a quick rake through the archives but nothing came up so I hope you dont mind me asking basic stuff here. I am starting with an empty list. 1) If there is no answer in the aiml I want the bot to say nothing and give no response but I keep getting blank lines coming up when random things are entered that I have no pattern for yet. I tried <category> <pattern>*</pattern> <template/> </category> with no joy. Can this be done? 2) How do I stop it writing the full stop at the end of every line? 3a) <category> <pattern>HOW ARE YOU</pattern> <template> <random> <li>great</li> <li>fine</li> <li>could be worse</li> <li>good thanks</li> </random> </template> </category> <category> <pattern>* HOW ARE YOU</pattern> <template> <srai>HOW ARE YOU</srai> </template> </category> <category> <pattern>HOW ARE YOU *</pattern> <template> <srai>HOW ARE YOU</srai> </template> </category> <category> <pattern>* HOW ARE YOU *</pattern> <template> <srai>HOW ARE YOU</srai> </template> </category> Do I have to have all 3 srai codeblocks to cover all eventualities of things like hi how are you? how are you today? hi how are you today? Or is there a simpler way to do this? 4) From above _ HOW ARE YOU seems to work just as well as * HOW ARE YOU Any real difference there? Thanks a lot for any help, im sure i'll have another 10 questions soon, but those are the ones in my mind right now. A _______________________________________________ This is the pandorabots-general mailing list To Post, reply to pandorabots-general@... Unsubscribe and change preferences at http://list.pandorabots.com/mailman/listinfo/pandorabots-general Learn netiquette at http://www.dtcc.edu/cs/rfc1855.html Learn to read at http://www.literacy.org/ |
|
|
Re: Noobie questionsCome on guys we all had to start somewhere? If they are not worthy of
answers by the obviously more informed people here could someone point me to somewhere that I can ask basic questions please? Thank you Ad ----- Original Message ----- From: "Ad" <admail@...> To: <pandorabots-general@...> Sent: Tuesday, August 19, 2008 2:56 PM Subject: [pandorabots-general] Noobie questions > Sorry but this is giving me a headache, Ive been playing with it for a day > now and I'm getting some good output, but I have a couple of code > questions. > I had a quick rake through the archives but nothing came up so I hope you > dont mind me asking basic stuff here. > > I am starting with an empty list. > > 1) If there is no answer in the aiml I want the bot to say nothing and > give > no response but I keep getting blank lines coming up when random things > are > entered that I have no pattern for yet. I tried > > <category> > <pattern>*</pattern> > <template/> > </category> > > with no joy. Can this be done? > > > 2) How do I stop it writing the full stop at the end of every line? > > > 3a) > > <category> > <pattern>HOW ARE YOU</pattern> > <template> > <random> > <li>great</li> > <li>fine</li> > <li>could be worse</li> > <li>good thanks</li> > </random> > </template> > </category> > > <category> > <pattern>* HOW ARE YOU</pattern> > <template> > <srai>HOW ARE YOU</srai> > </template> > </category> > > <category> > <pattern>HOW ARE YOU *</pattern> > <template> > <srai>HOW ARE YOU</srai> > </template> > </category> > > <category> > <pattern>* HOW ARE YOU *</pattern> > <template> > <srai>HOW ARE YOU</srai> > </template> > </category> > > > Do I have to have all 3 srai codeblocks to cover all eventualities of > things > like > > hi how are you? > how are you today? > hi how are you today? > > Or is there a simpler way to do this? > > > > > 4) From above > > _ HOW ARE YOU > > seems to work just as well as > > * HOW ARE YOU > > Any real difference there? > > > > Thanks a lot for any help, im sure i'll have another 10 questions soon, > but > those are the ones in my mind right now. > > > A > > _______________________________________________ > This is the pandorabots-general mailing list > To Post, reply to pandorabots-general@... > Unsubscribe and change preferences at > http://list.pandorabots.com/mailman/listinfo/pandorabots-general > Learn netiquette at http://www.dtcc.edu/cs/rfc1855.html > Learn to read at http://www.literacy.org/ _______________________________________________ This is the pandorabots-general mailing list To Post, reply to pandorabots-general@... Unsubscribe and change preferences at http://list.pandorabots.com/mailman/listinfo/pandorabots-general Learn netiquette at http://www.dtcc.edu/cs/rfc1855.html Learn to read at http://www.literacy.org/ |
|
|
Re: Noobie questionsHell one of the best tutorials in AIML,I read
I think are the one that comes with this AIML editor : GaitoBot AIML Editor.. Try to download it (you can find it in google). The software is free on beta licence.It gave me a lot of answers on how to use AIML. And the Editor is one of the best AIML editors availebel. 2008/8/25 Ad <admail@...>: > Come on guys we all had to start somewhere? If they are not worthy of > answers by the obviously more informed people here could someone point me to > somewhere that I can ask basic questions please? > > Thank you > > Ad > > ----- Original Message ----- > From: "Ad" <admail@...> > To: <pandorabots-general@...> > Sent: Tuesday, August 19, 2008 2:56 PM > Subject: [pandorabots-general] Noobie questions > > >> Sorry but this is giving me a headache, Ive been playing with it for a day >> now and I'm getting some good output, but I have a couple of code >> questions. >> I had a quick rake through the archives but nothing came up so I hope you >> dont mind me asking basic stuff here. >> >> I am starting with an empty list. >> >> 1) If there is no answer in the aiml I want the bot to say nothing and >> give >> no response but I keep getting blank lines coming up when random things >> are >> entered that I have no pattern for yet. I tried >> >> <category> >> <pattern>*</pattern> >> <template/> >> </category> >> >> with no joy. Can this be done? >> >> >> 2) How do I stop it writing the full stop at the end of every line? >> >> >> 3a) >> >> <category> >> <pattern>HOW ARE YOU</pattern> >> <template> >> <random> >> <li>great</li> >> <li>fine</li> >> <li>could be worse</li> >> <li>good thanks</li> >> </random> >> </template> >> </category> >> >> <category> >> <pattern>* HOW ARE YOU</pattern> >> <template> >> <srai>HOW ARE YOU</srai> >> </template> >> </category> >> >> <category> >> <pattern>HOW ARE YOU *</pattern> >> <template> >> <srai>HOW ARE YOU</srai> >> </template> >> </category> >> >> <category> >> <pattern>* HOW ARE YOU *</pattern> >> <template> >> <srai>HOW ARE YOU</srai> >> </template> >> </category> >> >> >> Do I have to have all 3 srai codeblocks to cover all eventualities of >> things >> like >> >> hi how are you? >> how are you today? >> hi how are you today? >> >> Or is there a simpler way to do this? >> >> >> >> >> 4) From above >> >> _ HOW ARE YOU >> >> seems to work just as well as >> >> * HOW ARE YOU >> >> Any real difference there? >> >> >> >> Thanks a lot for any help, im sure i'll have another 10 questions soon, >> but >> those are the ones in my mind right now. >> >> >> A >> >> _______________________________________________ >> This is the pandorabots-general mailing list >> To Post, reply to pandorabots-general@... >> Unsubscribe and change preferences at >> http://list.pandorabots.com/mailman/listinfo/pandorabots-general >> Learn netiquette at http://www.dtcc.edu/cs/rfc1855.html >> Learn to read at http://www.literacy.org/ > > _______________________________________________ > This is the pandorabots-general mailing list > To Post, reply to pandorabots-general@... > Unsubscribe and change preferences at http://list.pandorabots.com/mailman/listinfo/pandorabots-general > Learn netiquette at http://www.dtcc.edu/cs/rfc1855.html > Learn to read at http://www.literacy.org/ > This is the pandorabots-general mailing list To Post, reply to pandorabots-general@... Unsubscribe and change preferences at http://list.pandorabots.com/mailman/listinfo/pandorabots-general Learn netiquette at http://www.dtcc.edu/cs/rfc1855.html Learn to read at http://www.literacy.org/ |
|
|
|
| Free embeddable forum powered by Nabble | Forum Help |