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 6,904 - 6,915 of 7,766

14 years ago #6904
Hi

The most common answer to this question is to read the Book of AI

14 years ago #6905
Anonymoose.
Hi, hello, etc fall into the xhello under the xkeywords.

14 years ago #6906
i did read the book, i read the entire book, and i cant find a thing

14 years ago #6907
edit, sorry for double post, it talks about the greetings and stuff in special key-phrases but it doesn't go into detail.

14 years ago #6908
Anonymoose,

It means you have to add your own responces to Xhello, xinitiate etc, rather than create your own Hello keyphrase.

14 years ago #6909
The best way to start is to fill in all the xkeyphrases. It will get your bot responding fairly well

14 years ago #6910
whats up with the transcripts picking up on random bots. or am i the only one with this? i always get 2 or 3 bots fucking in my trans, maybe most people wouldn't mind, but i don't really like c-sex.

can i do an x-command or ultimatimum of the code. PLZZ HELP!!!

14 years ago #6911
It's a bleed over that happens to everyone.

14 years ago #6912
maybe they should make it a feature.

14 years ago #6913
Bleed-overs so far have not happened to my bot. At lease I have not spotted any yet. Not since I removed (sex) from def (sex) as "sex" in Initiation. It should have been def "sex" as "sex"

14 years ago #6914
Quest question for the more experienced guys. I'm new and was trying something with my bot. I've been giving a keyword where the user is supposed to ask it "Do you have... " and based upon what is inputted it's supposed to put into a variable, and based upon the variable it's supposed to give a certain response.

What I've been doing is <?PF remember (postkey) as only "recent"; ?> within the aiscript. It's then supposed to check if "recent" has a certain value. As an example one of it's responses was: "Well I do have a couple of family heirlooms. <?PF if (mem-recent) is "heirlooms"; ?> "

That didn't quite work because it didn't see that the variable of "recent" didn't even exist yet. But when I asked it something else like "Do you have any ice cream?" It would seemed to have saved the word "heirlooms" from my previous statement and used that.

So I figured out that it wasn't saving the unputted word until AFTER it came to a response.

I then tried gotos, which didn't work, I made it check if "recent" existed, if it didn't I would make it remember the postkey and then goto another keyword which would then check if (mem-recent) existed and if it did it would then goto another keyword that would give a correct result depending on what "recent" was.

It seemed to be working, but then it did the exact same thing, it wouldn't save postkey into "recent" until it already gave it's response, so the response was the wrong one that I wanted. It would give the correct response to my previous question on my next question.

So my question being, is there any way to make the bot check the postkey for it's value and give a response based upon that? Or perhaps make it put the postkey into the "recent" variable before it checks the variable so it could give the correct response?

Thanks for anything you guys could do, I've checked the AI book, but I just don't seem to find anything that could help, it could just be me though

14 years ago #6915
No, there isn't. You have to save the memory first before you can do anything with it.


Posts 6,904 - 6,915 of 7,766

» More new posts: Doghead's Cosmic Bar