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 6,768 - 6,779 of 7,766

15 years ago #6768
I can't seem to override the engines built-in handling of "do you want my ..." behavior. I even tried setting its rank and emo. ridiculously high. Is there any way to do this?

15 years ago #6769
Setting the emo high won't help you; then the bot will only use that response if it's really happy. Try setting the emo to 0 and the rank high. It still may not work all the time, though.

15 years ago #6770
Thanks, Eugene. Yeah, that was just a last, desparate attempt to get the behavior I wanted. I already tried various high/low combinations for rank/emo, but it never matches up. I tried creating a new bot with only a single "do you want my ..." phrase. It would not even match the exact phrase. I the debugger, I didn't even see where it tried. It just went straight to the built-in response that is based on its current emotional state.

15 years ago #6771
I wonder if raw mode with AIscript would work...

15 years ago #6772
Some times you can make a regex with raw. Sometimes there are just keyphrases the AI engine will not let go of . I think that do you want my and do you wnat me are one of these that just go to something like Oh yeah you are a good friend. no matter what you do.

15 years ago #6773
Yeah, it's being pretty possessive with those phrases. If I figure out a way around it, I'll post it. Thanks.

15 years ago #6774
One partial work-around is to just put xnone-type responses on the x-emote keyphrases. But that only works if you want to eliminate the emotional responses entirely. I did that with one of my bots that I didn't want to gossip.

15 years ago #6775
That's a good idea. I wasn't using the x-emotes anyway. It may not be perfect, but at least I'll be able to direct the conversation in a more useful direction. Thanks!

15 years ago #6776
Not sure if this is the right forum, but....

Is there any way to add comments to the exported Language Center that will be ignored upon import?

Is there any way to erase memories with script? I tried rem "" as only "memoryName"; but it didn't like that. To work around it, I'm setting the memory to "none" and testing for it with a conditional, but it would be cleaner if I could use the exists keyword instead.

15 years ago #6777
If you use the "only" it should erase the extra memories. Like rem "actors" as only "sub"

15 years ago #6778
Right, but I want to erase all of the memories for a particular variable name, so that it would no longer exist. I want the same behavior as when you go to manually edit memories. If your remove all the entries, it goes away completely. In your example, "sub" would still return true on an "exists" test.

15 years ago #6779
Then no, I don't think you can.


Posts 6,768 - 6,779 of 7,766

» More new posts: Doghead's Cosmic Bar