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 3,264 - 3,275 of 7,766

21 years ago #3264
Yeah, mine did the clip thing too.

21 years ago #3265
Here's a little tip for those of you delving deep into the engine.

I use (sob) in a response, to strip out the adjective and article from a (adjartnoun) match. This works in cases where the simple object of the sentence predictably coincides with the match.

Keyphrase: i (am|will be) your (adjartnoun)
Response: What kind of (sob), then? A (typeof-(sob)-n)?

(This uses the slightly dangerous technique of passing the simple object to WordNet. Works about 80% of the time.)

But when I wanted to reference the noun in a seek, I ran into a problem. While I can use (firstkey1) to grab the entire article/adjective/noun cluster, I can't grab a (sob) from the parent response. This is where the PF memories come into play!

Keyphrase: i (am|will be) your (adjartnoun)
AIScript: remember (key2) as only "last_sob"
Response: Cool. Does that mean I get to order you around and stuff?
Seek: yes
Seek Response: Good. My first order is go fetch me a better (mem-last_sob)!

Here is a sample run:
Me: I am your only friend.
Little Mu: Cool. Does that mean I get to order you around and stuff?
Me: Yes, go right ahead!
Little Mu: Good. My first order is go fetch me a better friend!

21 years ago #3266
Kudos, Skysaw! That's awesome!

21 years ago #3267
WOOT!! Thanks, Skysaw, that has been giving me hell! I'm about to go edit a bunch of seek responses where I've been experimenting with (firstpostkey) etc. to try to do that now! You're the bomb!

21 years ago #3268
yay, it worked!

ezzer: i'm still hungry
Julie Tinkerbell: Would you like some cake?
ezzer: yes!
Julie Tinkerbell: Here you go, ezzer. *hands cake to ezzer*

21 years ago #3269
Glad to help. Perhaps we can now lobby together to get the prof to make (typeof-x-n) safer.

21 years ago #3270
What the hey? In response to "I have butterflies!":

Frizella: What kind of strings did you have to pull to get yourself BuTTeRfLiEs???

Where is she getting that funky capitalization scheme?

21 years ago #3271
Frizella must be one of those 1337 hax0r types

21 years ago #3272
Maybe it's some kind of code. BTTRLE? uefis?

21 years ago #3273
lol dallymo~ that weirded me out, too- I almost asked her about it, but thought better of it.

21 years ago #3274
Well, butterflies or BuTTeRfLiEs, it sounds like a good thing!

21 years ago #3275
hmmmm.. I thought the engine would pick something before nothing but I have two keyphrases,
i (verb) (a|an) (noun)
and
i (verb) (artpos) (noun)
and I would think that the phrase "I have a problem" would trigger the first, but it seems to trigger the second more often...


Posts 3,264 - 3,275 of 7,766

» More new posts: Doghead's Cosmic Bar