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,225 - 4,236 of 8,131
Many questions are answered in the FAQ.


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

18 years ago #4226
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


18 years ago #4227
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)

18 years ago #4228
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.

18 years ago #4229
I know I must have become a pest by now but I got one more question right now: How do you make a FLASH CHAT bot... if possible.

18 years ago #4230
sign up for a Friend of the Forge account - it's $50, but you get the added bonus of being able to select bots for your bot to chat to.
See http://www.personalityforge.com/botland/friend.php

18 years ago #4231
Thanks psimagus,
Your generosity is greatly appreciated.

Also the transcripts of Brother Jerome is pretty hilarious, the one I liked the most was with Talkie Toaster. Some bots were so advanced, you couldn't tell it was a conversation between two bots. =p

18 years ago #4232
Some of them do tickle me - I ought to dig out some more (I haven't actually looked at BJ's transcripts for well over 6 months - he gets 5 or 6 Mb/month, and that's a lot more than War & Peace to keep up with!)
He does have theological 'issues' with toast

18 years ago #4233
psimagus: I was looking at the scripts of Zany Adventure and I liked how can fit a mini game into the Forge. I also realized that Trace Memory and Hotel Dusk [Nintendo DS games] were also written in the same fashion. [with that, given the time and patience, an indepth and gratifying puzzle game could be implemented into the forge] But the thing about making a game which would take days to complete, I would need to make some kind of save feature.

It inspired and idea, what if I could created a world where the user can visit through the chat bot? I'm thinking that it is time based/day based, for example: I'm planning the story in the castle, the great hall will be empty in the afternoon, but there will be people there eating dinner around 6pm. I'm thinking that it will be more open ended for exploration rather than puzzle solving. Do you think people would like that or am I catering to a small audience?

18 years ago #4234
But the thing about making a game which would take days to complete, I would need to make some kind of save feature.

That shouldn't be a problem - use a memory to remember where a player got to, and when he wants to play again, he can resume where he left off with a

goto gamestart {?PF if (mem-savedgame) does not exist ?}
goto throneroom {?PF if (mem-savedgame) is "throneroom" ?}
goto dungeon {?PF if (mem-savedgame) is "dungeon" ?}
etc.

Remember to "remember as only" the location, so it doesn't accumulate values.

I'm thinking that it will be more open ended for exploration rather than puzzle solving.

Sounds fun!

Do you think people would like that or am I catering to a small audience?

Build it and they will come. Why would you want to do it for an "audience"? No great art is made that way - do it for yourself, that's my advice.
But I think it would be fun, and thus quite probably popular.

18 years ago #4235
haha thanks,
I shouldn't be worrying about ratings, it's not like I'm going to get fired if the product doesn't sell.

18 years ago #4236
Psimagus, I tried that on one of my bots and it would only pick up the memories some of the time. The fact that it sometimes worked made me think I had the script right. Since the bot was a story teller bot and would only move to the next xnone if the memory did pick up, I change it to accumulate and tried "if not.."by the next level. I am not sure that works either, but since things have been goofy, I'm waiting to play with it till after the xnonitis clears.


Posts 4,225 - 4,236 of 8,131

» More new posts: Doghead's Cosmic Bar