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 8,003 - 8,016 of 8,681
Posts 8,003 - 8,016 of 8,681
Sam Little
12 years ago
12 years ago
The AI engine seems to be stripping AI script out of xkeyphrase responses AND regular keyphrase responses. I've got several xnone responses that I want to use AI script with, such as:
I'm sorry, I didn't catch your name... {PF? if (mem-name) is "sweetie"; once; ?}
(I'm using curly bracket because the forum doesn't like the gt and lt characters.) Maybe that's the problem? How do I fix it?
The language center seems to be stripping the AI script entered after the responses as well.
I am also losing the "once only" designator on the first response only. The rest of them seem to be staying put.
Or is there some rule against using AI script in x-keyphrases? Or is my AI script incorrectly formatted?
Unless I'm doing something radically wrong, this is a bug, and a bad one.
I'm sorry, I didn't catch your name... {PF? if (mem-name) is "sweetie"; once; ?}
(I'm using curly bracket because the forum doesn't like the gt and lt characters.) Maybe that's the problem? How do I fix it?
The language center seems to be stripping the AI script entered after the responses as well.
I am also losing the "once only" designator on the first response only. The rest of them seem to be staying put.
Or is there some rule against using AI script in x-keyphrases? Or is my AI script incorrectly formatted?
Unless I'm doing something radically wrong, this is a bug, and a bad one.
Sam Little
12 years ago
12 years ago
OK, so the AI engine is importing *some* of my files correctly, and *some* files get AI script stripped out. The only difference I can see in the files is that the files that get stripped do not have keyphrases in alphabetical order, while the files that keep their keyphrases are modifications of exported files, thus are in alphabetical order.
I tested the file in alphabetical order, it still got all the AI script stripped from the file when I imported it.
Does anyone have any suggestions? As far as I can tell, the files headers are identical, the AI syntax is correct, I can't see any problems. Help!!
I tested the file in alphabetical order, it still got all the AI script stripped from the file when I imported it.
Does anyone have any suggestions? As far as I can tell, the files headers are identical, the AI syntax is correct, I can't see any problems. Help!!
Sam Little
12 years ago
12 years ago
I am completely at a loss to proceed. I cannot get the Forge to accept AI Script in my bots. I switched operating systems, word processors (using Word Pad which is supposed to work). Whether I try to import a language file with script in it, or enter the script after a response in the on-line Language Center, the script is stripped from the response.
I really am at my wits end. Any suggestions would be greatly appreciated. I don't know how you guys do it. I would like to find out. Please, please, please help.
I really am at my wits end. Any suggestions would be greatly appreciated. I don't know how you guys do it. I would like to find out. Please, please, please help.
Ronnie075
12 years ago
12 years ago
Sam Little,
I just uploaded a file and looked at xkeywords and found all scripts in place. You need to click on "edit" to see the scripts and seeks.
Also, your regex ("^[A-Za-z]$") (re) has wrong syntax. Lose the "quotes" for starters and maybe ( ) are in the wrong place.
try this: ^([A-Za-z]+)$ (re)
BTW, this will not match "James Bond" but this would - ([\\w\\s]+) - but the last line will match almost anything... might as well use (*)
I just uploaded a file and looked at xkeywords and found all scripts in place. You need to click on "edit" to see the scripts and seeks.
Also, your regex ("^[A-Za-z]$") (re) has wrong syntax. Lose the "quotes" for starters and maybe ( ) are in the wrong place.
try this: ^([A-Za-z]+)$ (re)
BTW, this will not match "James Bond" but this would - ([\\w\\s]+) - but the last line will match almost anything... might as well use (*)
Sam Little
11 years ago
11 years ago
Ronnie075, will ^([A-Za-z]+)$ (re) match the 'James' part of 'James Bond'? If so, that's fine. I don't have a problem with my bot responding: "I will call you James, then" when she asks: "What is your name?" and gets the response: "James Bond"
If he responds "My name is James Bond" then the "my name is" keyphrase will pick up "James Bond" as (postkey) so that part is covered already. But I have problems getting my bot to recognize one word answers with no actual words to work with for a key phrase.
If he responds "My name is James Bond" then the "my name is" keyphrase will pick up "James Bond" as (postkey) so that part is covered already. But I have problems getting my bot to recognize one word answers with no actual words to work with for a key phrase.
Mome Rath
11 years ago
11 years ago
Sam Little
No, that RegEx won't match a *part* of an input line. The ^ means that the match must begin at the beginning of the line, and the $ that it must end at the end of the line.
^([A-Za-z]+) (re)
would match the 'James' part. It wouldn't match names with diacriticals like 'Rüdiger' or 'Søren'. You might try
^(\\\\w+) (re)
No, that RegEx won't match a *part* of an input line. The ^ means that the match must begin at the beginning of the line, and the $ that it must end at the end of the line.
^([A-Za-z]+) (re)
would match the 'James' part. It wouldn't match names with diacriticals like 'Rüdiger' or 'Søren'. You might try
^(\\\\w+) (re)
Sam Little
11 years ago
11 years ago
Seems that this error just affects bots talking to someone they know. I can chat when I am not logged in, or chat with a new bot, but get the error when I log in and try to chat with a familiar bot.
Mome Rath
11 years ago
11 years ago
Maybe that depends on the bot, too. I could talk without any problems to some bots that opened their own popup chat window, and to the new bot Fairy Honeydew. A bot-to-bot convo stopped due to the same SQL error (except it is "xnone" instead of "xinitiate").
starchildDaily
11 years ago
11 years ago
I keep getting about the same error Minecraft. Not sure if anyone can get into chat with any bots.
Sam Little
11 years ago
11 years ago
I can chat with some bots. It seems like the older bots work, bots that have been updated recently get the error. I haven't tested that rigorously, it's just an impression.
starchildDaily
11 years ago
11 years ago
Any ideas about what can be done to fix this issue? Message #8010 and #8013 are what i am referring to.
» More new posts: Doghead's Cosmic Bar