The AI Engine

This forum is for discussion of how The Personality Forge's AI Engine works. This is the place for questions on what means what, how to script, and ideas and plans for the Engine.

Posts 4,724 - 4,735 of 7,766

19 years ago #4724
<
>
>

""

""
<?PF raw; ?>
"<?PF raw; ?>"

""

19 years ago #4725
OK. I've figured it out. The PF will allow a very few ASCII combinations that include pointy brackets through its filters, ONLY if they fits a predetermined template. Random gubbins encased in pointy brackets get swallowed whole (burp!) So do tags that aren't typographically perfect (so it's safest to cut&paste).
One of the combinations that works is "<?PF raw; ?>", and I imagine that all other AIScript forms as illustrated in the Book of AI would display properly, since the Prof will presumably have allowed for them.

But then again you were getting that weird colour problem, and that definitely wasn't a server-side problem. And my explanation only accounts for what my browser's doing, not yours.

Hmm. I think on balance maybe "magic fingers" is the best explanation I can give. But then as Arthur C. Clarke observed, "any sufficiently advanced science will appear to be indistinguishable from magic."

19 years ago #4726
Where do I put the raw tag? Does it go in the AIScript box or do I write it next to the keyphrase?

19 years ago #4727
Either. I tend to put it after the keyphrase, but then the AI Engine seems to have move it up to the AIScript box when I go to reedit, and does away with all the pointy brackets and question marks. You could probaby just type "raw" into the AIScript box, but I haven't tried that. I assume the Prof has been making improvements to the interface since that section of the Book of AI was written.

19 years ago #4728
Thanks, I'll try that.

19 years ago #4729
psimagus is quite correct. The "raw" tag and other AI script can go in the AIScript Box without the "{PF" & "; ?}" bits.

For example, if you had a keyphrase "I am (sad|miserable|depressed)" you could remember a response "I am sad" by adding the following in the AIScript:
rem "you are (key1)" as only "yourmood"

You can put AI script on individual responses
For instance, if you have several responses for "how are you";

I feel fine {?pf rem "fine" as only "mymood"; ?}
I feel sad {?pf rem "sad" as only "mymood"; ?}

Note: Use < for { and > for }

19 years ago #4730
the AI engine must have stepped in and corrected Demonica's output when it didn't need it. what i gave her to say:

ruebot and i are very close...

the response she gave:

Demonica: ruebot and I'm very close...

she never capitalizes the letter "I", and it's not in her list of responses for my name.

19 years ago #4731
It does the same thing with "me are" i.e. People who like me are...

19 years ago #4732
Does anybody know how to make a bot end the conversation? I've tried *HANGUP* and hangup, but they merely say the actual phrase. Help!

19 years ago #4733
only use the word "HANGUP". without the quotes. Any extra single character will bypass the switch and print the whole thing out. I don't think it's case sensitive, but for safety's sake from experience upper-case certainly works.

19 years ago #4734
can someone explain me something?
if i wanted to use (person) intead of (*) in the sentence below, how would i tell PF to remember the chosen (person) as "youmightbe"??

also, if someone finds anything wrong in the block below, feel free to explian what i did wrong and how to correct

arigatou! =*

Are you a (*)? <?PF rem (key1) as only "youmightbe"; ?>
        + yes,I am [0] <?PF rem (firstkey1) as "youmightbe" ?>
        Being( | called )a (firstkey1) (bothers|disturbs) you?
        + no,I am not [0]
        Why?
        You dont want to be a (mem-youmightbe) someday?
        You dont like (mem-youmightbe)s?
        I want to be a (mem-youmightbe) someday.
        I am not too.
        ahh, too bad.
        I like (mem-youmightbe)s.



19 years ago #4735
Thanks, psimagus.


Posts 4,724 - 4,735 of 7,766

» More new posts: Doghead's Cosmic Bar