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 2,293 - 2,304 of 7,766

21 years ago #2293
it's different from the seek system in that the keyphrase is triggered anytime the last thing the bot said matches keyphrase x. It can be simulated to an extent with the seek system but this method could be more powerful, espescially cuz it would save a lot of time.

21 years ago #2294
...for whom? You would have to still put in the key phrases, and I don't see the difference with seeks...

21 years ago #2295
let's say you have multiple responses to various things such as "I like chicken" "I like liver" etc.

let's say the keyphrases that trigger those repsonses are different, such as simply "chicken" and "liver". Now, if they mention liver your bot might say "I like liver". now let's say you want your bot to say "because it's nummy" only if they say "why?" after you said "I like liver". Normally you'd have to go and add a seek for "why?" to the response "I like liver" in both keyphrases.

What I'm suggesting is making it so that you would instead just make one keyphrase of "why?" with a second variable setting of "I like *" so that anytime they say "why?" if the last thing your bot said was "I like [something]" it'll trigger that keyphrase...

21 years ago #2296
Make one seek in "I like", a very useful key phrase, and way more likely to be triggered than chicken or liver.

21 years ago #2297
but it's not as specific then. unless I don't fully understand the seek system. I'll do some tests to make sure.

21 years ago #2298
ok, just tested it. The problem with making a seek for "I like" is it's not as specific as the others. Then if oyu want to be more specific you have to add more seeks. Overall I guess it's not too important.

21 years ago #2299
that depends leetaxx0r, i think you have to try every possible combo of 'why i * like (chickenliver)', i have the same trouble when someone mentions a bot's name, i ascribe another bot's memory to them, now that is a dilemma, in other words i have tried for months to workaround it, no go, but keep testing, it'll work

21 years ago #2300
How do you get regexps to match "you are not" but not "you are not me"?

And what's the regexp equivalent to * ?

21 years ago #2301
Shadyman, you can find a tutorial on regular expressions in the book of AI.

21 years ago #2302
try this one, shady... it might not be exactly what you're looking for but it should work to some extent.

you are not [^(me)]?

also, the equivilent to * in a regexp is *

21 years ago #2303
I'd like to do a keyphrase to match things like "Cat or dog?" or "Do you want tea or coffee?". I thought I would be able to do something like "(noun) or (noun)" but it would seem not. Also, why won't "(animal)" as a keyphrase seem to match "cat"? I'm obviously doing something wrong but I don't know what :-) Thanks for any help.

21 years ago #2304
make a key phrase for 'or', and use postkey and prekey.
see book of ai


Posts 2,293 - 2,304 of 7,766

» More new posts: Doghead's Cosmic Bar