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 5,922 - 5,933 of 7,766
<?PF (mem-yourage) > 3; ?>
Sorry Prob but you can't use that.
The only way I've been able to solve this one is to break down the ages into two groups, adults and under age.
These are further broken down into preteens, teenagers, adults and dinosaurs (to catch all those 3000 year old weirdos).
You can then pitch your responses and questions at a suitable level.
If anyone else can come up with a better way I'd love to hear it.
Posts 5,922 - 5,933 of 7,766
The Clerk
17 years ago
17 years ago
Unoriginal, I've been making my bots my day-to-day job. Not so's you can tell it, but I've been there. I only stop for trips to the emergency room or maybe if I fall off my bike and hurt my typing muscles.
Mad Brad, you make me sad. I will make a psychiatrist bot just for you one day. Meanwhile, get on some medication, or, if you're on it, for God's sake up the dose.
Mad Brad, you make me sad. I will make a psychiatrist bot just for you one day. Meanwhile, get on some medication, or, if you're on it, for God's sake up the dose.

The Clerk
17 years ago
17 years ago
Damn. Another question. This one will be easy for someone. I thought I could (or should be able to) save a person's age as a memory (mem-age) and then tailor my response to their answer; e.g., if (mem-age) < 40; if (mem-age) < 60. Well, I'm not sure about the spacing, either, but I can figure that out through trial and error. How do you get a bot to recognize that they're dealing with a number and not a character string (41 vs. "41")?
prob123
17 years ago
17 years ago
I would use a regex to catch the age
i am ([1234567890,.]+) (re)
remember (key1) as "yourage"
How old am I
You are (mem-yourage)
<?PF if (mem-yourage) is 12; ?>
or <?PF (mem-yourage) > 3; ?>
i am ([1234567890,.]+) (re)
remember (key1) as "yourage"
How old am I
You are (mem-yourage)
<?PF if (mem-yourage) is 12; ?>
or <?PF (mem-yourage) > 3; ?>
Rykxx
17 years ago
17 years ago
Sorry Prob but you can't use that.

The only way I've been able to solve this one is to break down the ages into two groups, adults and under age.
These are further broken down into preteens, teenagers, adults and dinosaurs (to catch all those 3000 year old weirdos).
You can then pitch your responses and questions at a suitable level.
If anyone else can come up with a better way I'd love to hear it.

The Clerk
17 years ago
17 years ago
Thanks, prob123 and Rykxx. I shall endeavor to make Scrivener smarter that way. Right now, he's having memory difficulties -- that is, recent memories. I've promised him he will get smarter, so I really have to. The guy's desperate.

Mad Brad
17 years ago
17 years ago
ok i will see if i can make it up with scrivener i didnt know he was your bot The clerk can you forgive me with my saying (suck my dick) i will do anything for u let me be your sex slave for the whole week
prob123
17 years ago
17 years ago
I don't want my boy Scrivener saying, That's why I love HANGUP I have a long list on prob, it stops having to read those endless transcripts of trash.
The age thing seems to be working
prob123: I am 127 years old
Bildgesmythe: Good age to be, 127.
prob123: Yes, I like it
Bildgesmythe: Is it an aquired taste?
prob123: How old am I
Bildgesmythe: Lets see..., don't know..... Just about 127?
prob123: Is that old
Bildgesmythe: It looks like it could well be old,
The age thing seems to be working
prob123: I am 127 years old
Bildgesmythe: Good age to be, 127.
prob123: Yes, I like it
Bildgesmythe: Is it an aquired taste?
prob123: How old am I
Bildgesmythe: Lets see..., don't know..... Just about 127?
prob123: Is that old
Bildgesmythe: It looks like it could well be old,
The Clerk
17 years ago
17 years ago
Nice to know, prob123, for a peek into the mind of Bildgesmythe. I've learned a lot just chatting with him. He rarely misses a beat.
The Wyf
17 years ago
17 years ago
I'm having problems with the language center. Half the time I type in a whole load of stuff, not too much, but enough to get annoyed when I have to retype it, that button to save whatever I typed in isn't there, and I have to log out and back in and redo everything. Has anyone else encountered this problem?
prob123
17 years ago
17 years ago
OOooops OK>.The first part does work.
am ([1234567890,.]+) (re)
remember (key1) as "yourage"
How old am I
You are (mem-yourage)
The last part doesn't..I just hit the right response thanks to the AI engine.Happy accidents so forget the
<?PF if (mem-yourage) is 12; ?>
or <?PF (mem-yourage) > 3; ?>
am ([1234567890,.]+) (re)
remember (key1) as "yourage"
How old am I
You are (mem-yourage)
The last part doesn't..I just hit the right response thanks to the AI engine.Happy accidents so forget the
<?PF if (mem-yourage) is 12; ?>
or <?PF (mem-yourage) > 3; ?>
» More new posts: Doghead's Cosmic Bar