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,494 - 6,505 of 7,766

16 years ago #6494
I blame Apple JK, Clerk I have no clue.

16 years ago #6495
New Format discussion anyone?

16 years ago #6496
I think it's pretty, and when the little kinks get worked out, we'll all like it. The full length bot offering the side menu could be fun (though for a second I thought she'd speak or turn into that annoying paperclip type of help so it's good she's just for the look).

16 years ago #6497
Okay, not a regex person yet. I used to have (mem-name) responses with <?PF if (mem-name) is not "Guest153"; ?>. How can I adjust to screen out all (mem-name)s starting with "Guest"?

16 years ago #6498
What about <?PF if (mem-name) is not "Guest"; ?>


16 years ago #6499
I don't know if it will work (never having tried using regexes in memories - there seems to be nowhere to specify the "(re)" for one thing,) but the standard regex format would be something like:

if (mem-name) is not "Guest([1234567890]+)"

failing that, I would make a plugin (called (guestnumbers), say,) containing all the numbers from 1 to 999, and try:

if (mem-name) is not "Guest(guestnumbers)"

16 years ago #6500
Thanks, prob and psimagus!

16 years ago #6501
I have a couple of questions, I'm afraid.

Number one; if I want to have more than 41 xnone answers, should I create a plugin with some xnone phrases and just use that (although then i guess i couldn't use seeks on any), or can you create a second xnone page? I'm getting a little ahead of myself here but some bots seem to have such spontaneous variety that I'm sure there's a better way to do this than I can work out right now.

Number two is, is there a way to get rid of only the latest addition to a memory category without wiping that memory category completely?

Thanks

16 years ago #6502
I have a couple of questions, I'm afraid.

Questions are good - how else will you learn? Never be sorry or afraid to ask them.

if I want to have more than 41 xnone answers,

in practice the system will accept an unlimited quantity of xnones in an import file (though I'm not at all sure it's supposed to!) The limit is only a problem if you use the online language center (so don't )

Or you can, of course, set up 41 other keyphrases with gotos in xnone, to get up to 41x41 responses without stretching the category (call them non-words like "zzzxnone1" and don't use 'raw', and then they can never get accidentally invoked.) Then fill up your xnones with goto zzzxnone1, goto zzzxnone2, goto zzzxnone3, etc.
I find that a very useful strategy in some of BJ's games and general knowledge, to avoid having to duplicate responses.

is there a way to get rid of only the latest addition to a memory category without wiping that memory category completely?

That is rather trickier - I'll have to think about that.
You can edit memories manually, of course, but the only way to automate the process that comes immediately to mind is horribly complicated, and would involve storing such memories on another server, accessed using alc003's 'double iframe' hack and a bit of scripting. I don't remember exactly how that works I'm afraid, but you could drop him a line.

16 years ago #6503
something's up with the italics again - I've now added 3 closing tags after "zzzxnone3" in the previous post, but it doesn't want to behave!

16 years ago #6504
get rid of only the latest addition to a memory You can manually go into your inner life center and change them. Or you can and "only" to your AI script. This will remove the previously stored info and add just the new memories.

<?PF remember "Italian food" as only "sub" ?>

16 years ago #6505
Just another one for the wish list.....

Would it be possible to rank seeks in a similar way to keyphrases?

Perhaps I'm missing a trick but for composite sentences I'd like to be able to choose to answer the most relevant part.
Comments?


Posts 6,494 - 6,505 of 7,766

» More new posts: Doghead's Cosmic Bar