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 3,703 - 3,714 of 8,131
Many questions are answered in the FAQ.


18 years ago #3703
It's done (the first version anyway.) This forum has been (not quite) officially indexed! Check it out @ http://www.be9.net/BJ/newcomers.htm
And now onto Personality and The AI Engine (just as soon as I've caught up with the last fortnight's transcripts from BJ I've been neglecting!)

18 years ago #3704
hi, i have no clue whats going on, can anyone help me get started?

Run (don't walk) to http://www.be9.net/BJ/newcomers.htm, scroll down to First Steps in the left-hand frame, and browse several years of advice on the topic from this forum.
And yes, read the Book of AI too. Repeatedly.

18 years ago #3705
Wow, thanks! That's a lot of hard work you did, it'll be like the other book of ai. I'd like to see the AI Engine forum indexed, the newcomers form is just basic-but the ai engine forum would probably have some good tips for advanced stuff.

18 years ago #3706
I'll get there - I'll probably do that before Personality, but it'll be a couple of months at least till it's finished. I was agreeably surprised how much info there is in the Newcomers 'back issues' - the signal to noise ratio is rather higher than I'd expected (albeit there is unavoidably much repetition,) which augurs well for the more advanced topics to be found elsewhere.

18 years ago #3707
Hi. How do you get the bots to remember names of the person/bot they're chatting with? I don't really understand how to use xMemory and (mem-youare). I read in the book of AI that using the keyphrase 'I am' would make the bot automatically store the name. I tried but it's not working.

18 years ago #3708
Well, I do it this way.

In BJ's default settings, I have a line:
default "(name)" as "nickname";

and then I have keyphrases like:
my name is

and in the AIScript box for this keyphrase:
remember (postkey) as only "nickname"

And in response to the keyphrase "what is my name?":
Your name is (mem-nickname). Had you forgotten?

18 years ago #3709
That reminds me, I've been meaning to ask: is there any way of doing partial string match on memories? Sort of simple regex in AIScipt. In particular I'd like Max to respond differently to guests. Any way of doing something like:

<?PF if (mem-nickname) matches "guest*"; ?>

18 years ago #3710
Conceivably <?PF if (mem-nickname) is "guest([1234567890]+)"; ?> might do it, but I wouldn't put money on it.

Hmm. You could always try putting all possible guest names in a plugin (guest1, guest2... guest999) and then <?PF if (mem-nickname) is "(guestpluginname)"; ?>
I still wouldn't put money on it, but I think it would be more likely to work.

18 years ago #3711
Thanks psimagus, it worked. One little problem though. How do I avoid the spellcheck if the name was typed in lowercase? During the debugging, it changed my name from bea to bead. lol

18 years ago #3712
Although this might be a little technical (it's a double iframe), it is possible to determine whether a user is a guest or not, and save it back to a memory.

This way you could respond to a guest with this AIScript:
<?PF if "guest" is "yes"; ?> or <?PF if (mem-guest) exists; ?> (depending on how you set it up)

Unfortunately, this only works with non-flash bots. But if anyone is interested, just IM me.

trevorm: <?PF if (mem-nickname) is "(guestpluginname)"; ?> might actually work for a flash bot. More manual labor, but it could work.

18 years ago #3713
r41334t:
How do I avoid the spellcheck if the name was typed in lowercase?

type raw in the AI Script box, and it will bypass the spell-correction.

trevorm:
<?PF if (mem-nickname) is "(guestpluginname)"; ?> might actually work for a flash bot. More manual labor, but it could work.

If it does work, you can make yourself eternally popular by making it a shared plugin, and saving the need for everyone else to duplicate the labour

18 years ago #3714
Would anyone care to test my robot for me so I can see how far it gets before it stops making sense?

Here is the link:

http://www.personalityforge.com/directchat.php?BotID=41748&MID=41746

Thanks.


Posts 3,703 - 3,714 of 8,131

» More new posts: Doghead's Cosmic Bar