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 4,611 - 4,622 of 8,682

20 years ago #4611
In the news.

20 years ago #4612
Ahh, it doesnt work from the front page. Alright, I've adjusted it- it works now.

20 years ago #4613
The (key1) is not being inserted here:

human: Well, I'm underage. And I'm from England.
Love Agent: Oh, is nice I hear in the spring. But where do you live now?

The keyphrase being triggered here is:
I am from * , I grew up in *

The response is:
Oh, (key1) is nice I hear in the spring. But where do you live now?

20 years ago #4614
You might try changing the keyphrase to "I am from (*)" or "I am from" (in which case the response would refer to (postkey) rather than (Key1).) I suggested the former first because of the current discussion about (postkey) not being reliable in some cases.

20 years ago #4615
That's actually correct.

There's really no point to having a * at the end of any Keyphrase. That's a soft wildcard, and will always be blank when used at the end. (postkey) was made to contain the part of a sentence that follows the Keyphrase.

To understand the soft wildcard, it is built to match as little as possible. This is known as being "ungreedy", and it was very specifically built that way. Take a look at this example:

Keyphrase: i like * the
Sentence: i like the way the cat feels.

Since the soft wildcard is ungreedy, the Keyphrase will match "i like the" instead of matching the SECOND "the" in the sentence, which would be "i like the way the" and would lead to all sorts of unforseen results.

Does that make sense?

20 years ago #4616
Perfect sense here. Actually, I think I had problems with that when I first started using wildcards and ended up trashing it because it never worked.
Thanks for explaining! Now I know what I did wrong...

20 years ago #4617
This one bot, Miki's Vanessa, is getting its name a little messed up in the transcript. It's a fairly new bot so I don't know whether this really affects keyphrase rank and things like that, but the Vanessa part shows up every time as the first word the bot says in each exchange.

20 years ago #4618
That makes sense. Thanks Prof! And now for another mystery... I think ranks are not being calculated correctly:

You: what did you study?
Bot: Sure I did!

In this case, Love Agent is responding with the keyphrase for "did (not|) you" ranked -5, while the phrase "what * you study", ranked 50, was left untriggered.

20 years ago #4619
What about an option to make * greedy?

like... "*!" or % or whatever regexp uses

20 years ago #4620
Importing seeks don't work if it's like:
+yes[0]

it needs to be +yes [0] or + yes [0]

could we maybe have it as acceptable, or would that break things?

20 years ago #4621
ERROR: All Seeks must be intended and follow a Response.
Line: "+no [0] "

I think prof meant indented

20 years ago #4622
Well, you wouldn't want an unintentional Seek, either.


Posts 4,611 - 4,622 of 8,682

» More new posts: Doghead's Cosmic Bar