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

PROGRAM-O Maps and sets?
 
 

Is it possible to use sets and maps in PROGRAM-O or do I have to use some other solution?
It’s critical that I use my own php/mysql server with open source.

An example:

I want to be able to look up things. Like:

Q: What is the capital of Sweden?
A: Stockholm

Q: Whats the population of Sweden
A: About 9.000.000 people live in sweden.

 

 
  [ # 1 ]

Hi and welcome, Magnus! smile

At present, Program O does not utilize maps and sets (or any other part of the AIML 2.0 specification, for that matter). there have been plans to integrate AIML 2.0 into the script for a number of years now, but as yet this hasn’t happened. Between motorcycle accidents, family crises and school/work demands there just doesn’t seem to be enough time to get it done. I wish I could give you better news than that, but I cannot. Sorry. downer

 

 
  [ # 2 ]

Hi and thank you!

Ok, I understand. I just have to be really creative then smile
I’m not in a hurry since I have to translate/create all of the usual AIML in swedish to start with.

But I would really appriciate if you could think of any workaround and point me in the right direction .. ?

 

 

 
  [ # 3 ]

One of the reasons why this hasn’t been implemented yet in Program O (aside from the reasons mentioned previously) is that utilization of things like sets and maps will require a major refactoring of the code throughout the entire Program O script, and a fundamental redesign of it’s core code. This is pretty much a larger undertaking than I’m able to take on at present.

That said, however, if you’re highly proficient with Object Oriented Programming in both PHP AND Java, you might consider contributing to Program O’s version 3 on GitHub, which is partially a port of Program AB from Java to PHP. The idea isn’t to do a complete port of the entire script, but only of the core algorithms that handle processing the AIML files. I’ve been working on this on and off ever since Rich Wallace and Pandorabots released the source code for Program AB several years ago, but I’m not all that skilled in Java, so I haven’t made a whole lot of progress, and frankly could use the help. smile

 

 
  login or register to react
‹‹ ProgramAB question      srai and that ››