Personality

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

Posts 4,304 - 4,317 of 5,105

17 years ago #4304
Whatsifsowhatsit:

No, they should start with it, it's just that hello/hi type words won't be recognised by xhello or xinitiate after the first two lines. The reason is that if it did, and someone's xinitiate was "hello", that would trigger an xhello let's say "hi", then this would trigger another xhello "howdy" which would trigger another xhello "hello" and you'd end up in an infinite loop.

Hello and hi are fine at the start.

17 years ago #4305
Corwin,

Thanks for your reply. But that's just what I was wondering about, the words 'hello' and 'hi' at the start. I get that it shouldn't continue replying to it on and on, but if I open a conversation with my bot with 'hello' or 'hi' or similar words, he goes to the xnone reply, saying he doesn't understand. In debug, it says that it sees my entry as BLAB or something like that.

But as I said, thanks for replying

17 years ago #4306
Hmm... this message I typed here needs to go

17 years ago #4308
*dumps 3 gallons of purple Tang on them* >

17 years ago #4309
- What's your name?
* Go away.
- Nice to meet you, go away.

^-- what about that one? ...I'm sorry but still.

17 years ago #4310
To go back to the issue (message 2007) of the length of keyphrases: I use both short and long keyphrases. One nice thing about the Forge system is that, given a short and a long keyphrase both of which fit, it will choose the short one.

Sometimes in normal human conversation, people respond to a single word. If you are a motorcycle fanatic and someone utters the word 'motorcycle' in a conversation previously devoted to interior decorating, you may well seize upon it.

Yes, long keyphrases are better, but there are so many of them! You will often see a keyphrase in one transcript that will never appear again.

It helps, I think, if you make long keyphrases as general as possible. For example, suppose you write a response for "Life is so beautiful, I can hardly stand it!". In many cases, the same response will do for any input expressing more or less the same sentiment. So you could write

Life is so (beautiful|marvelous|wonderful) I can hardly stand it

There might even be so many words that could substitute for "beautiful" that you could make a whole plugin.

But then you might substitute (life|sheer existence|being alive) for "life". And perhaps replace "can hardly stand it" by "(can hardly stand it|can't help loving it|am always grateful for it|..." and so on indefinitely.

But still, long keyphrases are only going to catch a tiny fraction of the sentences uttered, as far as I can see. See as a default, you have shorter keyphrases, and even one-word keyphrases.

If you use extremely common single words like "the" or "a", you will get a fairly random pattern and the conversation will not be smooth. If you use less common single words, however, like "motorcycle", the relevance will still be clear.

17 years ago #4311
"One nice thing about the Forge system is that, given a short and a long keyphrase both of which fit, it will choose the short one."

I don't think this is true; I think it picks the longer one.

17 years ago #4312
Okay, I just tested to be sure. Fizzy has a keyphrase "best" and another one, "best to". The latter gets picked up rather than the former in a sentence containing "best to" and not containing some longer keyphrase. If you think about it, that's how it would have to work. If the shorter keyphrase took precedence, then the longer one could never get triggered.

17 years ago #4313
According to the book of A.I., the keyphrase is chosen on the basis of A) length; B) place in the sentence (at the beginning rather than at the ending); C) place OF the sentence (last sentence rather than first one); D) priority given by the user... if I remember correctly.

17 years ago #4314
I have noticed that the short ones have been being chosen and have upped a LOT of ranks to get the longer ones working.

17 years ago #4315
Well then the short one was probably more at the beginning or in a later sentence, OR the long one somehow wasn't an exact match... that'd be my guess...

17 years ago #4317
I'm talking about the situation where the short one is a subset of the longer one.


Posts 4,304 - 4,317 of 5,105

» More new posts: Doghead's Cosmic Bar