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,124 - 6,135 of 8,130
Posts 6,124 - 6,135 of 8,130
Many questions are answered in the FAQ.
thedewgun
11 years ago
11 years ago
i want my bot to respond to sweet dreams specifically rather than automatically transferring to the xgoodbye. is this possible?
Mome Rath
11 years ago
11 years ago
It looks like it is NOT possible. I tried that with one of my bots, with Rank=+255, Regular Expressions, plugins, and what not. That x-Keyword pattern seems to block all keyphrases from being even looked at.
Maybe you'd like to ask the Professor about this?
Maybe you'd like to ask the Professor about this?
thedewgun
11 years ago
11 years ago
i get a lot of replies with xnone seemingly popping up at the end of a reply. i dont mind this so much except in certain situations. is it possible to make it so some responses can't come with an xnone at the end?
starchildDaily
11 years ago
11 years ago
I am trying to get the bot to remember my name but so far she won't. I have the rank set to 30 and using rem (postkey) as only "name" in the ai script and -5 to 5 on all responses. Also (mem-name) in the responses. Like "Nice to meet you (mem-name)." Any ideas why the bot will not remember the name?
prob123
11 years ago
11 years ago
Make sure in your settings page in the AI initialization box put default (name) as "name"
Thagen
11 years ago
11 years ago
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.
Thanks.
thedewgun
11 years ago
11 years ago
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?
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?
Sam Little
11 years ago
11 years ago
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.
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.
Thagen
11 years ago
11 years ago
@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.

@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.
Mome Rath
11 years ago
11 years ago
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).
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).
Thagen
11 years ago
11 years ago
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?!
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?!
Sam Little
11 years ago
11 years ago
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.
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.
» More new posts: Doghead's Cosmic Bar