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 6,234 - 6,245 of 7,768

17 years ago #6234
I think the 2nd * (==> (key2)) is the problem, unless there are responses like "What the @#$% are you doing and why are you doing it." (key2) would then be "you doing and why are", and your keyphrase would pick up.

But wait, there's more: I noticed that the engine takes out interjections, in the above example the @#$%, and there goes (key1).
Of course, my knowledge of the english language is too limited to find a substitute that could be used for (key1). Maybe a native speaker has some words?

Hope this helps.

17 years ago #6235
Thanks, LarsB. Maybe I shouldn't rely on the *. Things don't always work as advertised, or at least as understood by me, which may be two entirely different things.

17 years ago #6236
I'm just beginning to work on AI engine and I can't get anything right every time I try something I wont be accepted for example I'm trying to get my bot to ask if the other person is human, then respond differently from the answer it gets. This is what I'm putting in

<?PF remember 'yes' as only "human"; ?>

Is there any possible chance that I could actauly get to see the coding of somebody's bot who is a expert at this kind of AI engine? My bot is ubber stupid.

17 years ago #6237
That code looks almost right. I think you need double quotes around yes, though.

<?PF remember "yes" as only "human"; ?>

Just to check, I'm assuming you've got something similar to this:

Response: Are you human?
Seek: Yes
------------AIScript on Seek: <?PF remember "yes" as only "human"; ?>
Response to seek: I'll remember that.

If that doesn't work, go ahead and post the keyphrase/response that you're using with the script.

17 years ago #6238
What code would I put down if I wanted the bot to go to another line if it gets a certain response? I'm looking in the AI book but I can't find anything?

17 years ago #6239
It's not a code. It's a "seek". After entering the keyphrase and response, find it in your language center. At the top there's a column labeled "seek", and you click "add" on the line where you want the seek to be and it will take you to the form to add the seek.

17 years ago #6240
I already know how to do seeks, what I'm asking is if matches a word the other person said, then is there a way I can make it go to a line from a different response and then use that?

17 years ago #6241
You can make it go to a different keyphrase.

I am (*) human
-----goto I am human

You can also make it go to a particular part of a seek. There's a number on the seeks, usually 5 or 6 digits. So you can

goto 12345

to get to the seek with that number on it, and it will give one of the responses after the seek.

17 years ago #6242
I've made a simple chat bot system for my website. I have made a matching system so when an input is matched with a key one out of 2 responses are made. There are 5 default responses.

What things should I add to improve the bots intellegence while keeping the bot editor simple? I've already added a word converter so similar words are considered the same.

It is written in php. any ideas?

17 years ago #6243
god0fgod
hi my name is grace
*lol*

17 years ago #6244
this is my sister name not my
but cant tell you her number
beace tat well make my sister mad
and she well tell my mom
tak me off of this
but i can tell you her name have 4 sister
sorry

17 years ago #6245
this is my sister name not my

hesitant mission symmetry

but cant tell you her number

truculent, or humbly beaten?

beace tat well make my sister mad

albeit we smacked master tamely

and she well tell my mom

Hamlet mends mellowly

tak me off of this

OK! Shift off, team

but i can tell you her name have 4 sister

4? Salubriously threaten achievement

sorry

Or yrs?


Posts 6,234 - 6,245 of 7,768

» More new posts: Doghead's Cosmic Bar