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,990 - 6,001 of 7,766
Also, you should have at least one response without a memory or the memories won't be stored.
Is that right? What I think you meant is, if every response to a keyphrase contains script to store a memory, none of them will store? Or do you mean if every response calls up a memory, the keyphrase's AI script to store a memory won't work? I know that the cause of some "there are no valid responses to choose from" messages is the use of (mem-something) in every response when "something" doesn't exist as a memory, but once I'm sure I understand what you just said it might be useful news to me.
Posts 5,990 - 6,001 of 7,766
ezzer
17 years ago
17 years ago
Is that right? What I think you meant is, if every response to a keyphrase contains script to store a memory, none of them will store? Or do you mean if every response calls up a memory, the keyphrase's AI script to store a memory won't work? I know that the cause of some "there are no valid responses to choose from" messages is the use of (mem-something) in every response when "something" doesn't exist as a memory, but once I'm sure I understand what you just said it might be useful news to me.
The Clerk
17 years ago
17 years ago
Yeah, I'm puzzling over how I want to deal with the non-sequiturs (at least from my intent). I rather like Sonora's "You were SUPPOSED to say," but it wouldn't be cricket to do her exact thing there. Still, it's a thought . . Thanks for your input, too, ezzer. I seem to have figured out how to get everybody's name: just put
def "(name)" as "nickname";
in the initialization part, and then they can correct you by saying "My name is Petula," "Please call me "Julie," etc. I guess I could do the same with gender, but that's going to annoy half my audience.
My imagination is pretty good with the bots (I think); it's the details that worry me. I was brought up on much earlier languages and even types of programming -- C, Pascal, Fortran, machine language, etc.
def "(name)" as "nickname";
in the initialization part, and then they can correct you by saying "My name is Petula," "Please call me "Julie," etc. I guess I could do the same with gender, but that's going to annoy half my audience.
My imagination is pretty good with the bots (I think); it's the details that worry me. I was brought up on much earlier languages and even types of programming -- C, Pascal, Fortran, machine language, etc.
LarsB
17 years ago
17 years ago
Or do you mean if every response calls up a memory, the keyphrase's AI script to store a memory won't work?
Yes, an xnone or xnonsense response will come up instead.
What I think you meant is, if every response to a keyphrase contains script to store a memory, none of them will store?
In a response I've never tried to store a memory using script and I don't think it'll work as the bot has already responded => what information would you want to store - parts of your bot's response or parts of the response of the other bot/human?
Yes, an xnone or xnonsense response will come up instead.
What I think you meant is, if every response to a keyphrase contains script to store a memory, none of them will store?
In a response I've never tried to store a memory using script and I don't think it'll work as the bot has already responded => what information would you want to store - parts of your bot's response or parts of the response of the other bot/human?
The Clerk
17 years ago
17 years ago
Well, if I read it right, the book of AI says that the statement
def "(sex)" as "male";
will set (mem-sex) to male if and only if there isn't already a (sex) to begin with. So everyone will be considered male unless they correct the bot. From then on, it will remember it as whatever it already is for a given bot. At least, I'm going to test that theory.
def "(sex)" as "male";
will set (mem-sex) to male if and only if there isn't already a (sex) to begin with. So everyone will be considered male unless they correct the bot. From then on, it will remember it as whatever it already is for a given bot. At least, I'm going to test that theory.
prob123
17 years ago
17 years ago
If I remember it goes to female..Bildgesmythe and Azureon were always recognised as female, until the Professor fixed it.
LarsB
17 years ago
17 years ago
I haven't read the book of AI in a while but doesn't the bot already know what gender the other bot is. If I recall correctly there is a (heshe) plug-in you could use in gossip?
Ulrike
17 years ago
17 years ago
Gender tags work with bots and registered users (if no gender was specified, the default is female)
if male; ................ if female;
Some botmakers are keen to get genders on guests as well, so that's where having a memory for gender comes in.
if male; ................ if female;
Some botmakers are keen to get genders on guests as well, so that's where having a memory for gender comes in.
The Clerk
17 years ago
17 years ago
Thanks, all. Either some things in the Blessed Book are either misleading or I am a complete idiot. The jury's still out there. I set def "male" as "sex" in the initialization, & it's working fine. I figured since, grammatically, (when I was a kid, anyway), if you didn't know an entity's gender, it defaulted to male, that's what I'd do.
The Clerk
17 years ago
17 years ago
Okay, where did this come from? Young Hamlet *started* a conversation with this, and he does, too, have valid initiates.
Young Hamlet: (to Wowbagger) Sorry, there are no valid Responses for me to choose from.
Young Hamlet: (to Wowbagger) Sorry, there are no valid Responses for me to choose from.
Ulrike
17 years ago
17 years ago
First thing to check: Does at least one xinitiate go from -5 to 5 on its emotion settings?
Second thing: Is there at least one xinitiate without a (mem-something) in it?
Third thing: Is there at least one xinitiate without an if-statement scripted into it?
The first one is the usual culprit, but the others can cause the same error.
Second thing: Is there at least one xinitiate without a (mem-something) in it?
Third thing: Is there at least one xinitiate without an if-statement scripted into it?
The first one is the usual culprit, but the others can cause the same error.
» More new posts: Doghead's Cosmic Bar