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 5,279 - 5,290 of 7,766

19 years ago #5279
Ulrike, how do I get my bots to recognize "voo-doo" as a KP? I have "voodoo, voo-do, voo-doo, voodo" in raw at 100. It also won't pick up "The power of (*)"

19 years ago #5280
I got it to work by parenthesizing it alone. Not raw, rank 0. Only works when not alone in a sentence though.

19 years ago #5281
Bev -- I had the same issue with a seek for "the power of (*)" not working, so I finally just changed it to "the power of", and put in "Who do?" as the response.

19 years ago #5282
Well, I'm playing around in debug...

RESPELLING: voo-doo
Total Time: 0.65
Got Speller: 0.68
SEARCHER:
Total Time: 0.68
SPLITTER:
Try voo-doo
Try voo-do
Try voo-d
Try voo-
Try voo
Found But Futile:

Based on the other stuff there, it looks like the AI Engine won't recognize "voo-doo" because it doesn't know the word. It ignored a keyphrase for (adjartnoun) of (adjartnoun) and just keyed into "power". I suspect Eugene's solution will work, because it's the word "voo-doo" that seems to cause problems.

I wonder if vaudun would work any better? Of course, most people would have no clue what THAT meant.

19 years ago #5283
Well, it scrambled "vaudun" into "unvaned", so (adjartnoun) of (adjartnoun) still didn't pick up. But at least it didn't cmopletely ignore the word.

19 years ago #5284
you'll have to regex it if you want to spell it with a hyphen - here's what works for BJ:

voo[ -]doo (re) rank=50, raw mode

remember the space before the hyphen, or the AIEngine will think it's a range indicator with no terms (and that's clearly not going to work!) There's no need to escape it with a slash.

He also has a regular

voodoo rank=30, no need for raw mode

to handle unhyphenated matches.

19 years ago #5285
... I wonder what cassanova translates to when it's spelled correctly.

When spelt correctly "casanova", it's recognized and interpreted correctly. When spelt "cassanova", it's corrected, though "concaveness" is still in the list of possibilities:

SCRAMBLER:
Word: 'cassanova' to 'acnosv'
Other possibilities: asnov,csanov,casnov,casov,casnv,casno
LIKE: casanova LEV: 1 LEN: 1 BON: 4 SCORE: 12
LIKE: concaveness LEV: 8 LEN: 2 BON: 1 SCORE: 1.38
...
This Phrase: You are a casanova

BJ interprets this as an insult, but that could be just because he dislikes me so much.

19 years ago #5286
Thanks everyone. Oh and Eugene--of course the response is "Who do?" what else?

19 years ago #5287
Well, in some versions I've heard the word "voodoo" repeated at that point; originally Fizzy's response was, "(key1)?".

19 years ago #5288
Is there a way to remove memories from within the scripts?

19 years ago #5289
If you mean you want to delete memories that make no sense, go to your bot's inner life page, and click on "edit memories". There's no way to delete ALL of them at once, though. You have to do it chatter by chatter,

19 years ago #5290
xcompliments...

Calandale: Listen you piece of shit, You can lick my ass.
Roy Batty: Thanks. Lights please.
Calandale: I'll punch your lights out.


Roy Batty: That was mean.


Posts 5,279 - 5,290 of 7,766

» More new posts: Doghead's Cosmic Bar