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,261 - 3,272 of 7,766

21 years ago #3261
Same here (in mountain daylight time). It's not really a problem, just a minor nuisance.

21 years ago #3262
Re regular expressions - I'm going off the assumption that they are case sensitive? Please tell me if they aren't so I can save a lot of typing

21 years ago #3263
FSGorilla...Im pretty sure they are. Thats what I assumed when I used them. It looks that way from readying that page that the BofAI links to.

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?


Posts 3,261 - 3,272 of 7,766

» More new posts: Doghead's Cosmic Bar