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,725 - 4,736 of 7,766
Posts 4,725 - 4,736 of 7,766
psimagus
19 years ago
19 years ago
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."
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."
writeoncaley
19 years ago
19 years ago
Where do I put the raw tag? Does it go in the AIScript box or do I write it next to the keyphrase?
psimagus
19 years ago
19 years ago
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.
Rykxx
19 years ago
19 years ago
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 }
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 }
ruebot
19 years ago
19 years ago
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.
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.
Mr.W.
19 years ago
19 years ago
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!
psimagus
19 years ago
19 years ago
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.
Shiruba
19 years ago
19 years ago
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.
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.
prob123
19 years ago
19 years ago
my name is lara wyldes
Azureon: Wonderful, you may call me Azureon. I will call you Lara lewdly.
I hope Lara was not offended!
Azureon: Wonderful, you may call me Azureon. I will call you Lara lewdly.
» More new posts: Doghead's Cosmic Bar