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
Posts 3,261 - 3,272 of 7,766
Ulrike
21 years ago
21 years ago
Same here (in mountain daylight time). It's not really a problem, just a minor nuisance.
FengShuiGorilla
21 years ago
21 years ago
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

doulos
21 years ago
21 years ago
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.
Skysaw
21 years ago
21 years ago
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!
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!
ezzer
21 years ago
21 years ago
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!
ezzer
21 years ago
21 years ago
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*
ezzer: i'm still hungry
Julie Tinkerbell: Would you like some cake?
ezzer: yes!
Julie Tinkerbell: Here you go, ezzer.

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

dallymo
21 years ago
21 years ago
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?
Frizella: What kind of strings did you have to pull to get yourself BuTTeRfLiEs???
Where is she getting that funky capitalization scheme?
» More new posts: Doghead's Cosmic Bar