The AI Engine
This forum is for discussion of how The Personality Forge's AI Engine works. This is the place for questions on what means what, how to script, and ideas and plans for the Engine.
Posts 6,292 - 6,303 of 7,766
Posts 6,292 - 6,303 of 7,766
The Clerk
17 years ago
17 years ago
Okay, I figured out my last question. Just save the initialization, wipe it out, update it, restore the initialization.
Now, to my next question: Is there a problem with the chat system lately? I've sent two innocuous messages to people I would expect to respond and they haven't. A kind of flash occurs, as if something had happened, but no message.
Just wanted to make sure Ulrike and Carlene know what happened.
Just wanted to make sure Ulrike and Carlene know what happened.

prob123
17 years ago
17 years ago
I had the pop up blocker kick in on Firefox after an update. I had a very hard time getting it to allow pop ups for this site.
Bev
17 years ago
17 years ago
Clerk if it was me, I turn chat off because it makes my browser freeze and go icky.
The Clerk
17 years ago
17 years ago
Thanks, Bev. If any real person wants to contact me, I'm at theclerk@nc.rr.com. I'll SPAM-filter the perverts.
I'm having all kinds of problems here. I think the Forge may be nuts, but it very well could be me, so:
First, even though all my xinitiates have been triggered successfully, Electra Mourning still sometimes starts conversations with "Sorry, there are no valid Responses for me to choose from." This is just not true! What the @$!#$ is going on?
Second, I try to set the "once" so that once Elly has asked and gotten a name, she doesn't keep asking it. Doing it in the form doesn't work, and I haven't yet re-read the entire Book of AI yet. That'll be drastic measures but possibly necessary. Any ideas?
Third, when Elly asked "Where are you from," it used to work (I think) -- I know it at least uploaded. Now <?PF rem "(from)" as "from"; ?> triggers an error message. What the heck is that about?
I think that's all for now. Please help a poor clerc.
I'm having all kinds of problems here. I think the Forge may be nuts, but it very well could be me, so:
I think that's all for now. Please help a poor clerc.

The Clerk
17 years ago
17 years ago
Okay, now that I've just posted, I got my stupid bot to load. So the Forge is cranky today. Now my only question is why she is saying this LIE that the has no responses on xinitiates.
prob123
17 years ago
17 years ago
For the no valid responses check your xnones, Sometimes my bots don't use the hello, or initiate and go to the stupid xnones, from a previous conversation.
Try erasing the check from the once bot and then putting it back in. I have times when I have to retype the keyphrase etc to get it to stick
try Keyphrase I am from, with the AI script <?PF remember (postkey) as "from" ?>
Try erasing the check from the once bot and then putting it back in. I have times when I have to retype the keyphrase etc to get it to stick
try Keyphrase I am from, with the AI script <?PF remember (postkey) as "from" ?>
The Clerk
17 years ago
17 years ago
Thanks, prob. This should be carved into my brain right now, but between my hiatus after surgery and the drugs before this one (I'm not just lazy) I get a little fuzzy and don't want to plow through the BOAI -- sometimes it's just not there.
LarsB
17 years ago
17 years ago
I am not sure if this is related to what The Clerk describes but in Debug testing some keyphrases I saw the following error message after sending text that should have been picked up by the AI engine:
socket_connect() failed.
Reason: () Unknown error: 0
Raw Output: ''
After sending the same text again it was processed without any problem and the engine responded in one of the ways I intended.
socket_connect() failed.
Reason: () Unknown error: 0
Raw Output: ''
After sending the same text again it was processed without any problem and the engine responded in one of the ways I intended.
Interzone
17 years ago
17 years ago
with regard to "socket_connect() failed" error message mentioned by Lars, it could be a bug in PHP script that runs the site, or in the one that controls the Engine, or both, i.e. miscommunication between the two scripts.
the Book of AI says the Personality Forge, version 2, runs on PHP... being new here, i don't know when exactly did the PF move to PHP environment. as far as the PHP itself goes, here is the 2003 status report on the "socket_connect" function:
"This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP. Use this function at your own risk."
i'm myself not a PHP programmer, or for that matter, a computer programmer at all, and i don't know what's the current status on this function, has it been debugged, standardized, etc... also, i don't know whether the AI Engine has been regularly updated in this context or not. still, my gut feeling is that our problem, and the solution to it, lay in the AI Engine domain.
does anyone other than Professor has an access to it, and needed knowledge of PHP? because there are more of these little bugs, twists and quirks, that i believe are due to the Engine and scripts that run the whole.
the Book of AI says the Personality Forge, version 2, runs on PHP... being new here, i don't know when exactly did the PF move to PHP environment. as far as the PHP itself goes, here is the 2003 status report on the "socket_connect" function:
"This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP. Use this function at your own risk."
i'm myself not a PHP programmer, or for that matter, a computer programmer at all, and i don't know what's the current status on this function, has it been debugged, standardized, etc... also, i don't know whether the AI Engine has been regularly updated in this context or not. still, my gut feeling is that our problem, and the solution to it, lay in the AI Engine domain.
does anyone other than Professor has an access to it, and needed knowledge of PHP? because there are more of these little bugs, twists and quirks, that i believe are due to the Engine and scripts that run the whole.
prob123
17 years ago
17 years ago
The problem usually happens just before the Forge resets. I wouldn't worry about it.
» More new posts: Doghead's Cosmic Bar