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,048 - 6,060 of 7,766

17 years ago #6048
I understand the AI engine will only register things between the () as a key. Once the ) is moved down..BINGO..the key shows up! THANKS again..I looked and looked and didn't see.. I took two days one time over a . So it could be worse. THANKS AGAIN!

17 years ago #6049
Okay, moving the parenthesis works, BUT makes it impossible to isolate the verb part without the -ing, which is why I used the regex in the first place.

Example: If someone says "Quit singing!" I would like Sonora to be able to respond with "But I like to sing!" (without having a separate keyphrase for each and every verb). If regex won't do that, what will?

17 years ago #6050
Good point. Otherwise you could just use a wild card...um..The one thing I wonder is didn't it used to work?

17 years ago #6051
Yes, apparently it used to work. I must've broken it when I tried to use it.


17 years ago #6052
Any ideas on how to get a bot to chat with another bot? I mean, Astrolabe initiates a lot of conversations, but he's only snared Julie Tinkerbell, and I think that's because she's better and nicer than some bots. But still, I seem to be running them off.

17 years ago #6053
I thought about using an alias for this . . .

Say you've got a list of things, like (dylantunes), that contains all the Dylan songs you know of. If I ask someone what his favorite Dylan tune is, is there a way of searching (dylantunes) to find out if I've heard of it?

Thanking you in advance . . .

17 years ago #6054
I think you could just use a seek for (dylantunes). Though I've occasionally had problems matching up multiple-word plugins in seeks. Alternately, you could have separate seeks, with the key words from each title (in case the user doesn't type it in exactly right)

17 years ago #6055
*pounds head on desk* How stupid can I be? I could've figured that out. Thanks, Ulrike.

*sigh* Bad spellers.

17 years ago #6057
Dumb question #493:

I know how to save names now. But what about (key1), etc.? The Book of AI does not, to my knowledge, address this. I have tried all manner of things. But to save whatever the key1 is to memory, what does the line of code look like?

I mean, to save (mem-age), is it:

rem "(age)" as "key1";
rem "(age)" as "(key1)";
rem "(age)" as key1;
rem "(age)" as (key1);

or what? I have tried these four and come up with error messages, so I don't think I have figured this out, and I've been working on solving it myself for some time now. But it must be a simple question, once you learn it.

17 years ago #6058
Try

rem (key1) as "age";

It should store (key1) as a memory that you can use in responses
using (mem-age).

17 years ago #6059
Thanks. I still think you have to declare variables.

17 years ago #6060
Like?


Posts 6,048 - 6,060 of 7,766

» More new posts: Doghead's Cosmic Bar