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 6,020 - 6,031 of 8,681
Posts 6,020 - 6,031 of 8,681
MickMcA
19 years ago
19 years ago
>> Don't do nickname, create a seperate value altogether.
Actually I'm doing both. I have a mem-pig that the user can "turn on" and I use the special nickname when someone is so obnoxious that I want to give them personal attention.
Now if I could just figure out what I'm doing wrong with the parts of speech....
Actually I'm doing both. I have a mem-pig that the user can "turn on" and I use the special nickname when someone is so obnoxious that I want to give them personal attention.
Now if I could just figure out what I'm doing wrong with the parts of speech....
MickMcA
19 years ago
19 years ago
I wrestling with the (verb) thingie, and it turned up a bug I've been suspicious of for some time.
When "I dance for you" matches
I (verb) [50,0]
~You (vmod)? Ok.
The Response comes out "You dance for I? Ok."
The parser consistently uses the subject rathet than object pronoun when doing a transform after a preposition.
BTW:
I (verb) [50,0]
Does NOT match
I leash you
even though the debugger parses "leash" as a verb!
When "I dance for you" matches
I (verb) [50,0]
~You (vmod)? Ok.
The Response comes out "You dance for I? Ok."
The parser consistently uses the subject rathet than object pronoun when doing a transform after a preposition.
BTW:
I (verb) [50,0]
Does NOT match
I leash you
even though the debugger parses "leash" as a verb!
MickMcA
19 years ago
19 years ago
If this is not a bug, could someone please explaninit to me? My initial AI includes
def "none" as "tmpwd";
i enjoy (adjnoun) [45,0] {?PF rem (key1) as only "tmpwd"; ?}
~(key1)?
~You like (mem-tmpwd), eh?
"I enjoy rock music" and "I enjoy rock" do not load tmpwd. What's worse, they seem to delete tmpwd entirely. I get the match on (key1)? that is expected, but the second Response always fails, even when it was the only one. The debugger reports that (mem-tmpwd) does not exist, and that is simply NOT true.
I can't tell if (key1) is not getting stored in tmpwd, but there is my default in there if nothing else. One possible explanation is that it is storing a null (key1) in tmpwd, and since tmpwd is now a null, it's dropped.
def "none" as "tmpwd";
i enjoy (adjnoun) [45,0] {?PF rem (key1) as only "tmpwd"; ?}
~(key1)?
~You like (mem-tmpwd), eh?
"I enjoy rock music" and "I enjoy rock" do not load tmpwd. What's worse, they seem to delete tmpwd entirely. I get the match on (key1)? that is expected, but the second Response always fails, even when it was the only one. The debugger reports that (mem-tmpwd) does not exist, and that is simply NOT true.
I can't tell if (key1) is not getting stored in tmpwd, but there is my default in there if nothing else. One possible explanation is that it is storing a null (key1) in tmpwd, and since tmpwd is now a null, it's dropped.
MickMcA
19 years ago
19 years ago
I found this one. The (key1) is loaded into tmpwd AFTER the Response fires, even though it is lined up with the KP. So once you have loaded "tmpwd", then the PREVIOUS (mem-tmpwd) will fire the second response. You think I'm crazy? Try it.
prob123
19 years ago
19 years ago
You have to have the (key1) to store the memory..You like (key1), eh? then after it is stored you can use (mem-tmpwd) ie. You like (key1), eh? Then I will give you (mem-tmpwd)
MickMcA
19 years ago
19 years ago
In other words I don't "have" (key1) at this point:
i enjoy (adjnoun) [45,0] {?PF rem (key1) as only "tmpwd"; ?}
If not what DO I call (adjnoun)? There is clearly something about handling the parts of speech that I'm not getting.
i enjoy (adjnoun) [45,0] {?PF rem (key1) as only "tmpwd"; ?}
If not what DO I call (adjnoun)? There is clearly something about handling the parts of speech that I'm not getting.
MickMcA
19 years ago
19 years ago
i enjoy (adjnoun) [45,0] <?PF rem (key1) as "tmpwd"; ?>
~(key1). (mem-tmpwd)??
First pass: "I enjoy green gems."
No match.
Second pass: "I enjoy red sunsets."
red sunsets. Green gems??
Third pass: "I enjoy blue days."
blue days. Red sunsets??
It is discarding the default tmpwd and then using the previous one for each match.
~(key1). (mem-tmpwd)??
First pass: "I enjoy green gems."
No match.
Second pass: "I enjoy red sunsets."
red sunsets. Green gems??
Third pass: "I enjoy blue days."
blue days. Red sunsets??
It is discarding the default tmpwd and then using the previous one for each match.
MickMcA
19 years ago
19 years ago
The following code is being passed over, even if I feed it the same KP repeatedly. I ask "What color is your bra?" and the ONLY answer I get is "My bra is a {some random color}." That I consider a bug. But what is really troubling me is that this set, when it works, requires me to load (key1) into a tmp variable and then test the variable. I can't, for example, test {?PF if (key1) is "bra"; ?> because the importer rejects those AI Scripts. And I can't set tmpwd for the scope of the set, because if I try {?PF rem (key1) as only "tmpwd";?} on the KP, it either doesn't load key1 into tmpwd at all, or it loads it AFTER selecting a response. (What is truly maddening is that sometimes it actually works as desired in Transcripts, but I have NEVER gotten it to work correctly in the debugger.)
So apparently the only way to do what I'm trying to do is to load a variable with key1 for EACH conditional Response, and then check that variable against the content of key1. I'd say, "That can't be right!" but I'm learning not to think so....
what color * your (typeof-clothing) [100,0]
~My (key1)? Black.
~You ask about my (key1)?
~My (key1)? Excuse me? {?PF rem (key1) as "tmpwd"; if (mem-tmpwd) is "panties|underwear|bra"; emo: -1; ?}
~What color is your (key1), (name)? [-4:1]
So apparently the only way to do what I'm trying to do is to load a variable with key1 for EACH conditional Response, and then check that variable against the content of key1. I'd say, "That can't be right!" but I'm learning not to think so....
what color * your (typeof-clothing) [100,0]
~My (key1)? Black.
~You ask about my (key1)?
~My (key1)? Excuse me? {?PF rem (key1) as "tmpwd"; if (mem-tmpwd) is "panties|underwear|bra"; emo: -1; ?}
~What color is your (key1), (name)? [-4:1]
alc003
19 years ago
19 years ago
You're right, you can't use <?PF if (key1) is "anything"; ?>, you have to save it to a memory. I guess that is a bit of a hassle, if you don't need it again.
Try putting this as your keyphrase:
what color (is|are) your (typeof-clothing) [100,0]
and this for the script:
<?PF remember "(key2)" as only "tmpwd"; ?>
The soft wildcard could throw things off. As for the rest of the keyphase, you'd need aiscript in each response, so the third response only shows up under those certain conditions. Also, in the third response, you need to take out the <?PF rem (key1) as "tmpwd"; ?>, since it'll be taken care of in the keyphrase.
Try putting this as your keyphrase:
what color (is|are) your (typeof-clothing) [100,0]
and this for the script:
<?PF remember "(key2)" as only "tmpwd"; ?>
The soft wildcard could throw things off. As for the rest of the keyphase, you'd need aiscript in each response, so the third response only shows up under those certain conditions. Also, in the third response, you need to take out the <?PF rem (key1) as "tmpwd"; ?>, since it'll be taken care of in the keyphrase.
Bev
19 years ago
19 years ago
Spikes KPs aree not that broad
Spikebot: You wanna slip away for a minute, luv? I'll let you blow out my candles.
Ruthie: I think you're supposed to get shot with an arrow or something.
Spikebot: You wanna slip away for a minute, luv? I'll let you blow out my candles.
Ruthie: What kind of music do you like?
Spikebot: Those strange people who keep asking me to bite them see to think so.
Ruthie: My bunny poops in the house
Spikebot: Those strange people who keep asking me to bite them see to think so.
Ruthie: I have a jar full of jellybeans in my bedroom
Spikebot: Can I have a jar full of jelly beans in your bedroom?
Ruthie: I don't get it
Spikebot: Can I have a jar full of jelly beans in your bedroom?
Ruthie: You're cool!
Spikebot: You wanna slip away for a minute, luv? I'll let you blow out my candles.
Ruthie: I think you're supposed to get shot with an arrow or something.
Spikebot: You wanna slip away for a minute, luv? I'll let you blow out my candles.
Ruthie: What kind of music do you like?
Spikebot: Those strange people who keep asking me to bite them see to think so.
Ruthie: My bunny poops in the house
Spikebot: Those strange people who keep asking me to bite them see to think so.
Ruthie: I have a jar full of jellybeans in my bedroom
Spikebot: Can I have a jar full of jelly beans in your bedroom?
Ruthie: I don't get it
Spikebot: Can I have a jar full of jelly beans in your bedroom?
Ruthie: You're cool!
Ulrike
19 years ago
19 years ago
I had something similar this week (that I can't find at the moment), where the convo did a weird jump. It went something like:
Other bot: (***)
Sonora: Response for (***)
Other bot: Something else entirely
Sonora: Another response for (***)
So the AI Engine was hiccupping, or something.
Other bot: (***)
Sonora: Response for (***)
Other bot: Something else entirely
Sonora: Another response for (***)
So the AI Engine was hiccupping, or something.
psimagus
19 years ago
19 years ago
If you look at the debug page closely, the AIEngine keeps track of "Your Last Message:" and "My Last Message:" Maybe they're getting erroneously passed into the preprocessing stage?
I've always wondered if we can use any of the keys the AIEngine uses internally, like(submod), (vmod) and (obmod). Anyone tried these in responses?
I've always wondered if we can use any of the keys the AIEngine uses internally, like
» More new posts: Doghead's Cosmic Bar