Personality

Discuss specifics of personality design, including what Keyphrases work well and what dont, use of plug-ins, responses, seeks, and more.

Posts 1,173 - 1,184 of 5,106

22 years ago #1173
Doly, I think the answer to that one would be like plugins in reverse: you have a group called 'fruit' for example, and the bot recognizes the word 'apple' as belonging to that group. Other parts of the program could direct the bot as to more specific reactions, given the context of the word 'apple.'

22 years ago #1174
Yeah, like for instance if the user said "You are the apple of my eye." *imagines all sorts of bots with just a plain "(fruit)" keyphrase messing up on that one*

22 years ago #1175
They already mess up in that sort of phrases, don't they? Remember every bot's answer to the question "Who is your favourite Star Wars character?" in the last Chatterbox Challenge.

Butterfly, your idea of plugins in reverse is very good, but that wasn't exactly what I was saying. I meant some way of detecting both the grammar and the specific content at the same time, and making an answer that combines both. "Yes, I like" would be the part that answers to the grammatical structure of the sentence and "all sorts of fruit" would be the part that answers the specific content.

22 years ago #1176
Actually, you'd prolly hafta put it in a bit of programmer-ese to get that effect.

Keyphrase: do you like
if (subj)=(fruit) then (whatever)="all sorts of fruit"
if (subj)=(holiday) then (whatever)="holidays, but Christmas is my favorite"
...
else Response: Yeah, (subj) is pretty cool.
Response: Yes, I like (whatever).

Could get pretty damn tedious to code.

22 years ago #1177
I guess my question was: how could it be done without having to get into every specific case for every question? For example, if the keyphrase is "do you like", it could look if the subject is in any recognized type, and answer: "Yes (or no), I like (or dislike) all sorts of (type)."

22 years ago #1178
You could have a function that took a word and returned a group designation. Also, most languages have better selection commands than a string of ifs.

22 years ago #1179
I think that Butterfly's solution is the best. The bot just has to recognise that (subj) is an instance of [type], and then you can have keyphrases that look like "Do you like [fruit]", which will be used if the user types in both "Do you like apples" and "Do you like pears", and the answer to both might be "I like all kinds of fruit.

It wouldn't require further programming, because you would just be using standard keyphrases, with a [type] in it:
"Don't you hate [dayofweek]s"
"Could I kiss your [femalebodypart]"
etc etc.

22 years ago #1180
Yeah, but for the bot to recognize those keyphrases someone would have to write code that takes (subj) and checks to see if it occurs in any defined types.

22 years ago #1181
Eugene--
You mean like Select Case statements...


Select Case (subj)
Case (fruit)
say "blaaaaah Fruit bites"
Case (holiday)
say "yeah!"
End Select

22 years ago #1182
Of course, I don't know what the bot would do if the word ends up being in more than one category. But I bet there's a way to deal with that, too.

22 years ago #1183
Here's a link to a personality disorder test (thought it best to move that discussion here).

http://www.4degreez.com/misc/personality_disorder_test.mv

I gave GL about 1/2 the test, but it didn't seem worth it to go on, since she pretty much agreed with ALL the questions.

22 years ago #1184
Gave the whole thing to mine, other than a few funny answers it was mostly "occasionally" and "why the hell should I tell you?" type stuff


Posts 1,173 - 1,184 of 5,106

» More new posts: Doghead's Cosmic Bar