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 7,678 - 7,689 of 7,766
Posts 7,678 - 7,689 of 7,766
heyWeJustMet
3 years ago
3 years ago
ah! thanks! i wasn't sure if i still needed all the () : and *# special characters in the response
bobstack
3 years ago
3 years ago
is there a way to delete memories from something like this?
what i want to do is delete all the memories from a particular user
with the keyphrase forget me?
(m:i_like) to eat (np)
i did not know you liked to eat (key1)
rem (key1) as "youdesireeat-like-np"
what i want to do is delete all the memories from a particular user
with the keyphrase forget me?
(m:i_like) to eat (np)
i did not know you liked to eat (key1)
rem (key1) as "youdesireeat-like-np"
jkroker
3 years ago
3 years ago
@palacinkyman -5 and 5 should be easy, just set it to affect emotion by relative -10 or 10 lol.
Otherwise I'd say to hit a specific emotion, it *might* be possible if you make a ton of keyphrase replies, each with its own "required emotional state to trigger" equal to X (for every possible value of X), and for each reply you'd set AIscript to alter their emotional state by D-X where D is the state you desire.
Example: if you want emotional state to be 3, you could have 11 replies (one for each state they might already be in) and say the -2 reply would increase emotion by 5, the 5 reply would decrease by 2, etc.
Otherwise I'd say to hit a specific emotion, it *might* be possible if you make a ton of keyphrase replies, each with its own "required emotional state to trigger" equal to X (for every possible value of X), and for each reply you'd set AIscript to alter their emotional state by D-X where D is the state you desire.
Example: if you want emotional state to be 3, you could have 11 replies (one for each state they might already be in) and say the -2 reply would increase emotion by 5, the 5 reply would decrease by 2, etc.
palacinkyman
3 years ago
3 years ago
I have command for user to reset whole memory of the bot if they wish to. Well, all manually stored memories. And I wanted to also reset their emotional status to 0 without need to add new seeks.
bobstack
3 years ago
3 years ago
does your reset script palacinkyman include resetting scripts like this.
(m:i_like) to eat (np)
i did not know you liked to eat (key1)
rem (key1) as "youdesireeat-like-np"
(m:i_like) to eat (np)
i did not know you liked to eat (key1)
rem (key1) as "youdesireeat-like-np"
palacinkyman
3 years ago
3 years ago
More like this:
rem (name) as only "your-name";
rem "none" as only "wish";
rem "none" as only "user-likes";
rem "normal" as only "typeofplace";
rem "cannot" as only "leave";
rem "not_achieved" as only "leftcave";
...
rem (name) as only "your-name";
rem "none" as only "wish";
rem "none" as only "user-likes";
rem "normal" as only "typeofplace";
rem "cannot" as only "leave";
rem "not_achieved" as only "leftcave";
...
Thunder Dash
3 years ago
3 years ago
Is it possible to store a number value that can change as a memory, like weight for example?
The Professor
3 years ago
3 years ago
Any memory value can change, including numbers. But if you're talking about the ability to do math on memories, that's something I'm going to be adding in the near future.
Thunder Dash
3 years ago
3 years ago
Yea, like the character I'm building right now will gain and/or lose weight, plus her belly size will change...that's what I need the number memories for.
bobstack
3 years ago
3 years ago
am i doing this right or am i missing something?
cause us to appear to *
we both appear at (postkey). 'looks at you'
(m:where) are we
we are in (recent-do)
cause us to appear to *
we both appear at (postkey). 'looks at you'
(m:where) are we
we are in (recent-do)
» More new posts: Doghead's Cosmic Bar