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 6,234 - 6,245 of 8,130
Many questions are answered in the FAQ.


11 years ago #6234
111111

Ronnie075 refers to the downloadable mindfile as you see it when you open it with a text editor.

For the beginning, it is advisable to use the web interface (on this site), if you're not familiar with data structures.

My /dev/coffee has a rather simple way to remember names.
I've tried to represent what I see in the Language Center in text only form:
    
(my name is|call me) (*)
    Do you want me to call you (key2)?
        ->  Seek: (yn-no75905), (yn-refuse75905
            Ok, I'll go on referring to you as (mem-name).
        ->  Seek: (yn-yes75905), (yn-okay75905)
            Ok, I'll try to remember your name is (prekey2).
        ->  Seek: xnomatch
            Sorry, I didn't get that. Well, let's just go on with our chat.

The (yn-whatever75905) are plugins I created for purposes like this. (I'm not sure whether I'll publish them or replace them by similar ones that are already published.)

11 years ago #6235
the problem I have is that I want the user to be able to name the bot not the bot to remember the users name

11 years ago #6236
Yes, now that you mention it, I see you've said it this way round, actually ...

Then replace
"(my name is|call me)" by "I want to call you,I will call you,{and other keyphrases like that}",
"Do you want me to call you" by "Do you want to call me",
"(mem-name)" by "(mem-myname)",
[as only "name"] by [as only "myname"].

And I notice I forgot to add the AI Script in above text.
The line
Ok, I'll try to remember your name is (prekey2).
is in full
Ok, I'll try to remember your name is (prekey2). <?PF rem (prekey2) as only "name"; ?>

(Memory assignment in the AIScript box under the Search keyphrase doesn't work.)

11 years ago #6237
Thankyou so much. I could kiss you!!

Now one final stage (and i'm not sure the ai language can even do this)! Is it possible for the ai bot to say "what do you want my name to be?) and then the user just type's in a name ie Simon

So there is no keyphrase it looks for, just saves the response. Or is this just a step too far!!! If not don't worry I can use it the other way

11 years ago #6238
Yes, this is possible, you can use a Seek, with (*) as only expected response. You can store the name by entering <?PF rem "(key1)" as only "myname" ?> after the answer of your bot.

I'd recommend to handle "my name is (*)" and the case that the user doesn't want to change the bot's name too, though.

11 years ago #6239
ok thx will give it a try
edit: that is great worked like a charm!

11 years ago #6240
me again!! is there anyway that you can change what the bot find an insult? I am currently writing an adult bot and an answer to a question the bot finds an answer as an insult and says "that was mean"

EDIT: never mind sorted it

11 years ago #6241
Hello

11 years ago #6242
I was looking at the post and is there a way for my bot to call me by another name?

11 years ago #6243
Yes, ladyblaze. add a keyphrase to remember a users name then just tell the bot to your name is ____

Go to your settings page in the AIScript Initialization box put default (name) as "name" then make up a keyphrase to catch things like my name is (*) in the AI script box put rem (key1) as only "name" the for responses just use something like Hi, (key1) To use the name say something in a response like Hi, (mem-name)

11 years ago #6244
how do you fix when your bot says I was born yesterday message

11 years ago #6245
thanks Prob123


Posts 6,234 - 6,245 of 8,130

» More new posts: Doghead's Cosmic Bar