The AI Engine
This forum is for discussion of how The Personality Forge's AI Engine works. This is the place for questions on what means what, how to script, and ideas and plans for the Engine.
Posts 5,113 - 5,124 of 7,766
Is there any way to (quickly) find which keyphrase is causing the error?
It's easy enough to check if you have Textpad - sort the lines so all the keyphrases are at the beginning (see Personality forum message #3906 for more detailed coverage of this.)
Then position your mouse pointer level with column 150 (or stick a small piece of paper to the screen at that level,) and use page down to scroll through looking for lines that pass the 150 mark. It's probably possible to sort by line length, but given that I was able to check mine (7600 lines) in about a minute this way, I haven't bothered to look it up.
I find that I have four keyphrases longer than this limit:
153, 157, 160, 164 characters long. But it's been so long since I was able to import, and they work perfectly well, so I see no need to change them.
Would it be possible to make the keyphrase that was just added automatically appear in the Language Center by itself once the page loads? Kind of the same as searching for that keyphrase, only it would appear once you add that keyphrase to your bot. Is this even making any sense?
Yes, perfect sense. It would be a very useful feature, but only the Prof could implement it or know how much effort it would take to implement.
Is there any way to (quickly) find
Use the normal load check box on your upload and it should stop at the problem The expert box doesnt show the lines..It takes more time, but it also shows any duplications with a 2x after the lines, very handy!
Is there a way to add memories when your bot has chatted with someone, but not remembered anything for them yet? Editing existing memories works fine, but it'd be nice to add what info you can gain from the transcripts... or am I missing something?
Posts 5,113 - 5,124 of 7,766
montag77
19 years ago
19 years ago
I've been unable to import my bot's language centre because of the following error message:
ERROR: Your Keyphrase is too long. Keyphrases should be short and general, and lists should only cover the most likely possibilities. Please shorten to under 150 characters.
Is there any way to (quickly) find which keyphrase is causing the error? I haven't been able to find it so far.
Thanks
ERROR: Your Keyphrase is too long. Keyphrases should be short and general, and lists should only cover the most likely possibilities. Please shorten to under 150 characters.
Is there any way to (quickly) find which keyphrase is causing the error? I haven't been able to find it so far.
Thanks
LunaGaurd
19 years ago
19 years ago
I can't help but notice how annoying it is to have to do a search for your keyphrase if you want to add lots of seeks. For example, I was making it so that JT could sing 'Imagine' by A Perfect Circle (originally by John Lennon) line by line, and I had to keep entering the keyphrase into the search box and doing a search on it before each seek.
Would it be possible to make the keyphrase that was just added automatically appear in the Language Center by itself once the page loads? Kind of the same as searching for that keyphrase, only it would appear once you add that keyphrase to your bot. Is this even making any sense?
Would it be possible to make the keyphrase that was just added automatically appear in the Language Center by itself once the page loads? Kind of the same as searching for that keyphrase, only it would appear once you add that keyphrase to your bot. Is this even making any sense?

psimagus
19 years ago
19 years ago
It's easy enough to check if you have Textpad - sort the lines so all the keyphrases are at the beginning (see Personality forum message #3906 for more detailed coverage of this.)
Then position your mouse pointer level with column 150 (or stick a small piece of paper to the screen at that level,) and use page down to scroll through looking for lines that pass the 150 mark. It's probably possible to sort by line length, but given that I was able to check mine (7600 lines) in about a minute this way, I haven't bothered to look it up.
I find that I have four keyphrases longer than this limit:
153, 157, 160, 164 characters long. But it's been so long since I was able to import, and they work perfectly well, so I see no need to change them.
psimagus
19 years ago
19 years ago
Yes, perfect sense. It would be a very useful feature, but only the Prof could implement it or know how much effort it would take to implement.
prob123
19 years ago
19 years ago
alc003
19 years ago
19 years ago
I'd be nice if you could somehow delete memories through a keyphrase or seek. I'm trying to do a mad lib system...it seems to work, but once it's over, you have a bunch of junk memories left which have to be deleted manually. You just need to remember that they played, not every answer they gave you.
dallymo
19 years ago
19 years ago
alc, you might try doing that in your AI initialization script--you could instruct your bot to remember "blank" as the value for those memories. Then, if a particular memory is "blank" (it's the word "blank", not a null value), you could use AI script to prompt your bot to use (or not) any of those responses, depending on the value of the memory. It doesn't eliminate the memories, so they still show up in the bot's memories of the other chatter, but the AI script initialization can make your bot "forget" the previous answers the next time they chat with that person/bot.
alc003
19 years ago
19 years ago
I understand what you're saying-I use a similar method for changing topics. But after thinking more, I'll just keep them, that way they can be recycled for another mad lib. There doesn't seem to be a way to delete memories, the most I can do is get it down to nothing.
SubliminaLiar
19 years ago
19 years ago
Is there a way to add memories when your bot has chatted with someone, but not remembered anything for them yet? Editing existing memories works fine, but it'd be nice to add what info you can gain from the transcripts... or am I missing something?
prob123
19 years ago
19 years ago
when I first started, I type rem flagon of ale as favorite drink in the AIScript Initialization box on the settings page..it gave everyone that Bildgesmythe ever talked to flagon of ale as a favorite drink..So I guess you could start a more general catagory, like mem you are it would add it to every bot then you could insert what ever you wanted after.
Ulrike
19 years ago
19 years ago
Until the memory exists, you can't edit/add stuff to it. But you CAN set a default value in the AIScript Initialization for the bot. A common example straight from the Book of AI is [default (name) as "(nickname)"] whcich gives the bot something to use for mem-nickname, even if the other chatter hasn't said "call me X"
But you can initialize any memory that way, and once it exists you can edit it. Like [default "none" as "youlike"] Just click on "settings" for the bot, and type your defaults in the AIScript initialization box (without the square brackets) and separate multiple defaults with a semicolon.
But you can initialize any memory that way, and once it exists you can edit it. Like [default "none" as "youlike"] Just click on "settings" for the bot, and type your defaults in the AIScript initialization box (without the square brackets) and separate multiple defaults with a semicolon.
» More new posts: Doghead's Cosmic Bar