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 7,217 - 7,228 of 7,766

7 years ago #7217
The site works fine on my phone so it must be something on my end. Any ideas? I get these errors when checking browser console on the site: http://imgur.com/a/FNS06

7 years ago #7218
Hey everyone. I have a couple of newbie questions I'm hoping someone could answer.

I've noticed in recent days that certain keyphrases which used to work fine no longer work properly. In particular the question 'How old are you?'

The kp only works if user neglects to add a ? otherwise it responds with an xnone statement. Adding a question mark to the kp itself had no effect.

Any thoughts?

7 years ago #7219
Well... these forums are pretty dead but I thought I'd just say that I finally figured out a fix. According to Debug the phrase "How old are you" was being reprocessed as "How are old you"

Even using Raw wasn't working. (bug with the site?)

In any event I fixed it by changing the keyphrase to: (how old are you|how are old you)

Maybe this will help someone who has the same problem in the future.

7 years ago #7220
@Nathan S Thanks, Nathan. I've been having issues with getting xnone responses for what I thought should have been an exact match of the kp (even using raw). I'll have to take a closer look at the debug. Otherwise, yeah, the site seems to be devoid of activity. Not sure what has happened.

7 years ago #7221
Yeah, the answer is definately in the debug. I keep pulling these bugs out like weeds. My latest and favorite of all is 'no' getting translated into 'you may not' and then matched with 'you may'

It would be funny if it wasn't so much work.

7 years ago #7222
Are you able to report these bugs to anyone in admin?

7 years ago #7223
I haven't yet just because I've been able to fix them. Honestly I think this is just part of the program, after all the Bot's are supposed to "learn" and "Grow smarter"

The best solution I can think of is to add an option in the settings called "Stop trying to help me, I got this"

But considering the age of the site I'm content just to press on. If I ever come across a situation I can't resolve myself I'll seek out the admins.

7 years ago #7224
I wish there was a way to have something like a custom incremental value. I'm building a girlfriend both, but some guys just take advantage. I'd like to have my bot not be as "easy", but also not be impossible... (once you have earned it)

7 years ago #7225
I hear you. I'm working on a very similar project. The transcripts fascinate me. On the one hand you get users who immediately discover what I've started to call "Checkmate in four moves" while others are completely baffled by my bot even after they type "Help" for tips. The latter became so bad that I built a "pity-f***" mechanic for people achieve max friendship but don't know what to do next.

Your best bet is probably to err on the side of easy, and make sure you assign -1 to phrases that are clearly not in the spirit of your bot. After all there are plenty of adult bots who give you whatever you want just for asking.

7 years ago #7226
I have thought about this, and I think LarsB made a suggestion similar. Have a simple state machine. Let's call it good old 1st base, 2nd base, 3rd base, home. Catch all common "checkmate" phrases, and assign them - 1 emotion to offset the default +1 from the engine. Catch certain phrases that are 'permitted' to advance the emotion level without offsetting them with the - 1. Let the user build up emotion, until he gets to next base, then set emotion back to 0. Rinse and repeat lol. Obviously this is extremely tedious as your aiscript catches will be numerous, but it should work.
I think this is how Tessy (my favorite) bot works, with the locations being the "bases" in this case. I will give it a whirl and see how my bot performs. Really hoped there was a better way.
Another question though. What is the AI score next to the bot name? I see my bots score increasing on its own?

7 years ago #7227
I hope The Professor sees this, since I want to make a suggestion for the learning center. I hope this is the right forum for this. Professor, would it be possible to add color coding to keyphrases? Just having certain kp appear in a different color, can possibly help to organize things better. Especially for newbies like me.

7 years ago #7228
So I was noticing a problem with names in compound sentences and I came up with a solution to fix it that I thought I would share here.

But before I get into that I want to say that plug ins are awesome. For example:

KP: i am (p:namecatch-m|p:namecatch-f|p:namecatch-u)

Allows me to simply say "I'm Nathan." and the bot will recognize it as a name but won't accidently catch things like "I'm sleepy."

But let's say a user doesn't want to be called a traditional name that those plug ins will catch. Let's say we have a guest who wants to be called Zoomba.

KP: (my name is|i am called|call me|call me a|refer to me as|refer to me as a|call me by my nickname|call me by my real name|call me by my first name|call me by my last name) (*) (I|you|it|pleasure|nice|happy|good|glad|sorry|terrible|is|why|what|to|too|great|shakes|kisses|reaching|reaches|hugs|more|will|tis|such|so|)

Yeah, I know it's really long and deserves it's own plug in but you get the idea. Just jack up the rank to 20. And have the ai script grab Key 2 as name and you end up with this.

You: Hello, my name is Zoomba. You look beautiful.

Bot: 'Zoomba.' She echoes as though tasting the name and trying to determine if she enjoys it. 'Should I call you Zoomba then?'

Or even better!

You: How dare you refer to me as a fool you insipid creature!

Bot: 'fool.' She echoes as though tasting the name and trying to determine if she enjoys it. 'Should I call you fool then?'

The only flaw I've found so far is that you'll have to create rank 21 or higher keyphraes to catch things like...

"Call my crazy but..." or
"You can call me anytime!"

Anyway, I just thought I'd share since I knew there were other bots out there who sometimes had trouble catching names.


Posts 7,217 - 7,228 of 7,766

» More new posts: Doghead's Cosmic Bar