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

How to form a PDEFAULTS file
 
 

Hello!
I’m having a slight problem. I’m running Program AB, with AIML scripts which work as they should. However, I’ve written a file called pdefaults.txt with the following values:

"topic""nil"
"it"
"nil"
"they"
"nil"
"topic"
"nil"
"second"
"nil"
"third"
"nil"
"fourth"
"nil"
"fifth"
"nil"
"color"
"nil" 

I tried doing:

[
[
"topic""nil"],
["it""nil"],
["they""nil"],
["topic""nil"],
["second""nil"],
["third""nil"],
["fourth""nil"],
["fifth""nil"],
["color""nil"]

This kind of structure was clear from this.

When I look one of the values at the start it returns “unknown”. This is expected behavior if predicates aren’t set by the PDEFAULTS file.

Does anyone know what the problem is or any solutions?
Thanks in advance!
Mush.

 

 
  [ # 1 ]

Update: I found https://code.google.com/archive/p/program-ab/wikis/Configuration.wiki

 

 
  login or register to react