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,697 - 5,708 of 7,766
I don't really understand what (key1) actually does
It allows your bot to repeat the part of the input matched by a wildcard. In this case, the whole input to the seek is just a wildcard (and it's the only one,) so it's (key1).
In a more elaborate keyphrase like "you (*) seen (*) fly", there would be (key1) and (key2)
With the response "I have not (key1) seen (key2) fly" you would get replies like:
"have you ever seen a pig fly?"
"No, I have not ever seen a pig fly"
"have you really seen a pterodactyl fly?"
No, I have not really seen a pterodactyl fly"
etc.
Posts 5,697 - 5,708 of 7,766
prob123
17 years ago
17 years ago
Some months ago I had trouble getting 'voodoo' to pick up in a keyphrase. It worked using a regex, now it's going to blab again?
prob123
17 years ago
17 years ago
Odd, it fixed it's self.
rob123: voodoo
Azureon: You just said that.
prob123: yes and I will again voodoo
Azureon: When do you plan to again voodoo?
prob123: fix voodoo
Azureon: Ya think! fix voodoo...Well maybe I will.
prob123: ok
Azureon: It is the necessity of employment, that takes up so much time these days, I am most fortunate in being a wizard.
prob123: fix voodoo
Azureon: To stop a voodoo curse, cover yourself in olive oil, then stand under the full moon. The police may ask you some questions...but since you are all greased up, you can slip away.
I should just have asked my bots to fix otherthings?
rob123: voodoo
Azureon: You just said that.
prob123: yes and I will again voodoo
Azureon: When do you plan to again voodoo?
prob123: fix voodoo
Azureon: Ya think! fix voodoo...Well maybe I will.
prob123: ok
Azureon: It is the necessity of employment, that takes up so much time these days, I am most fortunate in being a wizard.
prob123: fix voodoo
Azureon: To stop a voodoo curse, cover yourself in olive oil, then stand under the full moon. The police may ask you some questions...but since you are all greased up, you can slip away.
I should just have asked my bots to fix otherthings?
studdevil
17 years ago
17 years ago
How do I make it so my bot can play along with other's knock knock jokes? Do I have to use (key1) or something, I'm a little clueless.
Ulrike
17 years ago
17 years ago
Basic set up:
KP: knock knock
Response: Who's there?
-----Seek: (*)
-----Response: (key1) who?
You can add another seek after that if you want your bot to laugh at the joke (or make fun of it...or whatever)
KP: knock knock
Response: Who's there?
-----Seek: (*)
-----Response: (key1) who?
You can add another seek after that if you want your bot to laugh at the joke (or make fun of it...or whatever)
studdevil
17 years ago
17 years ago
Ah i see. I don't really understand what (key1) actually does but I'll use it. Thanks.
psimagus
17 years ago
17 years ago
It allows your bot to repeat the part of the input matched by a wildcard. In this case, the whole input to the seek is just a wildcard (and it's the only one,) so it's (key1).
In a more elaborate keyphrase like "you (*) seen (*) fly", there would be (key1) and (key2)
With the response "I have not (key1) seen (key2) fly" you would get replies like:
"have you ever seen a pig fly?"
"No, I have not ever seen a pig fly"
"have you really seen a pterodactyl fly?"
No, I have not really seen a pterodactyl fly"
etc.
deleted
17 years ago
17 years ago
I didn't hit it with a rock...HONEST! You might check for a missing sock and some lint.
deleted
17 years ago
17 years ago
I am also missing a sock. *looks suspicious* The laundromat ate it. Were you responsible for that?
» More new posts: Doghead's Cosmic Bar