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.

7517 - 7532 of 7532

NEW 7 months ago #7517

Okay I fixed it. It thought I was saying "Hail".

NEW 7 months ago #7518

Hey, I want to do a continuation of something happening to see if I can do one. So I put a text saying[ say: start ] then added a keyphrase looking for the word (start) then responding with [ say: continue ] seeking (continue) with response [ again say: continue ] seeking (continue) then responding [ done! ]

I start the conversation to test it, the first coninue works but when put it in again, the bot blames me for repeating it, and there aren't any xkeyphrases that say that.. Someone help!

NEW 7 months ago #7519


NEW 7 months ago #7520

Okay, got a few questions regarding AIscript:

1) I'd like to be able to compare number sizes and do conditionals on the results - stuff like if(key1) > (mem-storedNumber) - is there a way to do this (is that what the xmath is for? I don't really know much about that one)? I can sanitize the inputs using regex to make sure they're numbers, if that's required.

2) Again, AIScript comparisons. if I have a stored value that can be one of three things, is there a NOT operator? So if(mem-Location) is NOT \"uk\", for example.

ACcaptive - you'd probably be better off using something like xnomatch instead of continue for your seek triggers. For something like that, though, you can also look at turning off the repeating filter (or get around it by adding punctuation at the end of your message, like continue! - the punctuation is stripped out by the engine after repetition checks but before actual processing).

NEW 7 months ago #7521

Okay, I've managed to work out not commands. Still unsure on #1, though!

NEW 7 months ago #7522

I don't believe there is a way to compare numbers, at least none that I've ever found.

NEW 7 months ago #7523

does submitting a idea mean i have to pay for it's implementation?

NEW 4 months ago #7524

Is there a way to compound AIscript in order to create if-then logic? Like:

if (mem-fullness) is "hungry" then remember (fullness) as "fed";
if (mem-fullness) is "fed" then remember (fullness) as "stuffed"

On a related note, is there an "OR" function so that if even just one of several criteria is fulfilled then the conditional response can be triggered.

Basically I want to create a range like emotional range. Right now the only way I can think of doing this is to create a seek for each state of fullness, which is just not very efficient once we reach like 5+ states

NEW 4 months ago #7525

Here, this should help you out Henry:

NEW 2 months ago #7526

chatbots cannot define
a word any more.
has that been disabled?

NEW 1 month ago #7527

does personality forge chatbots have natural language understanding.

NEW 1 month ago #7528

There really needs to be a way to delete all recorded memories for bots! Unless I've just missed it somehow, if it does exist, please let me know where to find that option!

NEW 1 month ago #7529

ACcaptive, I thought there was, but couldn't find it the other day when I was hunting a bug. You can edit the self- memories, and memories related to specific users, but that would take ages to do all of them. No delete all button.

Another thing I thought used to exist was a requirement to escape " when working offline (so use \" instead). As it turns out, this changed at some point, and whilst you can use escape characters in the language centre code bit, you can't in the initialization line. That line doesn't go through the filter.

NEW 1 month ago #7530

why can't there be a sleep mode for chatbots made.
where i can a response for them sleeping.
it would continually say this until the time is up.
example something like you see Edward sleeping in his bed.
I was having trouble implementing this with time based responses.

NEW 1 month ago #7531

There's no reason in principle you can't do this... the problem is you basically need to catch EVERY possible query that the user can input and go to this one message. I don't know if there's really any way to do this other than to manually put a conditional into every message that it checks and redirects if needed, which is, needless to say, rather painful to do if your bot is of any significant size.

It might not be SO bad in practical terms. I have something like this set up for Emily, where she gets so furious she won't talk to you anymore. I have memory flag that gets triggered when this happens, and I check it against xnone, xcommand, xnonsense and the 10 or so most likely queries to her, which is usually enough to get the message across. Even though there may be a whole bunch of responses that will still technically trigger, odds are if your bot is unresponsive your users will quickly get bored and move on rather than trying to map where there are some weaknesses in your coding. If something crops up, hopefully you can spot it in the logs.

NEW 5 days ago #7532

I am using time based response for this and other things.

(Log in or create an account to post messages.)

Forgot your password?
Create a free account to be able to make your own AI chatbots, post in forums, and chat with other botmasters.

Create Account

» More new posts: Bug Stomp