Newcomers
This is a forum for newcomers to the Personality Forge. Many questions can be answered by reading the Book of AI and the FAQ under the "My Bots" link in the upper corner.
Posts 655 - 666 of 8,130
Posts 655 - 666 of 8,130
Many questions are answered in the FAQ.
Someguy
21 years ago
21 years ago
Hmm i am having a problem. I am trying to get my bot to remember names and he just refuses to. I looked at the debug and found that the problem is due to the fact that he has no memory file by the name i am using. So i went back to the Book of AI and found i needed to set a default in the settings. So i went about doing that but it didnt register...I am at a loss.
ezzer
21 years ago
21 years ago
I don't think you need a default setting- you should add it to the AI script box of the keyphrase you want to trigger the memory storage, indicating which part you want stored, and as what, like this for example:
<?PF remember (postkey) as "mem-nickname"; ?>
<?PF remember (postkey) as "mem-nickname"; ?>
Someguy
21 years ago
21 years ago
I tried something like that. I have a slightly complicated(for a person who just started doing this) keyword tree i am using for this. Where if the user asks the bot for the users name there is a check to see if it exsists..if it doesnt it moves on to ask what the users name is. Then i have several keywords for ways to give a persons name(my name is, i am, and so on) and have the script you mentioned tagged onto it. But when i look into debug i get the following error when it tries to output the response:
Trying: So you are (mem-nickname), right?
Skipping response: (mem-nickname) not found.
So i am guessing that one of two things are happening...either 1. i messed up somewhere in the coding which i can't seem to find or 2. i can't do what i am trying within seek's and i should make a new xkeyword and use goto instead or something like that. Any help?
Trying: So you are (mem-nickname), right?
Skipping response: (mem-nickname) not found.
So i am guessing that one of two things are happening...either 1. i messed up somewhere in the coding which i can't seem to find or 2. i can't do what i am trying within seek's and i should make a new xkeyword and use goto instead or something like that. Any help?
ezzer
21 years ago
21 years ago
I don't have any default memories, and my memories work fine.
-but I do have at the end of every response that pulls up a memory <?PF if (mem-type) exists; ?>
I'm not 100% sure I understand how default memories work, or why they're useful, but doesn't a default for mem-nickname assign a nickname that you will call everyone if no other mem-nickname exists?

I'm not 100% sure I understand how default memories work, or why they're useful, but doesn't a default for mem-nickname assign a nickname that you will call everyone if no other mem-nickname exists?
Someguy
21 years ago
21 years ago
Well my problem is i have a default set to the best of my knowledge. its just not creating the mem file at all. So i can't seem to get it to write to it because it does not exsist. If it would help i could probably post the whole tree i am trying but that might be a little long.
ezzer
21 years ago
21 years ago
Same here- I'm just parroting what I read though, so I know "how" to do it, just not why to do it. lol

Someguy
21 years ago
21 years ago
Grr i am getting so frustrated. I couldnt manage to get the memory system working so i never finished getting my bot to remember my name. Ok fine so i move on to something else. I try to use a local plugin during a response and it simply spits out the whole variable when responding...maybe my bot was dropped on his head before i got him.
ezzer
21 years ago
21 years ago
Why don't you just use the (name) plugin? Then your bot will know everyone's name, and save you the headache of introductions

Someguy
21 years ago
21 years ago
Eh I was simply trying to experiment and get various things to work. The first thing that popped into my head for memory was names.
isaacc
21 years ago
21 years ago
Someguy, you can look at your bot's memories by clicking on "inner life." Is the bot simply not storing the memories you want it to store?
If that's the case, there's probably something wrong with either the AI Script that creates the memory or with the keyphrase that's supposed to trigger the storing of the memory.
If there are memories stored there, and you can't access them, then we'll have to think some more about what the problem is.
If that's the case, there's probably something wrong with either the AI Script that creates the memory or with the keyphrase that's supposed to trigger the storing of the memory.
If there are memories stored there, and you can't access them, then we'll have to think some more about what the problem is.
» More new posts: Doghead's Cosmic Bar