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
Many questions are answered in the FAQ.


21 years ago #655
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.

21 years ago #656
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"; ?>

21 years ago #657
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?

21 years ago #658
You have to set a default first.

21 years ago #659
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?

21 years ago #660
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.

21 years ago #661
Exactly.

It's in the Book of AI (or I wouldn't know how to do it).

21 years ago #662
Same here- I'm just parroting what I read though, so I know "how" to do it, just not why to do it. lol

21 years ago #663
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.

21 years ago #664
Why don't you just use the (name) plugin? Then your bot will know everyone's name, and save you the headache of introductions

21 years ago #665
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.

21 years ago #666
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.


Posts 655 - 666 of 8,130

» More new posts: Doghead's Cosmic Bar