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,301 - 2,312 of 7,767

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

21 years ago #2305
Could you create a keyphrase for just a single word in a sentance using a regexp?

example- You just want to match "really?" but not "do you really like that?". So could you use the regexp-

^really$ (re)

21 years ago #2306
That should work

21 years ago #2307
how do i put my guy Harry the hippy to become a vegetarian, i don't want him saying i like to eat chicken when he's supposed to be against animalsbeing killed, also he doesn't mind being sweared at according to some transcripts

21 years ago #2308
Greetings is considered BLAB. I want to have a keyphrase for it.

21 years ago #2309
Hemi, that was taken away to prevent eternal conversation loops

21 years ago #2310
I understand.

21 years ago #2311
Ethan, that's probably impossible right now.

21 years ago #2312
no i just found out a way with a plug-in there is a vegetable one which i've tweaked so hes now vegetarian


Posts 2,301 - 2,312 of 7,767

» More new posts: Doghead's Cosmic Bar