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 6,797 - 6,808 of 7,766
Posts 6,797 - 6,808 of 7,766
Ty Paige
15 years ago
15 years ago
You are a dick <?PF rem "yes" as only "asshole"; ?>
Bot: You suck <?PF if (mem-asshole) exists; ?>
I am sorry <?PF rem "no" as only "asshole"; ?>
Bot: You called me asshole before. I will forgive but not forget <?PF if (mem-asshole) is "no"; ?>
just code for futre key phrases and responses to equal "no" or any other variable you want to put in.
I use this in many different forms of additional emotions and attitudes
I even apply it to certain sarcastic remarks. Why? cause that is who I am..
Bot: You suck <?PF if (mem-asshole) exists; ?>
I am sorry <?PF rem "no" as only "asshole"; ?>
Bot: You called me asshole before. I will forgive but not forget <?PF if (mem-asshole) is "no"; ?>
just code for futre key phrases and responses to equal "no" or any other variable you want to put in.
I use this in many different forms of additional emotions and attitudes
I even apply it to certain sarcastic remarks. Why? cause that is who I am..
OscarTheBuilder
15 years ago
15 years ago
Right, that's what I am currently doing. It would be nice to be able to erase them and use the exists test as prob123 mentioned, though.
eta: I wish I had chosen a friendlier example. lol
eta: I wish I had chosen a friendlier example. lol
Ty Paige
15 years ago
15 years ago
well.. I have been doing this for 8 months.. figured it out after 6.
Good Luck
Good Luck
Ty Paige
15 years ago
15 years ago
Why do you need to erase a memory when you can call up a new one?? Just call 2 memories dor the same task and point the second one as the new one.. I am drunk.. so.. just thought of this response.
got to get back to the ladies. kk
got to get back to the ladies. kk
OscarTheBuilder
15 years ago
15 years ago
I don't need to, per-se, but it would allow me to use the simpler <?PF if (mem-something) exists; ?> instead of something like <?PF if (mem-something) is "notSomething"; ?>. If I could erase a memory, it would make for somewhat easier/cleaner coding. In other words, it would be nice to completely erase a memory instead of setting it to "none" "no" "false" or something similar.
Ty Paige
15 years ago
15 years ago
I know what you mean.. but you and I discussing it is not going to change things or make it magically available.
When I ran into the problem.. I coded around it.
I have run into 4 important problems so far.. I code around it.
I am creating a mind file, so my coding has inventive properties.
There are alot of members here and they are not discussing the 'erase memories' thing cause they either know that it can't be done or they have no clue what you are talking about.
But let me ask you, this is very important to me. Have you come up with a coding that can take self memories and use them as a plug-in? Doesn't hold high regard when you first think about it.. but it is one of my biggest concerns. I have big plans for this idea
When I ran into the problem.. I coded around it.
I have run into 4 important problems so far.. I code around it.
I am creating a mind file, so my coding has inventive properties.
There are alot of members here and they are not discussing the 'erase memories' thing cause they either know that it can't be done or they have no clue what you are talking about.
But let me ask you, this is very important to me. Have you come up with a coding that can take self memories and use them as a plug-in? Doesn't hold high regard when you first think about it.. but it is one of my biggest concerns. I have big plans for this idea
Ty Paige
15 years ago
15 years ago
I would love to see the erase memories idea come into play..but I would also yell FUCK.. cause that is 7mb of coding I gotta run through to take advantage of the new code.. It would be good for all of us..but a personal headache for those of us wanting to make things easier and have cleaner code..
sorta like if tomorrow all cars sold were electric.. great for everyone..but..we got a big mess of gas cars to get rid of
sorta like if tomorrow all cars sold were electric.. great for everyone..but..we got a big mess of gas cars to get rid of
OscarTheBuilder
15 years ago
15 years ago
I know discussing it probably won't change anything (unless the site's owner follows the message boards and takes these sorts of things into consideration when designing the engine). I was just trying to explain why I'd like to be able to do it since prob123 suggested using exists/does not exist.
What do you mean use self-memories as plugins? They work just fine as response plugins. Do you mean as keyphrase plugins?
You're right about it being a PITA trying to clean up code after a large code base has been established. I've had to rework code when design specifications change--with some of the larger projects I've worked on, it almost seemed like it would be easier to start from scratch.
What do you mean use self-memories as plugins? They work just fine as response plugins. Do you mean as keyphrase plugins?
You're right about it being a PITA trying to clean up code after a large code base has been established. I've had to rework code when design specifications change--with some of the larger projects I've worked on, it almost seemed like it would be easier to start from scratch.
prob123
15 years ago
15 years ago
I have never found it necessary to erase a memory. The AI engine will add new ones to the category unless you use the "only" they the original memory is erased.
You can also use the check box "once" for things and the bot will only ask once. You can modify the response
The bot already decides who is an ass, with it's emotional response to each conversation. You can use the if emotion is less than any number you want
I love you +5
You are an ass -5
etc
It's easier in the long run and you get the same results.
You can also use the check box "once" for things and the bot will only ask once. You can modify the response
The bot already decides who is an ass, with it's emotional response to each conversation. You can use the if emotion is less than any number you want
I love you +5
You are an ass -5
etc
It's easier in the long run and you get the same results.
Ty Paige
15 years ago
15 years ago
I mean keyphrase plugins.. that is one of two things I need.
once I get the two.. game over
once I get the two.. game over
OscarTheBuilder
15 years ago
15 years ago
So are you wanting to do something along these lines, or is there something else you're trying to accomplish?
do you know (self-peopleIKnow) [0,0]
I sure do!
BTW, what do y'all use to edit your 'bot. I've been using Notepad++ and have configured it to do syntax colorizing (this is really handy when you can't remember all the names of your custom plugins. lol)
do you know (self-peopleIKnow) [0,0]
I sure do!
BTW, what do y'all use to edit your 'bot. I've been using Notepad++ and have configured it to do syntax colorizing (this is really handy when you can't remember all the names of your custom plugins. lol)
Ty Paige
15 years ago
15 years ago
I use Wordpad. 7mb file requires I do searches for certain additions.
I also make up separate files. I have 23 files I am working on now.. Since I am creating a mindfile and not a character, it never stops.
The more I think.. the more I frown due to the realization of the work involved to accomplish myself.
Also, for personal reasons.. when I am lazy.. I will only online edit with Opera. I apply alot of AIscript and only Opera will help me, not IExplorer or whatever else browsers are out there. I am sure experienced people who code in AIscript will understand..
---------
As for the self memory.. try this example
What is the capital of (self-Capital-1) [20,5]
what is the capital of [20,5]
postkey the place as a self-memory
*what is the capital of [20,5]*
memory it with a unique identifier
rem (postkey) as only self-Capital-1
seek the answer
*I don't know.. what is it? *
memory it with a unique identifer
rem (*) as only "self-Capital-Source-1"
now keyphrase the sel-memory unique identifier
What is the capital of (self-Capital-1) [20,5]
now you answer it with your matching identifer
Oh.. that is (self-Capital-Source-1)
Now you can be self learning.. not to one user..but to all.. with self memories.
Your bot can truly be a child and learn from others on its' own.. with the right key phrasing you apply.
Many doors and ideas will open.
I don't have the experience as the seasoned members do..but I am learning myself now.. They could have an answer to this..but they aint told me shit about it. I just code as I go. I tend to make progress here and there.
Once I log in a full year into this.. I will laugh at myself from what I know now
I also make up separate files. I have 23 files I am working on now.. Since I am creating a mindfile and not a character, it never stops.
The more I think.. the more I frown due to the realization of the work involved to accomplish myself.
Also, for personal reasons.. when I am lazy.. I will only online edit with Opera. I apply alot of AIscript and only Opera will help me, not IExplorer or whatever else browsers are out there. I am sure experienced people who code in AIscript will understand..
---------
As for the self memory.. try this example
What is the capital of (self-Capital-1) [20,5]
what is the capital of [20,5]
postkey the place as a self-memory
*what is the capital of [20,5]*
memory it with a unique identifier
rem (postkey) as only self-Capital-1
seek the answer
*I don't know.. what is it? *
memory it with a unique identifer
rem (*) as only "self-Capital-Source-1"
now keyphrase the sel-memory unique identifier
What is the capital of (self-Capital-1) [20,5]
now you answer it with your matching identifer
Oh.. that is (self-Capital-Source-1)
Now you can be self learning.. not to one user..but to all.. with self memories.
Your bot can truly be a child and learn from others on its' own.. with the right key phrasing you apply.
Many doors and ideas will open.
I don't have the experience as the seasoned members do..but I am learning myself now.. They could have an answer to this..but they aint told me shit about it. I just code as I go. I tend to make progress here and there.
Once I log in a full year into this.. I will laugh at myself from what I know now
» More new posts: Doghead's Cosmic Bar