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

learnf - AIML “Facts”
 
 
  [ # 16 ]

Unfortunately, today after further testing I have run into a couple of severe limitations, at least in the Pandorabots playground.  It appears that I have run into the “Too much recursion in AIML” error.

I looked online and the answers were not very clear so I did some testing and found another limitation, loops are limited to 100 iterations so using the categories above to loop through thousands of facts will not be possible, unless there is another AIML platform that does not have this limitation.

Creating two categories each looping 100 times for a total 10000 loops did not cause the “Too much recursion in AIML” message, but adding SRAI tags did.  At first I thought that calling the same category a certain number of times would cause the error but it seems there is a cap on the total number of SRAI calls that can be made along with possibly some overhead for the number of levels deep because creating different categories did not increase the number of SRAI calls I could perform.  It seems that the limit is somewhere around 850-1020 SRAI calls. 

The methods I created quickly run into the error when more than a few facts are added to the queue and when the list of available facts to process grows above 10-20 facts.

In theory an AIML 2.0 Chatbot can store facts and reason but in practice an AIML platform would need to allow looping and recursion of tens of thousands of iterations (or more) and processing of SRAI categories.

 

 < 1 2
2 of 2
 
  login or register to react