Ai Dreams Forum

Chatbots => A.L.I.C.E (AIML) => Topic started by: cybertution on November 20, 2008, 08:32:50 am

Title: Need help with program d and aiml question
Post by: cybertution on November 20, 2008, 08:32:50 am
Hi anyone using program d have the problem with this particular aiml question "what is agent"? program d just hang there and then the error message "java.lang.stackoverflow" pops up.
Title: Re: Need help with program d and aiml question
Post by: Maviarab on November 20, 2008, 10:30:21 am
Sorry cyber never used it myself...sure someone here can help you though :)
Title: Re: Need help with program d and aiml question
Post by: GT40 on November 20, 2008, 12:32:02 pm

Just tested my Pandorabots (Program Z from A.L.I.C.E.). Their answer is:

"Too much recursion in AIML." Amazing...

Of course, a solution is to write a specific category for the question. ;)

Title: Re: Need help with program d and aiml question
Post by: cybertution on November 21, 2008, 06:56:41 am
Thanks guys for your prompt replies, this forum has become one of my favourite for its prompt answers and friendly people out there to help.

Do you have a way to do debugging for AIML question? say a particular question like 'what is agent' gives a weird answer or error message. What is the better way to search through the aiml files to find this particular question (just like a database for easy search and retrieve) because currently there are so many aiml files in the alice set, it is quite tedious to locate a particular question. If the category is not clear, u might have to search almost every file to find the particular question.

P.S: do u know which aiml file this 'what is agent' is contained in so that i can change the answer and test out the new response?
Title: Re: Need help with program d and aiml question
Post by: Freddy on November 21, 2008, 12:55:53 pm
Welcom back and thanks for the kind comments.  :)

You might try 'Gaitobot' AIML editor, I have only played with it breifly, but it might help you to sort things out.  It can be found here :

http://www.gaitobot.de/gaitobot/AIMLEditor/infos.aspx
Title: Re: Need help with program d and aiml question
Post by: GT40 on November 21, 2008, 01:06:16 pm

Hi cybertution!

In the AAA set from ALICE, the "WHAT IS AGENT" category is located in the "reductions.aiml" file.

<category>
<pattern>WHAT IS AGENT</pattern>
<template><srai>what is an agent</srai></template>
</category>

And you know what? The "WHAT IS AN AGENT" category does not exist!!  ;D

Maybe the same mistake in Program D too?