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 5,302 - 5,313 of 8,130
Many questions are answered in the FAQ.


16 years ago #5302
Cia, Marco, I can't understand italian, lol in any case, I don't have a transcript I email the Professor about it. But thanks for the assurance that the problem was solved in a few days

16 years ago #5303
Anyone knows why this KP is not matched?

"(are you|do you) ((adv)|) ((verb)|) (a|an|the|) (book|reader)"

I thoght it should match sentences as:

"do you really have a book?"
"are you reading book like this"
"are you a reader?"

Irina is right, you can't nest brackets - to handle such recursivity the AIEngine's work would be increased exponentially and far exceed the capabilities of even the most powerful server, so it ignores them.

But you can get exactly the functionality you want in a single KP by using:

(are|do) you (a|an|the|) (book|reader), (are|do) you (verbadv) (a|an|the|) (book|reader)

16 years ago #5304
[bows] Psimagus is a virtuoso of the keyphrase!

16 years ago #5305
Messages 5292 and 5303 illustrate two different styles or approaches to keyphrasing.

I believe I tend to lean more toward the multiple-keyphrase approach, as in 5292 (as marco3b has pointed out, one would need at least one more keyphrase to meet the original goal). I have 3 reasons for this:

First, perspicuity: when you come back to that single, intricate keyphrase 2 months later, you may have to spend some time puzzling it out. Or, if you have a lot of intricate keyphrases, you may have trouble figuring out which keyphrase it was that activated some odd response that you wish to fix.

Second, the use of multiple, simple keyphrases (as opposed to single, complex ones) makes it possible (or at least a lot easier) to taylor the response to the details of what the guest has said. You might want a quite different response to "are you reading a book like this?" than to "are you a reader?" or "do you really have a book?". I, at least, would find it difficult to sort out these responses from a single keyphrase.

Third, generalization is easier from simpler keyphrases. I often use successful keyphrases as starting points for generalization. For example, from "Do you really have a book like this" I might derive "Do you (adv) have a book like this" and "Do you really have a (noun) like this" and others. [Use of such general keyphrases runs the risk of bizarre responses, but without them you face the impossible task of anticipating every possible response individually.] Similarly, from "are you (a|an|the) reader" one might derive "are you (a|an|the) (verb)er" and "is (noun) (a|an|the) reader", and so on. But if I try to generalize from a single, intricate keyphrase, I get a migraine.


That's not to say you should never use intricate keyphrases; each botmaster will have his or her own balance, depending on what is easy or fun (or not).

16 years ago #5306
Psimagus, Irina,

Thanks a lot!

(expecially for make me aware that I cannot nest brackets and I can chain words like (verb)er.

I didn't understand taht from AI Book.

When I read your ChatMaster's answers I feel me a real ChatBaby!

)

16 years ago #5307
Hallo to All,

just a cute and simple question:

When I export/import KPses, they are reorder in alphabetic way. This makes my work hard to be organized.

There is a way to order sentences in BLOCKS with a title that has no meaning for the engine?

So I should set:
"MY INTEREST"
KP1
KP2
...

ODDITY
KP6
KP7

and so on?

I don't know if I was able to explain correctly the question, but...
;-)

16 years ago #5308
Yes, a perfect explanation, and I too like to keep my keyphrases in a non-alphabetic arrangement (in sections of loosely connected themes.)
The exporter always reorders them alphabetically, but you don't have to use the exported file.

Keep using and reediting the same import file - never switch to using an exported file, even though the AIEngine makes you export before it will let you import. Throw the exported file away (or keep it as a last resort backup.)

That is how I do it anyway.

but IMPORTANTE! ALWAYS keep duplicate backups of your import file in case you lose it or wreck it.<0>

16 years ago #5309
And there is a sort of "comment" that is discaharged by the import process that can I use?

16 years ago #5310
marco3b:

Alas, I don't think that's possible! There are, however, two closely related things you can do:

1. Some of my bots are rather large, and as they grew I discovered that there were a large number of keyphrases that would lead to the same type of response. Often I would want to elaborate on this response with alternatives and seeks. But I didn't want to do all that over again in every case, so I would create a special keyphrase for each type and use gotos to go to it. For example, when I think it's appropriate for "Irina Khalidar" to flirt, I just say, "goto flirt point". Then I have a keyphrase "flirt point" with various flirtatious behaviors. It is very unlikely that a a guest will spontaneously say anything with the phrase "flirt point" in it, but that doesn't matter.

So, if you want your bot to talk about its interests, say "goto my interests point", and make a keyphrase "my interests point" with many different responses concerning your bot's interests. You can easily find this by telling your editor to find "my interests point", so it does function rather like a heading.

2. [To expand a bit on a suggestion of Psimagus':] You can make a comment on a keyphrase by writing another keyphrase that is almost the same as the first keyphrase, but earlier in alphabetical order. For example, if you want to comment on the keyphrase "my interests point", you make a keyphrase "my interests poins". Then write your comments as if they were responses to "my interests poins". That assures that the comments will always be in the right place. Your comments may contain keywords that your editor can search for. For example, you might look for all comments that contain the word "oddity".

16 years ago #5311
Thanks lot Irina! Good idea!

16 years ago #5312
And there is a sort of "comment" that is discaharged by the import process that can I use?

If you mean the settings in the first few lines of the import file, you can ignore the date - it doesn't check that.
If you have changed your bot's settings on the website, you will need to manually edit them into the settings and defaults lines at the top of the file above "Language Center<0>". eg:

StoryTeller: no
Compound: no
Memory: 2
Gossip: 0
AIScript: default "(name)" as "nickname";
default "shortterm1" as "blank";
default "" as "gt"
<0>

if that is difficult, copy them from the export file (there they will include the updates.)

Never change the line:

29681.29674.57499 [UserID,MakerID,Responses]<0>

(your numbers will be different) This identifies your bot, and reimporting will always fail if you change it.

Facile!


pedantic footnote edit: actually the third number in that last line is unimportant. The exporter records the total number of responses, but it's never checked on reimport, and so is redundant. You don't have to change it even if it doesn't match the actual number of responses your bot has. It's the first 2 numbers (in this case 29681 and 29674) that MUST not be changed.

16 years ago #5313
Ok, I think the most simple way to do that should be this:

Use single line comment
preceeed each single line with a specific JOLLY string
befor importing, just copy the working file to a new file and remove from this each line starting with the JOLLY using a macro.

:-(


Posts 5,302 - 5,313 of 8,130

» More new posts: Doghead's Cosmic Bar