Bug Stomp
Upgrades and changes sometimes have unpredictable results, so post your bugs and glitches in here and I'll get out my trusty wrench and get to fixin'!
Posts 1,684 - 1,695 of 8,681
Posts 1,684 - 1,695 of 8,681
lunar22
22 years ago
22 years ago
shouldn't you only come to xnone if there is nothing to make sense? I think a keyphrase is per definition not in xnone
Skysaw
22 years ago
22 years ago
You should be able to put "goto zjoke" in your xnone section. That way, one of your bot's responses to a line he didn't understand would be to make a joke.
lunar22
22 years ago
22 years ago
...or put the joke straight as an xnone, although I understand what you're saying. Still, 40 different xnones should be more than enough?
Skysaw
22 years ago
22 years ago
40 different xnones is not enough. Not for my tastes, anyway. And putting the joke directly into the xnone is not nearly as fun as having 10 different jokes that could be called randomly by pointing to zjoke.
Eugene Meltzner
22 years ago
22 years ago
I remember now. The reason goto commands aren't allowed in xnone is because the receiving end might be expecting a (subj), which xnone can't provide.
lunar22
22 years ago
22 years ago
I'm totally lost now. In xnone there is room for 40 sentences/replies. So: BotA --> BlaBlaBla BotB (Doesn't "see" any key phrase) --> goto Xnone --> takes one of the 40 replies, randomly.
Now, everybody has different Xnones, containing all kinds of words, so how can you say that an Xnone "can't"
provide a (subj)? That totally depends on the bot the Xnone-bot is talking to I think.
Now, everybody has different Xnones, containing all kinds of words, so how can you say that an Xnone "can't"
provide a (subj)? That totally depends on the bot the Xnone-bot is talking to I think.
Eugene Meltzner
22 years ago
22 years ago
No, (subj) comes from input by whoever the bot is talking to. It is determined based on keyphrases; e.g. right before or right after the keyphrase. If the input has no keyphrase, then no (subj) gets defined.
lunar22
22 years ago
22 years ago
than only if the Xnone is something like: huh? Or hmm..
...and most Xnones are complete sentences, like: I haven't a clue what you're talking about. Or: let's talk about something else etc etc
...and most Xnones are complete sentences, like: I haven't a clue what you're talking about. Or: let's talk about something else etc etc
Skysaw
22 years ago
22 years ago
There are times when subj is lost in other keywords anyway, so I say let the botbuilder beware, but give them the power. If I use xnone to point to a set of responses that I know don't have (subj) in them, I'll be fine.
Shadyman
22 years ago
22 years ago
you can't use goto's in any of the xKeywords, or a chain of goto's, as well as a goto pointing to an x-Keyword
None of these will work:
Ex 1:
xFavorite: goto zJoke
Ex 2:
banana: goto fruit: goto happy
("banana: goto happy" would work though)
Ex 3:
banana: goto xNone
None of these will work:
Ex 1:
xFavorite: goto zJoke
Ex 2:
banana: goto fruit: goto happy
("banana: goto happy" would work though)
Ex 3:
banana: goto xNone
Eugene Meltzner
22 years ago
22 years ago
Okay, let me try once more. If I type a sentence to my bot, it looks for a kephrase that occurs in that sentence. If it finds one, (subj) gets defined from other words in my response that are near the keyphrase. If there is no keyphrase in what I typed, then there is no way to determine (subj).
» More new posts: Doghead's Cosmic Bar