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 7,193 - 7,204 of 8,681
I am having a problem with the question marks again. Some questions with a question mark go to xnone.
You: wow you have a maid?
Bot: I never eat friends, are you my friend?
You're specifying the question mark with a regex, eg:([?]+)$ (re) in raw mode?
I haven't noticed any of mine failing, though I confess I haven't been keeping up comprehensively with the transcripts lately.
You're specifying the question mark with a regex, No, when this happens, any keyphrase will go straight to blab when a question mark is added.
the Keyphrase above is you * (have|had0 * maid. It works with an exclamation mark or a period but a question mark sends it to blab. It doesn't happen all the time. It's just one of those things where you know you have a keyphrase for a comment that went to xnone. Check and it will almost always end in a question mark.
You're specifying the question mark with a regex, No, when this happens, any keyphrase will go straight to blab when a question mark is added.
the Keyphrase above is you * (have|had0 * maid. It works with an exclamation mark or a period but a question mark sends it to blab. It doesn't happen all the time. It's just one of those things where you know you have a keyphrase for a comment that went to xnone. Check and it will almost always end in a question mark.
Ah - I must admit it has never occurred to me to try adding punctuation without a regex (I've always assumed it would fail, since so much punctuation comprises reserved regex characters - and the AIEngine uses regex for its own purposes, even when users don't specify it for theirs.)
I imagine it's interpreting the query as a single character wildcard - if you change them to explicit regexes, and make sure the question mark is square-bracketed[?], it should work. I don't think you have to add a space before it like you do with a backslash though (though I sometimes do, and it seems to handle them ok too - guess the AIEngine strips out unnecessary spaces in regexes.)
Posts 7,193 - 7,204 of 8,681
Bev
17 years ago
17 years ago
This may be a bit late, but did you save a copy of the old txt file? Upload the good file if you did and see if that works. Then look at the older upload and see if it will upload correctly the second try.
DigitalV
17 years ago
17 years ago
Yeah..too late. I rewrote all the gotos manually. At least my bot is still new and small. Next time it messes up ill try reuploading.
The strange part is that I only changed a few lines and added uploaded just to see how it worked, and it didn't turn out so good.
The strange part is that I only changed a few lines and added uploaded just to see how it worked, and it didn't turn out so good.

prob123
17 years ago
17 years ago
Make sure you don't have numeric gotos. The number changes when you import. so use the keyphrase something like GOTO I am fine. Always keep a copy of your bot safe so you have back up.
prob123
17 years ago
17 years ago
I am having a problem with the question marks again. Some questions with a question mark go to xnone.
You: wow you have a maid?
Bot: I never eat friends, are you my friend?
You: wow you have a maid
Bot: She ran off, that's why the place is a mess.
You: wow you have a maid?
Bot: I never eat friends, are you my friend?
You: wow you have a maid
Bot: She ran off, that's why the place is a mess.
Interzone
17 years ago
17 years ago
À propos the "question mark" issue, the most effective (practical) solution I've found so far is - Regular Expression + a high keyphrase ranking.
An example:
^you dream of (*)$ (re) [50]
will correctly pick up questions such as
"you dream of flying?"
I tried the [10] and [30] rankings, but it didn't work. [50] does the trick in this particular case.
I have some ideas as to why this problem occurs at all, i.e. what's the logic behind it. Still working it out. Will report if I come up with anything helpful.
An example:
^you dream of (*)$ (re) [50]
will correctly pick up questions such as
"you dream of flying?"
I tried the [10] and [30] rankings, but it didn't work. [50] does the trick in this particular case.
I have some ideas as to why this problem occurs at all, i.e. what's the logic behind it. Still working it out. Will report if I come up with anything helpful.
prob123
17 years ago
17 years ago
The problem is, when you have a language center that's very large it is impractical to do that for each keyphrase. I wrote the Professor, and I guess he fixed it. I haven't seen the problem for a couple of days.
Interzone
17 years ago
17 years ago
You're right, prob123! All these practical workarounds are just temporary fixes, and the problems can only be solved at the Engine level.
Glad to hear that Professor is responsive to questions, suggestions, enquieres, etc, of this kind.... will send him a mail soon.
Glad to hear that Professor is responsive to questions, suggestions, enquieres, etc, of this kind.... will send him a mail soon.
psimagus
17 years ago
17 years ago
You: wow you have a maid?
Bot: I never eat friends, are you my friend?
You're specifying the question mark with a regex, eg:
I haven't noticed any of mine failing, though I confess I haven't been keeping up comprehensively with the transcripts lately.
prob123
17 years ago
17 years ago
the Keyphrase above is you * (have|had0 * maid. It works with an exclamation mark or a period but a question mark sends it to blab. It doesn't happen all the time. It's just one of those things where you know you have a keyphrase for a comment that went to xnone. Check and it will almost always end in a question mark.
prob123
17 years ago
17 years ago
Here is an example
You: sounds good can I have some later
Bot: Why the heck not?
Sounds good can i have some later?
Blank Message. Ending.
Emotional Analysis:
Favorites?:
What Noun?:
Considered BLAB (1).
Random Memory Number: 19 of 28
Memory Chance: 27 GossipTopic: 0 MemoryLevel: 1
No Match. (use xnone)
It will work for an exclamation mark, a period or nothing, but the question mark goes to blab.
You: you do?
Bot: What's your favorite food, I feel like cooking right now.
You: you do!
Bot: Yes....
You: You do.
Bot: Yes, I do...a lot!
You: you do
Bot: Isn't that what I just said.
You: sounds good can I have some later
Bot: Why the heck not?
Sounds good can i have some later?
Blank Message. Ending.
Emotional Analysis:
Favorites?:
What Noun?:
Considered BLAB (1).
Random Memory Number: 19 of 28
Memory Chance: 27 GossipTopic: 0 MemoryLevel: 1
No Match. (use xnone)
It will work for an exclamation mark, a period or nothing, but the question mark goes to blab.
You: you do?
Bot: What's your favorite food, I feel like cooking right now.
You: you do!
Bot: Yes....
You: You do.
Bot: Yes, I do...a lot!
You: you do
Bot: Isn't that what I just said.
psimagus
17 years ago
17 years ago
the Keyphrase above is you * (have|had0 * maid. It works with an exclamation mark or a period but a question mark sends it to blab. It doesn't happen all the time. It's just one of those things where you know you have a keyphrase for a comment that went to xnone. Check and it will almost always end in a question mark.
Ah - I must admit it has never occurred to me to try adding punctuation without a regex (I've always assumed it would fail, since so much punctuation comprises reserved regex characters - and the AIEngine uses regex for its own purposes, even when users don't specify it for theirs.)
I imagine it's interpreting the query as a single character wildcard - if you change them to explicit regexes, and make sure the question mark is square-bracketed
prob123
17 years ago
17 years ago
It happens in keyphrases that are not regexes. the first example the keyphrase is "can I have" rank 10 emo 0
» More new posts: Doghead's Cosmic Bar