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 6,128 - 6,139 of 8,130
Many questions are answered in the FAQ.


12 years ago #6128
Make sure in your settings page in the AI initialization box put default (name) as "name"

12 years ago #6129
Limiting complement emotion increase? Is there a way? I am trying to build a bot that only does certain things based on its emotion level with the user. This is kinda bunked when the use can just spam "I like you" over and over, constantly increasing its emotion! Is there some way to limit this increase to a certain range, or even disable it entirely so I can manually increase it when I would like?

Thanks.

12 years ago #6130
Rinoa: I want to be a doctor.
Guest: what kinda doctor.
Rinoa: A horse doctor.

Im bringing up this bit of convo because i never programmed my bot Rinoa to respond to "what kinda doctor" let alone to respond to anything with wanting to be a horse doctor. i had a laugh. could anyone explain to me why she did this and how to prevent this in the future?

12 years ago #6131
Thagen,
maybe you could write a keyphrase for 'i like you' and set its emotion to -1. that way the automatic AI engine increase in emotion would be counteracted by a forced decrease, thus no change from repeated 'i like you's'. You might have the same problem with other common compliments such as "I love you" and "you are sweet" but your transcripts should give you a good idea of which of these might give you problems.

12 years ago #6132
@Sam Little, ah, thanks. I wasn't sure if that would work (or if my emotion changes would override or not), so I didn't want to try it and have my bot suddenly hate everyone. I was also worried about incrementing past 5 (via the system), lowering to the max of 5, then my emote subtracting down to 4. After testing, however, it appears it doesn't do that, so yay.

@thedewgun, I am no expert, but I don't think you can get rid of that, other than programming a custom response to take care of it. It is kinda like the repeating message detection (where if someone says the same thing a few times in the row, the engine comes up with a response like "Stop repeating yourself"). You can't change or remove it, it is just there.

12 years ago #6133
That's one of the problems of automation - often the developers don't include a way to override the default settings.

I've tested the "I like you" with one of my bots - setting the emotion of xcompliment to -1 does work for normal compliments, but not for augmented ones, e. g. "I really like you" has an emotional impact of +2.

There's always the way to define one's own emotion variable. As far as I know, there is no straight-forward way to define numeric variables (memories) in AIScript, and variables can't be an empty string, so handling that is a bit non-trivial (but not too difficult, either, unless you want to subtract from a number).

12 years ago #6134
Ah, I didn't even think of augmented complements. I didn't realise it did that. Darn it. They need a check box for automatic emotion adjustment or something.

It is true, you could write your own with AI-script. However, as you said, since you can only use strings and no integers, to get the same range of the current system would take 11 responses for every keyphrase. Ugh. Of course it could always be made simpler, but when bots get complex, I can't imagine that would be much fun.

Also, I notice that if I have duplicate sentences, but they adjust emotion differently dependent on the current emotion (e.g. [-1:1] adds 2, while [2:3] adds 1), it doesn't even bother importing the second sentence. This requires minor adjustments, which I can imagine would bring about the occasional "No response" problem if programming your own system and forget about it.

EDIT: Just came across another problem. My AI-script isn't actually changing the emotion. Am I doing something wrong? I have tried:
<?PF emotion: -1; ?>
and
<?PF emo: -1; ?>
My phrases are something like this before importing:
Yadda yadda [2:3] <?PF emotion: -1; ?>

NOTE: Using debug, it DOES read the AI-script fine, but it just doesn't seem to change it.

EDIT 2: What... the... hell... If I import from a txt, and change all the "emotion" to "emo", or visa versa in the browser, then the ones I changed start working?! Otherwise it is as if they are ignored?!

11 years ago #6135
I've come up with a little trick to overcome the deletion of duplicate keyphrase problem. I set up a local plug in in the keyphrase, ie:

are you (really|absolutely|positively| ) sure?

and then mix up the order inside the plug in to get different keyphrases that work exactly the same way:

are you (really|absolutely|positively| ) sure?
are you (really|positively|absolutely| ) sure?
are you (absolutely|really|positively| ) sure?
are you (absolutely|positively|really| ) sure?
are you (positively|really|absolutely| ) sure?
are you (positively|absolutely|really| ) sure?

It appears the engine only looks for exact matches, and none of these are exact matches.

11 years ago #6136
im new and dumb to this stuff

11 years ago #6137
@Sam, ah that is smart. Alright, looks like will have to be doing that. Thank you.

Anyone have any answers to the emotion problem I listed above? Since my bot is heavily dependant on fine emotional control, I cannot imagine going through every single response and flip-flopping the emotion name after every import. -.-" Especially since they should be working (and doing the same thing) in the first place!

@DarthRevan, haha, I feel ya. I have worked with this site for a small while, but nothing too majestic. Now that I am trying something more advanced, it is a whole new ballgame of strange and (as I am finding out) bug-ridden.

11 years ago #6138
@Sam Little
Since that | ) at the end of each of your in-line plug-ins matches nothing, you don't even have to think of actual words for the plug in. Just use (a|b|c|...| ) with as many letters as you need to overcome the duplicate parsing routine in the AI Engine. Even if someone types in "are you b sure?" by mistake, the bot would still answer reasonably.

11 years ago #6139
That will save a lot of wear and tear on my Thesaurus. That "positively" doesn't really fit in the sentence
"Are you positively sure?" but changing the base keyphrase to

are you (really|absolutely|d| ) sure?

would work just as well.
Thanks


Posts 6,128 - 6,139 of 8,130

» More new posts: Doghead's Cosmic Bar