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,140 - 7,151 of 7,766
Posts 7,140 - 7,151 of 7,766
sikkems99
9 years ago
9 years ago
Hello. I'm new here and I've only just started to dabble in the use of AIScripts.
I've got a bot to remember the names of people it talks to, but I'm having a problem with a default phrase that comes up when someone repeats the same phrase.
Bot: "Yes, Guest*****, I've heard that one before."
It clearly uses (name) but it looks odd when my bot has already remembered and referred to the user by the name remembered in (mem-name). Is there a way to either edit this phrase to use (mem-name) instead or to remove this phrase from being used at all when a user repeats themselves?
I've got a bot to remember the names of people it talks to, but I'm having a problem with a default phrase that comes up when someone repeats the same phrase.
Bot: "Yes, Guest*****, I've heard that one before."
It clearly uses (name) but it looks odd when my bot has already remembered and referred to the user by the name remembered in (mem-name). Is there a way to either edit this phrase to use (mem-name) instead or to remove this phrase from being used at all when a user repeats themselves?
sikkems99
9 years ago
9 years ago
Thanks. But that's a shame that it can't be changed. It would have been nice if we could have changed those messages like with the messages shown in the x-keywords.
cathari
9 years ago
9 years ago
I'm a little confused about the gender aspect. I know you can use the if male and if female scripts to tailor responses based on gender, but I'm having issues where no response is chosen because the bot doesn't know the gender, even though the user has stated it. Is there something I need to do to set this as a variable when the user declares their gender?
xray1324
9 years ago
9 years ago
How do you make a bot respond with your name when you say my name is ..... and when the bot should respond with your name on other statements (second one is memory, other one isnt)
Mome Rath
9 years ago
9 years ago
xray1324
There is a (very) short tutorial in the Book of AI:
http://www.personalityforge.com/book-expert.php#memorytutorial
If you want to call the user by name in the direct response, you have to use the same key as in the setting of the name - (mem-name) doesn't work right there. (This is the case with all memories.)
(And the memory tutorial isn't in the expert section without a reason. It is rather hard to do if you're neither experienced with PF bots nor a programmer.)
There is a (very) short tutorial in the Book of AI:
http://www.personalityforge.com/book-expert.php#memorytutorial
If you want to call the user by name in the direct response, you have to use the same key as in the setting of the name - (mem-name) doesn't work right there. (This is the case with all memories.)
(And the memory tutorial isn't in the expert section without a reason. It is rather hard to do if you're neither experienced with PF bots nor a programmer.)
sikkems99
8 years ago
8 years ago
I've just started to try out using raw mode, since I need to make my bot recognise words that the keyphrase's processes keep correcting.
Problem is I can't seem to figure out where or how to write things out in raw mode. I've gone through the Book of AI, and have even copy pasted its phrases into a test bot to see exactly how it's meant to be written, where, and if it'd work. So far, it hasn't worked and there isn't enough info in the Book of AI for me to figure out where I'm going wrong.
So, a question for anyone with experience in using raw mode: How exactly should I be writing keyphraes into raw mode, and where would I be putting it? If an example is needed, how would I get a bot to recognise "Einstein" or "Bohr"?
Problem is I can't seem to figure out where or how to write things out in raw mode. I've gone through the Book of AI, and have even copy pasted its phrases into a test bot to see exactly how it's meant to be written, where, and if it'd work. So far, it hasn't worked and there isn't enough info in the Book of AI for me to figure out where I'm going wrong.
So, a question for anyone with experience in using raw mode: How exactly should I be writing keyphraes into raw mode, and where would I be putting it? If an example is needed, how would I get a bot to recognise "Einstein" or "Bohr"?
Orasa
8 years ago
8 years ago
I've been trying to set up a new keyphrase but my bot simply won't recognize/response to it. Here's the coding...
generate HS character
Your name is (hsname10789). You are a HUMAN. Your blood is RED like every other human ever, you IDIOT why is that a thing you need to know? Your Guardian is your (relation). You have been TOGETHER AS LONG AS YOU REMEMBER. Your hobbies are (hobby) and (hobby2). You REALLY LIKE (adj) clothing and you tend to wear the SYMBOL of a (object) at ALL TIMES
The first plug in is one I created, the rest are all standard. What am I doing wrong? Or is this a bug?
generate HS character
Your name is (hsname10789). You are a HUMAN. Your blood is RED like every other human ever, you IDIOT why is that a thing you need to know? Your Guardian is your (relation). You have been TOGETHER AS LONG AS YOU REMEMBER. Your hobbies are (hobby) and (hobby2). You REALLY LIKE (adj) clothing and you tend to wear the SYMBOL of a (object) at ALL TIMES
The first plug in is one I created, the rest are all standard. What am I doing wrong? Or is this a bug?
polaris
8 years ago
8 years ago
Is there any way to allow a response to be repeated? My bot asks some yes or no questions and it won't allow the user to say "yes" twice in a row.
» More new posts: Doghead's Cosmic Bar