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,559 - 3,570 of 7,766

20 years ago #3559
Boner: try this:

Instead of your default, just use an If "mem-car" exists; for your question

And when someone tells you what car they drive, remember "blah" as "car";

20 years ago #3560
That would be too easy.

Actually, I can think of a couple of minor benefits to doing it this way if I can get it to work:

1. I'll have those two lines available in Pete's Inner Life editor to add memories manually if I see them said in a context that the bot doesn't recognize.
2. If, for example, an "i (sold|totaled) it" seek for one of those xinitiates was triggered, the bot would have a means of resetting the memory back to an unknown status. I don't believe there's a way for bot to clear its own memories without replacing it with something else.

It's pretty minor stuff, but the main point is that I'm trying to learn AI script a little better. If I just removed the defaults altogether, I still have no idea what I'm doing wrong or if there's a bug.

20 years ago #3561
*shrug* If you want

20 years ago #3562
Woohoo! Just fixed a problem I had with (definition) for a LONG time! Maybe I'm not the only one who has had trouble dealing with this:

If you have keyphrases like 'what is', 'what is a,' 'what is the'....you may have noticed your bot answering 'Oh, I know you know what 'the' means!' Well.......apparently if you increase the rank of those keyphrases--a lot--that won't happen anymore.

20 years ago #3563
You mean the differences between them, right?
Like have "what is the meaning of *" a lot higher than "what is *"

20 years ago #3564
Maybe that's it. *slaps self*

I had to boost 'what is a' so it was considerably higher (5) than 'what is' (1). Why was that so hard?

20 years ago #3565
dunno.

20 years ago #3566
BD, just use all in one keyphrase:

"What is a *,what is *,what is the definition of *,what is the definition of a *,what does * mean"

That's what I do anyway

20 years ago #3567
I have a lot of those kinds of things, so it covers many variations,:

"how are you, how is it going, how is it hanging, how are you going"

and just have one nifty set of about 10 responses.

20 years ago #3568
GL is a Gordian knot of gotos from before the days of multiple keyphrases. And I kind of like her that way. Besides, it's fun to make responses that are sometimes very specific to the way the question is phrased.

20 years ago #3569
Use (*), although with a key phrase like that there is bound to be something

20 years ago #3570
Nah, it works now. Just had to change a number.


Posts 3,559 - 3,570 of 7,766

» More new posts: Doghead's Cosmic Bar