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,890 - 6,901 of 7,766

15 years ago #6890
accepted for import is 1 Meg.
No, my bots are well over that and can import.

What keyphrase are you trying to catch?
Try things like (talk|talked|talking)

15 years ago #6891
Great! This is good to know we can exceed 1 meg. I will stop using word(s|) format from now on and use (word|words) format as I saw in keynomes on BJ home page.

15 years ago #6892
Yeah, my file is damn near 6mb.. and it keeps growing.

A good combination of self memories and plug-ins should generally keep your file size down.

15 years ago #6893
At last managed to match: "What rhymes with" had to use regex
What ([r]+)([hymes]+) with (re) <?PF raw; ?>

But this is so strange, why would the AI engine not match such a simple keyphrase? It thinks Rhymes is a male name, but still stange.

15 years ago #6894
I just used things like
(rhyme|rhymes) * (brown|town|gown|down|clown|frown|noun) (re)
or
(rhyme|rhymes) * ([abcdefghijklmnopqrstuvwxyz]+)(aled|ailed) (re)
works for me

This covers keyphrases like 'rhyme lime for me' or can you find rhymes for nailed. etc..

I have ran rhyme and rhymes through debug and don't see it getting read as a name. Check out any plugins you have for names and rank the rhyme ones higher.
You: Rhyme time
Bot: I'll try lime, time, rhyme, thyme.

15 years ago #6895
The above keyphrase will catch most rhyme questions like
Do you know a word that rhymes with .....
What rhymes with .....
Can you rhyme ....
is there a rhyme for ....
Rhyme ....
Is there a rhyme for ....
etc
People can as a simple question in a thousand ways it seems

15 years ago #6896
Thanks, I see both your keyphrases are regular expressions. For some reason the AI engine refused to match un-regexed word "rhymes". It thought it was a male name but sent it to Blab. I will just use regexes. Problem solved.

15 years ago #6897
Wow, Forge is running great.

15 years ago #6898
I love this site!!! but I do have a question tho what is an AIscript? and how do you make it.

15 years ago #6899
that's like asking "What is the Book of AI, and how do I read it??"


15 years ago #6900
You don't need to use AI script at first. I would suggest that you start filling in all the xkeyphrases, and make some simple keyphrases for the most commonly said phrases.
Like:
you are (*)
are you (*)
How are you
where do you live
When you get used to building bots you can start with simple memories.
Basically AI script tells the engine to do something. Like save a memory, or check for a time, or a condition. You can do all sorts of fun things with AI script. you can have responses only happen if it's a certain time, or to a certain type of person etc. Look in the Book of AI. under the expert section

14 years ago #6901
are bots' responses bleeding over onto other bots'? every now and then my bot says like a paragraph when I have no response for her that is so long.

and is there a way to override input thought to be a command? even at rank of 50, someone said a keyphrase exactly as i have it in to check for and my bot responds with xcommand responses.


Posts 6,890 - 6,901 of 7,766

» More new posts: Doghead's Cosmic Bar