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.

7231 - 7245 of 7431

NEW 1 year ago #7231

Trouble is I am getting blanks, and isn't the :1 supposed to allow me to designate that as the key 1?

In the above example, i don;t even get key1 as being My Name is Instead it is completely blank.

Changing it to what you have above, it never even triggers the response anymore

NEW 1 year ago #7232

Huh... I'm not sure. I never really played around with assigning keys. My name thing is set up kind of like this:

Settings: default (name) as "name";

KP: (my name is|i am called|call me) (*)
AI script: rem (key2) as only "name"

Response: '(mem-name).' She echoes as though tasting the name and trying to determine if she enjoys it. 'Should I call you (mem-name) then?'

Edit: If they say yes, then all is well. If they say no on the other hand..

Response: Alright then,
AI script: rem (name) as only "name"

Which is pretty much the default Username. Guest34534 or whatever their log in name is.

NEW 1 year ago #7233

SSremla, I have something like this:

Keyphrase : (My name is|I am|It is)
Response : Hello, (postkey). What is your gender?
AI Script : rem (postkey) as only "playername"

give it a whirl. I dont really like using postkeys, they could bite you later on, but for something as common and fairly "uncomplicated" as giving your name. This should work.
Good luck.

NEW 1 year ago #7234

Ill try it and report back. I'm hoping to get it to work with keys though. This is supposed end up as an RP bot, so there will be many areas and such to do with and i want to avoid cross contamination heh

NEW 1 year ago #7235

Much like Wimpied did earlier, I'd like to make a suggestion on how to improve the ai engine.

Now we know the engine reprocesses user inputs in order to "interpret' it in a sense. However on many occasions it will change what would have been an exact match to a keyphrase into something that doesn't match with anything, therefore going to xnone, or xcommand or whatever it deems fit.

The reprocessed message always takes priority. I'd like to suggest that it be changed in order to prioritize matches. If the reprocessed message matches a particular keyphrase but the raw doesn't. Then go with that. However if the raw version is a match for something, then go with the raw instead.

NEW 1 year ago #7236

Quick question, does anyone know how to make a bot remember a name if the person it is talking to does not enter any Key words? I've been having that problem at the moment, and I've tried changing how he words the question a couple of time now, to no effect.

Example: Bot - May I know your name?
Guest123321 - Alice
Bot - I'm sorry, I do not speak well yet

I have set up the memory script, and it does work when any of the keywords are entered, i.e. - I am, Call me, my name is, ect... I could really use the help

NEW 1 year ago #7237

@ Theris, try that:
Bot: May i know your name?
seek: (*)
Aiscript: rem (key1) as "only" name
Responses: Nice to meet you (mem-name)
So Theris, in this case your bot will reply saying nice to meet you Alice and this construction will permit to catch every reply and every name...let's hope guests will reply with their name, that's the only risk because if they reply something like "don't bother" the bot will remember it like a name. But you know, also guests should reply making sense not just chatbots

NEW 1 year ago #7238

@ Laptop

Thanks Laptop, that little bit was starting to drive me mad lol. looks like your fix is working though, so thats one problem I can finally cross off ^^

NEW 1 year ago #7239

Can I build a short Time delay in to my bot answer..... The chatbot answers come up so fast it dose not feel natural. I would like to maybe build a short delay in to my answers, if possible. Thanks.

NEW 1 year ago #7240

Can I build a short Time delay in to my bot answer..... The chatbot answers come up so fast it dose not feel natural. I would like to maybe build a short delay in to my answers, if possible. Thanks.

NEW 1 year ago #7241

So, could I use the debugger to somehow make keys out of speech patterns? Like if I put in a phrase such as "It's so important to your future that you not finish that sentence" could I one of the patterns that it generates to identify similar speech patterns? I tried the (p)(v)(r) (a) (e)(d)(n) (p) (p)(r) (v)(d) (n)sequence that the debugger listed when I put in the phrase as a keyword, but it couldn't identify it. Maybe the generated (NP) and (VP) sequence would work better?

Right now I'm working with phrases incorporating a few key words interspersed with * and (*) wildcards, and it's a bit hit or miss. The custom plug-in I made isn't really working at all.

NEW 1 year ago #7242

Why does this happen? When my bot responds to anything I say, it works perfectly, but theres a problem. It also triggers xnone or xnonesense most of the time i say something to him. So my bot says his response normally, and then after that he says a random xnone line. How do I stop him from saying so many xnone lines?

NEW 1 year ago #7243

Does anyone know if there is a way to use the Inner Life: Short term memories. This is not mentioned anywhere in the BOAI that I can find but it must be recorded for a reason.

NEW 1 year ago #7244

Yes, I was wondering about that too. It would be interesting be able to utilize them somehow.

NEW 1 year ago #7245

"Forgetting" doesn't seem to work. It won't accept it in the AI box at all. Not even when I tried copying and pasting the BOAI example after I couldn't get mine to work, so I'm pretty sure I'm not just making a mistake.

Posts 7231 - 7245 of 7431

» More new posts: Bug Stomp