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 675 - 686 of 8,130
Posts 675 - 686 of 8,130
Many questions are answered in the FAQ.
Joe Repka
21 years ago
21 years ago
About the default memories, I tried that when that first came out, but it didn't seem to have any purpose or effect that I could appreciate. They seemed to appear in the Inner Life list much less often than not. I just went back to not using them. Probably something that I don't get.
Irina
21 years ago
21 years ago
Dear Friends:
I understand from the 'Book of A.I.' that users can contribute to the public collection of custom plug-ins. I'd like to do that. How do I go about it?
Walk in Beauty, Irina
I understand from the 'Book of A.I.' that users can contribute to the public collection of custom plug-ins. I'd like to do that. How do I go about it?
Walk in Beauty, Irina
Shadyman
21 years ago
21 years ago
Big guy- it takes a while for people to post here, it's a forum rather than a chat room 
About the default, it's the default memory that a bot has for a person when they chat. for example, if you have default "You" as "memnickname", then you use the plugin (memnickname), it will say "You", and your bot will remember their nickname as "You" until you set it otherwise with another aiscript

About the default, it's the default memory that a bot has for a person when they chat. for example, if you have default "You" as "memnickname", then you use the plugin (memnickname), it will say "You", and your bot will remember their nickname as "You" until you set it otherwise with another aiscript
Someguy
21 years ago
21 years ago
ok heres the two bits i am having problems with then, first(simplified):
keyword: what is my name?
response1: Did you forget (mem-nickname)? <?PF if (mem-nickname) exists; ?>
response2: You never told me. So why dont you tell me now? <?PF if (mem-nickname) does not exist; ?>
response two has a seek tagged on to look for(again simplified):
keyword: i am script: <?PF remember (postkey) as "mem-nickname"; ?>
response: So you are (mem-nickname), right?
When my bot gets to a point where it is supposed to spit out a name it never does because no memory is ever created. I've tried a few different versions of the above such as "remember (postkey) as "nickname"" because it appears as though the mem-memname is used for reference...but i couldnt get it working.
Now for my other problem i decided to try out local plugins...yet again simplified:
Keyword: what is up
response: Nothing much. Just got done (activity1|activity2|activity3).
I'm confused as to why that wouldn't work as it is in the book of ai. It simply spits out the whole response as written...doesnt pick one of the options.
keyword: what is my name?
response1: Did you forget (mem-nickname)? <?PF if (mem-nickname) exists; ?>
response2: You never told me. So why dont you tell me now? <?PF if (mem-nickname) does not exist; ?>
response two has a seek tagged on to look for(again simplified):
keyword: i am script: <?PF remember (postkey) as "mem-nickname"; ?>
response: So you are (mem-nickname), right?
When my bot gets to a point where it is supposed to spit out a name it never does because no memory is ever created. I've tried a few different versions of the above such as "remember (postkey) as "nickname"" because it appears as though the mem-memname is used for reference...but i couldnt get it working.
Now for my other problem i decided to try out local plugins...yet again simplified:
Keyword: what is up
response: Nothing much. Just got done (activity1|activity2|activity3).
I'm confused as to why that wouldn't work as it is in the book of ai. It simply spits out the whole response as written...doesnt pick one of the options.
The Professor
21 years ago
21 years ago
Hi Someguy, I just took a lot at your bot. There are several things.
First, everyone PLEASE remember, when working with memories, you never EVER ever need to have <?PF if (mem-nickname) exists; ?> if you're trying to make sure a memory exists when you have it in a response. This is done AUTOMATICALLY. No response containing a non-existant memory will EVER come up, and you do not need AIScript to make that happen.
Someguy: at this point, memories are not immediately available in the responses that store them. You were saving a "nickname" memory in a Keyphrase and calling it immediately in the response, but the memory isnt stored until AFTER the response comes up. In the future I'll improve the AI Engine so that these variables are immediately available, but for now, I made the following change and it works:
FROM:
Keyphrase: i am, my name is, this is, call me [0,0] <?PF remember (postkey) as "mem-nickname" ?>
Resposne: So you are (mem-nickname), right?
TO:
Keyphrase: i am, my name is, this is, call me [0,0] <?PF remember (postkey) as "mem-nickname" ?>
Response: So you are (postkey), right?
As there was no valid response to choose from, the memory was not being saved at all, since another Keyphrase (an xnone) was chosen instead.
Memories do not need to be initialized to work
Someguy- Another problem you were having was that you were saving the memory as "mem-nickname" when it should be saved as "nickname". The "mem-" is added on automatically to mark it as a memory. Thus the above Keyphrase/Response should be modified to this:
Keyphrase: i am, my name is, this is, call me [0,0] <?PF remember (postkey) as "nickname" ?>
Response: So you are (postkey), right?
More to come in a minute..
First, everyone PLEASE remember, when working with memories, you never EVER ever need to have <?PF if (mem-nickname) exists; ?> if you're trying to make sure a memory exists when you have it in a response. This is done AUTOMATICALLY. No response containing a non-existant memory will EVER come up, and you do not need AIScript to make that happen.
Someguy: at this point, memories are not immediately available in the responses that store them. You were saving a "nickname" memory in a Keyphrase and calling it immediately in the response, but the memory isnt stored until AFTER the response comes up. In the future I'll improve the AI Engine so that these variables are immediately available, but for now, I made the following change and it works:
FROM:
Keyphrase: i am, my name is, this is, call me [0,0] <?PF remember (postkey) as "mem-nickname" ?>
Resposne: So you are (mem-nickname), right?
TO:
Keyphrase: i am, my name is, this is, call me [0,0] <?PF remember (postkey) as "mem-nickname" ?>
Response: So you are (postkey), right?
As there was no valid response to choose from, the memory was not being saved at all, since another Keyphrase (an xnone) was chosen instead.
Memories do not need to be initialized to work
Someguy- Another problem you were having was that you were saving the memory as "mem-nickname" when it should be saved as "nickname". The "mem-" is added on automatically to mark it as a memory. Thus the above Keyphrase/Response should be modified to this:
Keyphrase: i am, my name is, this is, call me [0,0] <?PF remember (postkey) as "nickname" ?>
Response: So you are (postkey), right?
More to come in a minute..
The Professor
21 years ago
21 years ago
And the local plug-in not working when there was a space in it- that was a bug, which I've fixed. : )
Sorry if the Book of AI wasnt clear.
And the Forum Search is on my endless list of things to do. It'll happen someday.
Sorry if the Book of AI wasnt clear.
And the Forum Search is on my endless list of things to do. It'll happen someday.
Someguy
21 years ago
21 years ago
Professor you are now my hero...thanks a lot it finally works! I was pulling my hair out trying everything to get those working. my bot is a tiny bit smarter now

The Professor
21 years ago
21 years ago
You're welcome!
I'm going to be expanding what can be remembered soon, and will have a great little tutorial on creating a good "name" or "nickname" memory system.
I'm going to be expanding what can be remembered soon, and will have a great little tutorial on creating a good "name" or "nickname" memory system.
John-Boy
21 years ago
21 years ago
To the marvelous, wonderful, Professor! I am constantly amazed at how quickly you are improving the AI engine! Finally I have found an AI site that moves forward in a noticable fashion! (And I know you have many ideas that are going to get us to that AI "dream" result). Much potential here as you well know!
» More new posts: Doghead's Cosmic Bar