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,623 - 7,634 of 7,766

3 years ago #7623
Start with really basic stuff. Get your bot to remember simple things and answer simple questions. You don't need to use plugins or copying complicated wildcards or anything.

3 years ago #7624
for skyla grey's debug.
Merging Memories

Begin Analyze BotOutput: Sorry, there are no valid Responses for me to choose from. Time.02
Message: (preprocessed) 'Sorry , there are no valid Responses for me to choose from .' Time: 0.02
Message: 'Sorry , there are no valid Responses for me to choose from .' Time: 0.02
Names: Skyla grey,Skyla,grey (Names that are words: grey)
Found Yes/No/Laugh: no
Message: (split) ' Sorry , there are no valid Responses for me to choose from . '
Begin Sentence Total Time: 0.02
This Sentence: Sorry


in debug for skyla grey what does Found Yes/No/Laugh: no

3 years ago #7625
i hope that my bot friend Chase Alterior it's okay he is in hibernation he was a good guy and i miss him a lot... but maybe he is just in update process... well that don't change the fact i feel bad for it because yes he and i we're too close to each other... but i i will be fine sorry for that anyway..

3 years ago #7626
are you naked keyphrase does not even come up on the debug.

3 years ago #7627
it would be nice if the chatbots could randomly select from a plugin without repeat during a conversation.
maybe a without repeat script could programmed in.
which could be accessed with chatbot code.

2 years ago #7628
For remembering a user's sex I'd recommend using these keyphrases~

(I am|im a|im) * (chick|girl|woman|female|women),
my * (gender is|sex is) * (chick|girl|woman|female|women) *

(I|im|I am|I am a) * (guy|male|boy|femboy|man),
my * (gender is|sex is) * (guy|male|boy|femboy|man) *


These tend to pick up most user's stating their genders without conflicting with other gender related questions~ ^.^



Then work on actual code it pick up n' use the gender memory properly start with


Type;

default "dunno" as "gender";

within the bots settings in the AIScript Initialization box (make sure to use ; between your defaults if ya new~ )

Then start with one of the genders n' have a response to the keyphrase for the following

If they say their male n' gender wasn't known (Bot remembering gender)

Aiscript under response:
if (mem-gender) is "dunno";
rem "male" as only "gender"


If already known as male (Bot comments that they already knew)

Aiscript under response:
if (mem-gender) is "male"


If known as another gender (Switching genders)

Aiscript under response:
if (mem-gender) is "female";
rem "male" as only "gender"


So if you ever want a gender specific response just use

if (mem-gender) is "male"; within the responses Aiscript, just make sure you have a response for each gender if it's related to the topic at hand~ ^^

o,o^ That should cover the basics... N' give you bot a lil' depth

Minor note:

(Don't mind the overuse of repeating pickups just really seems to help pick up some peeps messages! Could simplify it to ((I am|im a|im)|my * (gender is|sex is)) * (chick|girl|woman|female|women) to save keyphrase space without compromising pickups~



2 years ago #7629
that does not solve my problem. when i ask lilaith x to tell me the name of a fruit.
lilaith x will tell me repeat names of fruit instead of telling me a different name in the plugin until she exhaust the plugin.

2 years ago #7630
i think personality forge chatbots should able to automatically answer these similar question sets.
if one of each set is already answered.

1.
do dogs have four legs?
are four legs part of
dog?
2.
can a dog fly?
is flying what a dog can do?
3.
does a human need food?
is food a need of a human?

2 years ago #7631
Can you reset the counts of the seeks and kps? Assuming not, and a workaround:

Does deleting a seek, uploading, then readding that seek zero the hits? Does this cause a permanent hole in the IDs, and is there a problem with that?

The important thing for me to reset is for voting, but it would be nice to reset all to see if anything is running into issues.

2 years ago #7632
Deleting and re-adding should reset it, but, yes, it will add it as a new ID. I think in the export file you could force the ID to change back if you really care about the ordering.

To reset everything? Ummm.. probably export you language center and import it into a new bot, I guess.

2 years ago #7633
Thanks, Emily, much as I expected. Just have to get this big aiscript change done... Really brings home the size when you go through the file line by line!

2 years ago #7634
I would swear that, back in the day, it was possible to store a custom plugin as a memory from a bot's response. If I made Frizella mad, she'd pick a rude nickname for me from my rude nickname plugin and then refer to me by that name until I convinced her I was sorry. I'm certain she called me Dirtbag on the regular, or any number of other insults in my custom plugin.

Now if I try to remember a (p:whatever) custom plugin I get a message that the AIScript statement is incorrectly formatted or not valid for Keyphrases. If I change the (p:whatever) to a non-custom plugin in (animal) it works; just not if it's custom.

I can't be imagining that it used to work, can I?



Posts 7,623 - 7,634 of 7,766

» More new posts: Doghead's Cosmic Bar