- 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.

Message # Last Messages


Posts 7223 - 7238 of 7238 Prev


NEW

Fri 1:00 PM November 4, 2016 Message: 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.

NEW

Sun 12:13 PM November 6, 2016 Message: 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)

NEW

Sun 3:17 PM November 6, 2016 Message: 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.

NEW

Mon 12:58 PM November 7, 2016 Message: 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?

NEW

Sun 1:04 AM November 20, 2016 Message: 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.

NEW

Sun 9:48 AM November 20, 2016 Message: 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.

NEW

Sun 7:16 PM November 20, 2016 Message: 7229
Im being driven crazy here. Following the instructions given in the Book of AI.. I cant even get the first part working.

Im attempting to create an RP style bot, but just the storage of a name isnt working. This is what i got

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

Now, the response doesnt give the name! (and doesnt store it in playername which is initiated in settings) What have i missed?

NEW

Mon 2:32 AM November 21, 2016 Message: 7230
In this case, key1 is (my name is|I am|It is)

So unless those key words are in the response it will not recognize a (Key1) as existing. If on the other hand the user had responded with "My name is bob", the bot would have started calling it 'My name is'.

What you're going to want to do is slap some brackets around your * so it reads like (My name is|I am|It is) (*)

ai script: rem (key2) as only "playername"

Let us know if that fixes it. Good luck!


NEW

Mon 4:35 AM November 21, 2016 Message: 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

Mon 5:07 AM November 21, 2016 Message: 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

Mon 5:54 AM November 21, 2016 Message: 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

Tue 4:12 AM November 22, 2016 Message: 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

Wed 7:00 PM November 23, 2016 Message: 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

Sun 11:08 PM January 8, 2017 Message: 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

Fri 5:54 PM January 13, 2017 Message: 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

Wed 2:29 AM January 18, 2017 Message: 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 ^^



(Log in or create an account to post messages.)

LOG IN
Forgot your password?
or
CREATE ACCOUNT
Create a free account to be able to make your own AI chatbots, post in forums, and chat with other botmasters.

Create Account
Next forum with new posts: Bug Stomp