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,991 - 8,002 of 8,681

12 years ago #7991
I am using a regular expression in a seek

Seek: ("^[A-Za-z]$") (re)

When I tried to edit the seek, the seek field in the Language Center turned into just "(" with the rest of the expression missing.

The original line in my file is

+ ("^[A-Za-z]+$") (re) [0] <?PF raw; rem (key1) as only "name" ?>

but when I imported it the '+' was missing from the Regular Expression (']+$' became ']$'), which I assume is why the parser did not recognize 'Samantha' as a valid entry, since it is longer than one character...


12 years ago #7992
While editing a seek in the Language Center I got an error message:
"Keyphrases should not contain any punctuation.
Your entry has been adjusted to fit this."
(seek contained apostrophes "... My name's, my name's,...")
It apparently had no effect on the content of the seek.

12 years ago #7993
Check to see if the apostrophe is still there some times it gets stripped out. Sometimes you have to use the slash apostrophe to get it to work.

12 years ago #7994
I checked, the apostrophe was still there (whew). /' or \'?

12 years ago #7995
well, the backslash went away...

Some forums where precise syntax is discussed have text boxes that are immune from html hijinks -- whatever you type into a text box is duplicated character for character with no changes.

Yeah, dream on girl...

12 years ago #7996
In files you import, you have to duplicate backslashes anyway.

I have as Seek for the name the following line in the files:

+ my name is ([\\\\w\\\\s]+) (re) [0] <?PF raw; ?>

and the assignment of mem-name is in the answers. (Should work with both AIScript instructions in one line too, though.)

(\\w stands for "word character" (letters), and \\s for "whitespace" (space, tab, line feed/carriage return))

Maybe the double quotes make trouble?

12 years ago #7997
When my bots start a conversation, I find their initiating line twice in my transcripts. (The second time with the name of the chat partner included.)

Likewise, when someone else starts a conversation, I don't find their initiating line in my transcripts at all.

12 years ago #7998
Detailed Search appears to be broken. It won't leave the first 16 bots when the "Next" link is clicked. Keeps looping to the first sixteen found by the search criteria.

12 years ago #7999
I've been having a lot of difficulty with "Language Center Import file". Seems I'd import something, and the Language center would not replace the old Language center with the new one, but would selectively replace key phrases and seeks and such based on differences between the old language center and the incoming file. Unfortunately, my Language Center got messed up in this process, and it wound up with statements I could not get rid of. Some were duplicates, some were near duplicates. I could export the bad file, fix it, re-import it, and the mistakes would still be there. I tried fixing it in the on-line Language Center, but that didn't work either.

I think I have found a work around. I created a stripped down import file: nothing but xkeyphrases, with minimal responses. I imported that, then imported my corrected file without duplicate lines, messed up indents and so on. Seems to work.

12 years ago #8000
I wonder if the repetition detector is broken or switched off intentionally.

12 years ago #8001
sometimes when I put a key phrase for example like left 4 dead sometimes the bot does not recognize the word unless it is capitalized can this be fixed because sometimes I asked my bot like mortal kombat and I think he says im a good person unless I capitalize it.

12 years ago #8002
Use raw mode, because such expressions are spell corrected otherwise, if it is recognised if capitalized that must be because that the spelling correction recognizes that as a name.

Btw, with capitalized, do you mean, "Mortal Kombat", or "MORTAL KOMBAT"?


Posts 7,991 - 8,002 of 8,681

» More new posts: Doghead's Cosmic Bar