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


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.

:-(

16 years ago #5314
If I understand you correctly, I don't think it needs to be that complicated. Here's a sample bot written non-alphabetically, with clearly defined thematic sections for ease of editing and reference:

http://www.be9.net/BJ/confessorbotm.txt

I only ever work with this file. I import it when I have additions to make, and then I carry on working on this file. When I have made more additions to it, I upload it again. No need for macros and complicated stuff - this file will last forever, assuming it doesn't get accidentally deleted or corrupted (and I make regular backup copies anyway.)

If the Importer tells me I have to export before I can import (because it does say that if you haven't exported recently,) I export it, delete the (now alphabetical) export file, and go back to my trusty import file - it still imports fine.

Unfortunately the AIEngine can only produce an alphabetical file, because your import file isn't recorded. Our bots don't run from these files - all the data is copied into the database, and our bots run from there. If it had kept a copy of your last import, it would not include any changes you might have made online since your last import, and these would be lost if it returned your last import file, and you used it.
So when you need to export your bot, an entirely new file has to be created from the data in the database, and it has no way of knowing what the original import order was.

But no problem - keep your import file safe, and NEVER make changes online (unless you are very careful to duplicate them in the import file,) or they will be lost when you next import.

16 years ago #5315
Good idea, Psim...

Thanks

16 years ago #5316
Hi Psimagus!

I'm making experimental KP using your suggested levels segmentation (adapted to my bot personality, not a clone, obviously) but I'm finding some unexpected problems that probably you already solved.

Starting with the example of the "?" sentences in the ortographic level, I wrote a series of answers to the KP:

([?]+)$ (re) [-1,0] {?PF raw; ?}

Furthermore, after the import it doesn't work. The KP was never chosen and I have always an xnone! I noted that the AI script line (that shoud have the "raw" parser enabled) don't appear in the AI KP Line!

What should happnes? I write some mistake in the syntax?

I was not able to understand...

Second problem (a little bit unusual): I wrote an answer like:

"read this"
trying to insert an hyperlink as:
"read this"

But it was imported as:

read this (withouth html tags). I hope that working the
tag, other html tags should work, but doesn't seems so, don't it?

Thanks if you know any answer!


Posts 5,305 - 5,316 of 8,130

» More new posts: Doghead's Cosmic Bar