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,645 - 7,656 of 7,766
Posts 7,645 - 7,656 of 7,766
Emily Jones
2 years ago
2 years ago
'once' is pretty much useless, IMHO. I used to use it for similar situations in xnones, but have stopped doing so once I realized that your bot remembers that once has been hit forever... it doesn't seem possible to reset the flag, even if the user logs out and goes away for a long time or whatever. You're better off just using a memory to do the same job.
Emily Jones
2 years ago
2 years ago
@bobstack
Shouldn't be too hard to set up. I think the only thing that would be kind of a nuisance is that PF doesn't have a way to add or subtract numbers together, so there isn't really an elegant way to keep score other than a very painful brute force memory solution.
Shouldn't be too hard to set up. I think the only thing that would be kind of a nuisance is that PF doesn't have a way to add or subtract numbers together, so there isn't really an elegant way to keep score other than a very painful brute force memory solution.
bobstack
2 years ago
2 years ago
i mean questions like.
which of these things is a food? glass,metal,slime,grapes,peanuts or wood
which of these things is a food? glass,metal,slime,grapes,peanuts or wood
ecksdude
2 years ago
2 years ago
How can I match a numeric value without any text around it?
So if the user simply types "5", I *think* it should show up as (key1), but it does not.
the matching rule is: ([0-9])
Nothing more. But every time I put a number in, it just defaults to xnone or something.
So if the user simply types "5", I *think* it should show up as (key1), but it does not.
the matching rule is: ([0-9])
Nothing more. But every time I put a number in, it just defaults to xnone or something.
Zeig Wolf
2 years ago
2 years ago
Numbers are always read as digits by the engine regardless.
I can't seem to replicate the problem you're having ecksdude. I added ([0-9]) alone to my bot to test, it's reading and responding just fine, and applying the number to (key1). The only problem I can see with your setup is if you're trying to match numbers above 9 or below 0?
I can't seem to replicate the problem you're having ecksdude. I added ([0-9]) alone to my bot to test, it's reading and responding just fine, and applying the number to (key1). The only problem I can see with your setup is if you're trying to match numbers above 9 or below 0?
fungamer2-2
2 years ago
2 years ago
What does xgottago do? There doesn't seem to be anything about it in The Book of AI
bobstack
2 years ago
2 years ago
it is right here.
Compound Sentences
When turned on, Responses that are short statements will sometimes be followed by an xnone, xmemory, xgossip, or xemote. This generally helps the flow of conversation, and it's recommended to have it on. It's especially useful for Storyteller Bots.
Compound Sentences
When turned on, Responses that are short statements will sometimes be followed by an xnone, xmemory, xgossip, or xemote. This generally helps the flow of conversation, and it's recommended to have it on. It's especially useful for Storyteller Bots.
bobstack
2 years ago
2 years ago
this is what i am getting when i put a response in xnone.
ERROR: This doesn't appear to be a Keyphrase for a bot you own.
ERROR: This doesn't appear to be a Keyphrase for a bot you own.
bobstack
2 years ago
2 years ago
fun lady chatbot
this is what i am getting when i put a response in xnone.
ERROR: This doesn't appear to be a Keyphrase for a bot you own.
this is what i am getting when i put a response in xnone.
ERROR: This doesn't appear to be a Keyphrase for a bot you own.
CrazEE
2 years ago
2 years ago
im having a hard time figuring almost everything. I need to know more ai script and more conditional responses. I needed help with this
bot: hey what are your favorite movies?
person: (he/she mentions a movie)
bot: oh i love those!
basically. the bot didn't look for any keyphrase or seek. and ignored the person but it looked like the bot really read the person's answer. Does anyone know how to do this?
bot: hey what are your favorite movies?
person: (he/she mentions a movie)
bot: oh i love those!
basically. the bot didn't look for any keyphrase or seek. and ignored the person but it looked like the bot really read the person's answer. Does anyone know how to do this?
» More new posts: Doghead's Cosmic Bar