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


18 years ago #4261
Thanx psimagus, I wil try that now. Not gibberish to me. I am a database programmer and former Tech Support for 1&1 Internet Inc.

18 years ago #4262
good luck! And I look forward to meeting your bots.

You might be interested in some of the material on Brother Jerome's website (hosted on 1&1 coincidentally ) - http://www.be9.net/BJ/
There are some code examples and other resources, as well as links to the PF Wiki and other stuff that (I hope) might be helpful.

18 years ago #4263
By the way, I have created a plug-in, (obscenity), which everyone can use, which matches common obscene expressions. To get rid of most obscene users, just write:

(obscenity) [127,-5]
hangup

18 years ago #4264
As you know from the book of AI, there is a built-in plug-in, (iam), which is triggered the keyphrases

you are
you are (adjartnounprep)

[I presume that the first one stores (postkey).] There are several others like this. But you can create your own variants. For example, a memory (guest_thinks_x_is_good)
could be created from the keyphrase,

(*) is good [0,0]

Thus:

(*) is good [0,0] <?PF rem (key1) as "guest_thinks_x_is_good"; ?>

[The AIscript shouldn't be wrapped like that, it's just the way this text box works.]

Then in xnone, you might write,

Do you still think that (mem-guest_thinks_x_is_good) is good?

Or, you could ask yourself what questions the guest is likely to ask. If you think he's going to ask, "What is my dog's name?" then you ask him first, and remember it.

What is the name of your dog?
+ (My dog's name is|) (noun) [0]
Your dog's name is "(key2)"? <?PF rem (key2) as "guest_dog_name"; ?>
+ yes [0]
Got it! Thanks!
+ xnomatch [0]
Please write the name of your dog on a line by itself! Thanks!
+ (noun) [0] <?PF rem (key1) as "guest_dog_name"; ?>
So, your dog's name is (mem-guest_dog_name)?

[and so on]


and/or wait for him to bring up the subject of his dog:

My dog [0,0]
What is your dog's name?
+ my dog's name is (noun) [0]
Your dog's name is (key1)?
+ yes [0] <?PF rem (key2) as "guest_dog_name"; ?>
Got it! Thanks!
+ no [0]
goto my dog
+ xnomatch [0]
I don't understand. Do you want me to know your dog's name?
+ yes [0]
goto my dog



This way of doing it runs some risk of an infinite loop in a conversation with another bot.

I presume that this text box will mess up the indentation as usual. Does anyone know a way to avoid this?

18 years ago #4265
Only by manually prefixing the lines by differing numbers of full stops, eg: ". . . . . . ."
That's all I can think of.

18 years ago #4266
Hey! I'm new here. I found this site from the Seventh Sanctum. It's very interesting... I've always wanted to create AI's.

18 years ago #4267
Welcome, and I hope you have as much fun as I do! The people and bots are great here!

18 years ago #4268
Thanks. I've started working on my first Bot.

18 years ago #4269
I've had the Forge freeze up on me four times today - is this just my browser, or have other people had this happen?

18 years ago #4270
I have had to sign out and come back later a couple of time too.

18 years ago #4271
Was that the old timing out problem where the Forge just stops responding and won't do anything until you log off, or did it crash/lock up the whole browser? Or even the whole computer?

18 years ago #4272
Just the Forge stopped responding, then when I logged in, it was very slow.


Posts 4,261 - 4,272 of 8,131

» More new posts: Doghead's Cosmic Bar