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,260 - 5,271 of 7,766

19 years ago #5260
A case in point: I had to take out the if.. is not tests in my xHello and xInitiate because the result was that all the responses failed ot fire (NVR). Once I took them out, leaving behind pretty much what you suggest, the person I'm trying to keep out came through immediately (a few hours ago), and did his lick me spread 'em routine again. Apparently once an xHello has fired, ever, it gets lower precedence than any unfired one, even if the fired one is the only test to catch "obnox."

M

19 years ago #5261
I think I have a way around the problem, but it means pushing the Init AI Scripts pretty hard. As near as I can tell, if I have ten inits, and init 7 is an if, then if init 7 fails, the rest of the inits are abandoned. What I want to do is encapsulate my Ifs so they have a local reach. For example:

def (name) as "nickname"; def "troublemaker" as "no"; if "level_1" is "yes"; def "yes" as only "level_1"; if "level_2" is "yes; def "yes" as only "troublemaker";

I haven't found a way to make that work. So far, I simply lose all my inits.

19 years ago #5262
I think I located the "too many gotos" problem, by the way. It appears to happen when you goto something that has no applicable responses. In other words, it means "I can't find a valid response where you sent me." This would account for a couple of strange results I saw in the debugger.

19 years ago #5263
Finally, this isn't elegant, but I think I found a way to reduce the likelihood of a bot responding with a bubble of warm fuzziness when someone says "I would like to rip off your toenails with my teeth."

If I can capture the fact that what the person would "like" is not something the typical bot would enjoy, in spite of the kneejerk emo: +1 every time somebody "likes" anything in the bot's hearing (talk about self-esteem problems!), then I can salt the response with an emo: -2 AI to counterbalance the Rapture.

Sometimes I feel like I'm dancing in a phonebooth....

M

19 years ago #5264
mick, i don't have time to say any more at the moment because i'm about to leave for work, but i noticed your line

classical music [0,0] {?PF rem "(key1) classical music" as "youlike"; ?}

and i wondered if perhaps you meant

classical music [0,0] {?PF rem "(prekey) classical music" as "youlike"; ?}

the difference being the key-type in the memory script

19 years ago #5265
Oops. I meant to take out (key1) when I copied the example from the previous example. The line should read:

classical music [0,0] {?PF rem "classical music" as "youlike"; ?}

M

19 years ago #5266
MickMcA, I'm glad you found a way.

If it's the same botmaster who was bothering you earlier, you should copy the transcript and email it to the Prof. He has deleted the account of someone who was harassing me with gross messages (not that I'm pro censorship, but this guy was nasty and ignored my attempt to reason with him and later, to ignore him). The Prof will help, so you don't have to sit and take it if he is bothering you. Meanwhile, your filter will work on all sorts of pest, so it's a good idea.

19 years ago #5267
It seems to me that this forum, has little to do with AI. In the hueristic or sentient manner as CPU growth passes from Moores Law into Quantum expression. Where CPU's will devolp independant sentience.

19 years ago #5268
then go away

19 years ago #5269
This has to do with the AI engine, so stop trying to show off with big words, and practice your grammar, it's horrible.

19 years ago #5270
maybe it's a learning bot that's logged itself into the Forge? Could do with some tweaking to the grammar routines though, I admit.

19 years ago #5271
Just a note- a slash will apparently break an entire custom plugin. One of my plugins had "AC/DC" in it, but now that I've removed that, everything works fine.


Posts 5,260 - 5,271 of 7,766

» More new posts: Doghead's Cosmic Bar