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,415 - 7,426 of 7,766

6 years ago #7415
@jkroker Thanks. Good to know that there are some nice people here. Or that people are here at all.

6 years ago #7416
I'm wondering how to get a phrase like "feeding you" to translate to "feed me". I have the "feed" part covered. However, "you" gets translated to "I", instead, and it comes out as "feed I". How do I fix this?

6 years ago #7417
Please disregard the inquiry. I found a solution. Thanks.

6 years ago #7418
@bobstack

I'm not sure what you mean by "It does not work with keys." Is the keyphrase not matching again, or is some other error happening?

6 years ago #7419
the keyphrase is not matching.

6 years ago #7420
hey, is there a way to add a restart command that starts over the chat bot with a little message?

6 years ago #7421
A combination of a goto and the "forget" command used on whatever memories you want to reset?

6 years ago #7422
chrono:does not work with xnone it triggers both when i talk to the chatbot.
the first one triggered is
Would you like some dinner? chrono: hour(180 - 220);
the the second triggered at the same time.
Would you like some breakfast? chrono: hour(60 - 90);

5 years ago #7423
keyphrases with incubi in them do not work.

5 years ago #7424
Okay, posting this here as I'm an idiot and didn't check here before posting on the newcomers chat.

I need some help wrapping my head around message cues and things. Especially certain scenarios such as when certain messages can come up, when they're denied coming up. I know there was a mention about restricting certain xnones earlier from jkroker, but that flew over my head. How, extensively, can I give the simulating experience of a "location" per se, by allowing certain xnones to be used as plot devices when certain criteria are met? Is there somewhere I can find an in-depth explanation on "if" statements and such?

5 years ago #7425
@Iamasinner well I'd recommend some baby steps playing with if statements and variables then. Just try some simple stuff like:

* remembering a user's name and saying it back later

* try having a response somewhere that only fires if their name is a certain value

* then once that's working try setting a variable as a result of hitting a certain response or triggering a certain keyword

* Then by this step you will already know how to only make a certain response come up if a variable is set the way you want, so setting the variable is like creating context for that response to become valid.

* Finally, tie all that together by making one response in your xnone only fire with a variable set a certain way, and have that response "goto" a completely made up keyword with a whole tree of responses that will only appear in the context that variable refers to.

Try things out step by step like that, and then report back on what step you have trouble with and it will be easier to get into details to help out without having to write a small book full of every detail a person might stumble across along the way, hehe.

5 years ago #7426
Hmm... Trying this, something's come up. I have no idea about any of the AIscript commands/keys. (eg mem:name or if:male.) I was wondering if there was an extensive list somewhere of all the stuff I could fiddle with... I looked in the book and there wasn't much of a list there.


Posts 7,415 - 7,426 of 7,766

» More new posts: Doghead's Cosmic Bar