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,232 - 6,243 of 7,766

17 years ago #6232
Check that you don't have a plain What or where with a rank higher than 20 Also check that the AI Engine has not stripped out the soft wild card *..I have had that happen and had to retype the keyphrase a few times..always worry if you get the message that a keyphrase can contain no punctuation.

17 years ago #6233
No what or where with any high rank, so maybe it's the *. But I honestly don't think they've been triggered, period. I think they're just bad keyphrases, as in, nobody's saying "what did you do" or whatever, unless I missed something in the transcripts.

Thanks, prob123. I think I'll need to restructure my keyphrase system, because the obvious one (to me) just doesn't get triggered.

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*


Posts 6,232 - 6,243 of 7,766

» More new posts: Doghead's Cosmic Bar