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,255 - 3,266 of 7,766

21 years ago #3255
I'm pretty sure I asked about this once before, but this time I actually have an example that just happened...Postkey used to refer to anything that came after the keyphrase and before any punctuation, ie., it would stop at a comma. Now this is happening (which is fine this time, but there are other places where it may not be):

Kaliri: I like fantasy and science fiction movies, such as Star Wars.
Julie Tinkerbell: People keep telling me these days how much they like fantasy and scientific knowledge fiction movies, such as Star Wars...It's amazing how these things catch on!

Did something in the AI engine change, and now I need to regroup, or is this something for bug stomp? Or has it always happened this way for you guys, and I'm just special?

21 years ago #3256
I don't think it always worked that way, ezzer, becuase I remember it stopping at a comma, too.

21 years ago #3257
I just tried it too, and it stops at the comma. are you sure you don't have a keyphrase,
i like * such as
or something like that?

21 years ago #3258
never mind, that wouldn't trigger it.

21 years ago #3259
ugh Every time someone mentions time, Julie cahnges the word time to "clip", which never makes sense and is starting to be annoying, especially since I don't understand why clip is synonymous with time...

Rock Gawd: I don't have the time right now. Could you do it instead?
Julie Tinkerbell: Do you want the clip right now?

21 years ago #3260
Small, niggling problem: the engine says that my local time is about an hour ahead of my actual local time which is Pacific Daylight Time.

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!


Posts 3,255 - 3,266 of 7,766

» More new posts: Doghead's Cosmic Bar