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,141 - 7,152 of 7,766

9 years ago #7141
I have not seen him yet but I can toss a email at him.

9 years ago #7142
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?

9 years ago #7143
I believe this sentence is part of the template, you can't change it.

9 years ago #7144
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.

9 years ago #7145
I agree

9 years ago #7146
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?

9 years ago #7147
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)

9 years ago #7148
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.)

9 years ago #7149
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"?

9 years ago #7150
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?

8 years ago #7151
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.

8 years ago #7152
@Polaris Go to the bots settings and turn off detect repetition or whatever its called.


Posts 7,141 - 7,152 of 7,766

» More new posts: Doghead's Cosmic Bar