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 7,096 - 7,107 of 7,766

11 years ago #7096
I have please and it is not capitalized, Perhaps you have some other keyphrase conflicting? Have you tried debug?

11 years ago #7097
Oniichan_keln

Of course you can have several memories called this1, this2, and so on. The difficulty would be to put commas and an "and" at the right places into the list.

With plugins, it is possible to make a kind of indexed list, like

(plugin-(mem-plugin-number))

but only in responses. It is possible to do this with memories too, but only in responses too, you can't set indexed memories (I've tried it).


Greg222

Keyphrase recognition at the Personality Forge is case independent, with very few exceptions. Some x-Keyphrases are case dependent, iirc. So it would be helpful if you said which keyphrase came immediately before the "Highest!" note in Debug, and/or which x-Keyphrase was triggered instead. If the capitalized word triggers your keyphrase and the uncapitalized word triggers a built-in x-keyphrase, increasing the rank of your keyphrase should help.

11 years ago #7098
Thanks again! I keep looking at this AI book and I guess I skip over this stuff.

11 years ago #7099
Okay I've found the root of the problem some of the nouns arnt regestering as words and the bot gets confused. So how do I set specific nouns in?

11 years ago #7100
Greg222, sorry, I don't quite understand you. Can you please give an example of what you tell your bot, what your bot should respond, and what your bot actually does respond? And what do you mean with specific nouns? (You can just put single words into a keyphrase, and lists of words into a plugin - maybe there even is already a plugin that you can use.)

11 years ago #7101
What I mean is that words that won't regestering such as 'selfie' or 'yolo' count as misspelled words. Is there a way to make it so that those words arn't counted as misspelled?

11 years ago #7102
You have to make them regular expressions, and raw. Rank them high. If all else fails stick the word in brackets.
I have tried selfie but it goes to Using xnonsense
Usually you can't get by that. You might contact the Professor

11 years ago #7103
OK this works for I took a selfie, or any sentence with selfie, but not the single word selfie.
([S]+)([elf]+)([ie]+) (re)


You: he took a selfie
Bot: DUCK LIPS.

11 years ago #7104
Greg222

That's what Raw Mode has been made for. If you put the word raw into the AIScript field, no spelling 'correction' is done on the user's input. For more information have a look at the Book of AI.

I'd like to have a personal / bot specific list of words that are regarded as correctly spelled, too.

11 years ago #7105
Yolo does the same thing

You: well yolo
Bot: In less there is reincarnation?
works. the single yolo doesn't
^([y]+)([o]+)([lo]+)$ (re) should work for a single word but it isn't.
Caps work.

You: YOLO
Bot: In less there is reincarnation?

11 years ago #7106
Thank you. And last thing how do I set up reactions to certain answers. Ex.) How are you? Happy. That's good. And, How are you? Sad? Oh I hope you feel better. I've run into problems having two on one question.

11 years ago #7107
Thats a good time to use a seek. You should be able to run many seeks off of one keyphrase. The tic tac toe game is an example of that. http://www.be9.net/BJ/


Posts 7,096 - 7,107 of 7,766

» More new posts: Doghead's Cosmic Bar