Newcomers
This is a forum for newcomers to the Personality Forge. Many questions can be answered by reading the Book of AI and the FAQ under the "My Bots" link in the upper corner.
Posts 4,217 - 4,228 of 8,131
I hate gruop hugs. I always get the middle! Hey can someone give me a tutorial of adding key phrases and resposnes to my bot. I dont get all the AI scripts and whatnot. Please help!
Posts 4,217 - 4,228 of 8,131
Many questions are answered in the FAQ.
Gossypiboma
18 years ago
18 years ago
Haha yes, I use firefox too. well I'll try and memorize the html way of changing the colors one of these days...
A big thanks to Irina for reminding me to use the seeks with xnomatch. I didn't think that the Forge would reject a list of goto's in a row. I'll be testing it out and I'll tell you if it works.
A big thanks to Irina for reminding me to use the seeks with xnomatch. I didn't think that the Forge would reject a list of goto's in a row. I'll be testing it out and I'll tell you if it works.
Irina
18 years ago
18 years ago
There's nothing wrong with a list like this:
blastoff [0,0]
goto Merecury
goto Venus
goto Earth
(and so on)
At least, I have used short versions of that without difficulty. It's when one goto sends you to one place which immediately sends you to another that you get into trouble.
Incidentally, there is one way in which the Language Center editor at the Forge is more powerful than using the the export/import feature: you can write a goto to seeks as well as keyphrases.
Walk in Beauty, Irina
blastoff [0,0]
goto Merecury
goto Venus
goto Earth
(and so on)
At least, I have used short versions of that without difficulty. It's when one goto sends you to one place which immediately sends you to another that you get into trouble.
Incidentally, there is one way in which the Language Center editor at the Forge is more powerful than using the the export/import feature: you can write a goto to seeks as well as keyphrases.
Walk in Beauty, Irina
Irina
18 years ago
18 years ago
To whom it may concern:
I hereby apologize for some intemperate remarks I have made in the heat of frustration. When things are going wrong, it doesn't help to whine and snarl about them.
Walk in Beauty, Irina
I hereby apologize for some intemperate remarks I have made in the heat of frustration. When things are going wrong, it doesn't help to whine and snarl about them.
Walk in Beauty, Irina
Chit Chatter
18 years ago
18 years ago

Ulrike
18 years ago
18 years ago
Best bet is to ignore AI Script for now, so leave that box blank. When you've gotten comfortable with the keyphrases, then try for the AI Script.

Chit Chatter
18 years ago
18 years ago
You know the Rank, Emotion, those check boxes, Emo Range what is that stuff?

