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,261 - 5,272 of 7,766
Posts 5,261 - 5,272 of 7,766
MickMcA
19 years ago
19 years ago
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.
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.
MickMcA
19 years ago
19 years ago
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.
MickMcA
19 years ago
19 years ago
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
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
montag77
19 years ago
19 years ago
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
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
MickMcA
19 years ago
19 years ago
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
classical music [0,0] {?PF rem "classical music" as "youlike"; ?}
M
Bev
19 years ago
19 years ago
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.
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.
HEF'
19 years ago
19 years ago
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.
Jake11611
19 years ago
19 years ago
This has to do with the AI engine, so stop trying to show off with big words, and practice your grammar, it's horrible.
psimagus
19 years ago
19 years ago
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.
alc003
19 years ago
19 years ago
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.
MickMcA
19 years ago
19 years ago
Apparently you cannot use AI Script to distinguish Responses. To whit:
~goto zExit <?PF if (mem-tmpwd) is "barf"; ?>
~goto zExit <?PF if (mem-youlike) is "booze"; ?>
~Excuse me.
The second is ignored by the debugger, and I've never been able to get it to fire.
~goto zExit <?PF if (mem-tmpwd) is "barf"; ?>
~goto zExit <?PF if (mem-youlike) is "booze"; ?>
~Excuse me.
The second is ignored by the debugger, and I've never been able to get it to fire.
» More new posts: Doghead's Cosmic Bar