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,414 - 7,425 of 7,766
Posts 7,414 - 7,425 of 7,766
bobstack
NEW 6 years ago
NEW 6 years ago
i Change it to "you like (np)" and (key1) and it worked
i have another problem. keys are not versatile enough for a servant chatbot.
here is a example of what i want to do.
keyphrase = (some dinner|to eat)
response = what do you want to eat for dinner?
seek keyphrase= (like a|i want a|give me) (np:1) a (np:2)
response=okay I will go get you (key1) and (key2).walks toward the door then opens it walks out then closes it behind her five minutes later opens the door.then pushes the antigrav table in front of you with the (key1) and (key2).here is your (key1) and (key2) enjoy. .
It does not work with keys.
i have another problem. keys are not versatile enough for a servant chatbot.
here is a example of what i want to do.
keyphrase = (some dinner|to eat)
response = what do you want to eat for dinner?
seek keyphrase= (like a|i want a|give me) (np:1) a (np:2)
response=okay I will go get you (key1) and (key2).walks toward the door then opens it walks out then closes it behind her five minutes later opens the door.then pushes the antigrav table in front of you with the (key1) and (key2).here is your (key1) and (key2) enjoy. .
It does not work with keys.
WolftheAssassin
NEW 6 years ago
NEW 6 years ago
@jkroker Thanks. Good to know that there are some nice people here. Or that people are here at all.
VoreFan
NEW 6 years ago
NEW 6 years ago
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?
jkroker
NEW 6 years ago
NEW 6 years ago
@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?
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?
MROdell48
NEW 6 years ago
NEW 6 years ago
hey, is there a way to add a restart command that starts over the chat bot with a little message?
BotMaster2000
NEW 6 years ago
NEW 6 years ago
A combination of a goto and the "forget" command used on whatever memories you want to reset?
bobstack
NEW 6 years ago
NEW 6 years ago
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);
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);
Iamasinner
NEW 6 years ago
NEW 6 years ago
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?
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?
jkroker
NEW 6 years ago
NEW 6 years ago
@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.
* 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.
» More new posts: Doghead's Cosmic Bar