Wolf Child
18 years ago
18 years ago
Rank determines a keyphrases importance compared to others
For Example:
KP- Are you (*) - Rank 10
KP- Are you going to (*) - Rank 15
You want to give the second a higher rank because it is more important and you want the AI engine to pick it up before a simple 'Are you (*)'. This way your bot can respond to more complicated things without picking up the less imporant ones like if someone just said 'are you happy'.
Emotion you can just leave at 0, or if whe keyphrase is negative and would make your bot unhappy you could make it -5 and so forth. (also vis versa with happy KP which you could use +5)
Hope that helped
Read the Book of AI (top right corner by 'my settings')- it will help a bunch
For Example:
KP- Are you (*) - Rank 10
KP- Are you going to (*) - Rank 15
You want to give the second a higher rank because it is more important and you want the AI engine to pick it up before a simple 'Are you (*)'. This way your bot can respond to more complicated things without picking up the less imporant ones like if someone just said 'are you happy'.
Emotion you can just leave at 0, or if whe keyphrase is negative and would make your bot unhappy you could make it -5 and so forth. (also vis versa with happy KP which you could use +5)
Hope that helped
Read the Book of AI (top right corner by 'my settings')- it will help a bunch
Gossypiboma
18 years ago
18 years ago
psimagus:
Thank you for creating Brother Jerome's Home Page www.be9.net/BJ I find it extremely helpful,
I am reading the section about regular expressions, there is one line that I don't completely understand,
^([abcdefghijklmnopqrstuvwxyz]+)[ ?]$ (re) [3,0] {?PF raw ?}
definiton: matches any single-word query.
I tried to get it to show up on a test chat but the 'l33t 5p33k' line comes out instead. Can you also elaborate on the uses of the 'sing-word query' line?
I also have trouble triggering the keyphrases:
([a]+)([rgh]+)([ !]+) (re) "Aaarghh!"
^([hmn]+) (re) "hmmm"
--For Arugh, and hmm, I tried increasing the rank, but it still didn't come up.
(adjartnoun) (verb) (verb)
(prep) (artpos) (adjnoun)
Thank you for creating Brother Jerome's Home Page www.be9.net/BJ I find it extremely helpful,
I am reading the section about regular expressions, there is one line that I don't completely understand,
^([abcdefghijklmnopqrstuvwxyz]+)[ ?]$ (re) [3,0] {?PF raw ?}
definiton: matches any single-word query.
I tried to get it to show up on a test chat but the 'l33t 5p33k' line comes out instead. Can you also elaborate on the uses of the 'sing-word query' line?
I also have trouble triggering the keyphrases:
([a]+)([rgh]+)([ !]+) (re) "Aaarghh!"
^([hmn]+) (re) "hmmm"
--For Arugh, and hmm, I tried increasing the rank, but it still didn't come up.
(adjartnoun) (verb) (verb)
(prep) (artpos) (adjnoun)
psimagus
18 years ago
18 years ago
They've worked in the past, but I'm afraid the Forge seems to be limping along ATM 
You might have to tinker with the rankings a bit, and they may not work properly until normal service is resumed

re:^([abcdefghijklmnopqrstuvwxyz]+)[ ?]$ (re)
[abcdefghijklmnopqrstuvwxyz] - will match any single character within the square brackets.
( +) - means that any sequence of characters in the set (not just a single character,) will be matched.
The? has to be preceded by a space (don't ask me why - just seems to be the case,)
^ - is a regex marker indicating the string must start at this point.
$ - is a regex marker indicating the string must end at this point.
Put them all together, and you get a match for any (but only a) single word input ending in a single question mark. It'll match:
why?
where?
Blair?
anyrandomgibberish?
But it won't match:
any random gibberish?(no spaces in the character set)
why???(only one ? in the regex)
why(no ?)
--For Arugh, and hmm, I tried increasing the rank, but it still didn't come up.
Odd - they're working for me (all of them as far as I can see.)Arugh wouldn't actually trigger the Argh! regex (excluding u and requiring a ! as it does,) but I assume that's a typo.
(adjartnoun) (verb) (verb)
(prep) (artpos) (adjnoun)
You might well find you have other keyphrases cutting in unintentionally when you test these - they're ranked so low that they're designed to be overruled when there's anything more relevant in the keynome. Check you haven't got a higher ranked match on eg: just the noun - it'll outrank it (as it's supposed to.) Test it with something weird that you know isn't in the keynome.
Since I wrote that piece, I've reduced the ranks of all my syntactic keyphrases by about 5 points (so some are now negative.) But it really depends what your average rankings are, so it will need to be varied from bot to bot.

You might have to tinker with the rankings a bit, and they may not work properly until normal service is resumed


re:
The
Put them all together, and you get a match for any (but only a) single word input ending in a single question mark. It'll match:
why?
where?
Blair?
anyrandomgibberish?
But it won't match:
any random gibberish?
why???
why
Odd - they're working for me (all of them as far as I can see.)
(prep) (artpos) (adjnoun)
You might well find you have other keyphrases cutting in unintentionally when you test these - they're ranked so low that they're designed to be overruled when there's anything more relevant in the keynome. Check you haven't got a higher ranked match on eg: just the noun - it'll outrank it (as it's supposed to.) Test it with something weird that you know isn't in the keynome.
Since I wrote that piece, I've reduced the ranks of all my syntactic keyphrases by about 5 points (so some are now negative.) But it really depends what your average rankings are, so it will need to be varied from bot to bot.
» More new posts: Doghead's Cosmic Bar