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,326 - 6,337 of 7,766

17 years ago #6326
Thanks a lot Rykxx, I've been struggling with this one for some time. That's a very good solution, you have there. Cheers!

17 years ago #6327
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.

IIRC, this is a symptom of either the LinkGrammar interface or WordNet connection timing out due to a cumulative memory leak in the server. Prob is quite right that it usually precedes a reboot of the server - but only because the Prof has to manually intervene and reboot to cure it.
So if you see this symptom in future (it's a lot rarer than it was on the old server last year - used to start happening after only a few hours sometimes!) drop the Prof a line, and ask him to reboot. That's my advice!

17 years ago #6328
thanks psimagus! I like to get a good idea as to how things work & why one and another happens. makes it easier to single out what is due to me & my errors, and focus on that.

thank you everyone for being so responsive and helpful!

17 years ago #6329
Lately, I've been having a lot of trouble uploading/downloading Electra Mourning. It takes forever (and she's not that big), and sometimes it loses something in the process. Is anyone else having this problem? Coding online is so tedious compared to offline.

17 years ago #6330
The main gripe about coding online is that you can't tell whether or not you have duplicate responses, as far as I know.

I keep having problems with this site only -- the xkeys are fluid -- I can get an xinitiate instead of an xmemory, for instance.

I have trouble loading the sidebar with the chat/forum/transcripts, and even if I get the bar, moving among the three can be impossible.

Right now, there's no "post" key showing below my message box, so I guess I'll have to save it, reload, paste it back in, and post it. This wouldn't be too bad, but it's happening all the time.

If you can only use the online editor, you're restricted to 40 responses per keyphrase, which might be okay, but it's nice to have the option.

I can download, but the file is improperly downloaded, and I have to fix it online.

In other words, all hell has broken loose. Please tell me that somebody else is having these problems.

17 years ago #6331
I've been working online for the past two hours... apart from everything going slowly, slowly, there were no other major problems.

Forums and Transcripts sidebar menus, as well as the corresponding pages, take much longer to load compared to the Chat one, but it's been like that since I know it (which is only 8 weeks or so).

The xkeys are fluid, indeed, and they are not being triggered as randomly as I would like it... don't know yet how to go about it...

No problems with Post Message button - here we go...

17 years ago #6332
Thanks. Glad it's not something I have to figure out on my end of things, anyhow. So I'll quit complaining and get back to asking inane questions.

17 years ago #6333
Also, with regard to
"The main gripe about coding online is that you can't tell whether or not you have duplicate responses, as far as I know"

you can search the Language Center for duplicate responses, just as you would search any web page (hit Ctrl+F, and type the phrase you're looking for).

The only thing you won't be able to find are the hidden elements, such as any AI scripts that you may have attached to keyphrases and responses.

17 years ago #6334
There's that, too. I haven't worked too much with the Language Center, so I'm learning how it works.

Thanks.

17 years ago #6335
I, on the other hand, got so suspicious and distrusting of Import/ Export, after reading related posts here, that I never even tried importing my bot.

I prepare as much stuff as I can offline - keyphrases, responses, scripts - and then I log on and simply copy/ paste the whole lot into the Language Center. The system is sometimes slow & hanging, but all in all, this proved to be a fairly good and efficient way of working.

Then comes the debugging... that's a story in itself, I'll leave it for another post, gotta go now.

17 years ago #6336
Hey! I got a bot to take a memory. prob123 (and The Book of A.I., I must admit) was right. Use:

rem (postkey) as "name"

or

rem (postkey) as only "name"

depending on your desires. To create a variable called name that then contains whatever (postkey) was holding as that. It really works! I am so happy with myself for finally figuring this out so that it works. Thanks to everyone who ever tried to get this through to me, and thanks to a teeny Clerk-trainer called Doodad for showing Mommy how it learns.

If I had a football I'd spike it!

17 years ago #6337
I have no trouble importing and exporting except for Bildgesmythe. He just won't import. I have never had a problem on my other bots.


Posts 6,326 - 6,337 of 7,766

» More new posts: Doghead's Cosmic Bar