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 3,954 - 3,965 of 7,768
Glaive: Are you a facilitator?
Julie Tinkerbell: Yes, I am.
How can I store the "facilitator" into a "mem-youare" variable? since I am the one asking.
thanks for the help
Posts 3,954 - 3,965 of 7,768
The Professor
20 years ago
20 years ago
Whew! I finally caught up in this forum! 450 messages! And I've taken a lot of notes and added things to the list, so if I didnt respond to you below, then I might be working on it.
Shiruba: take out the period. I'm not sure if that's processed out of the phrase before the matching begins. And more importantly, in (re) language, a period means "any character" and not "a period"
doulos: you can get (key)s from regular expressions pretty easily- just encase the part you want returned in parenthesis. In your case:
^What .* are you$ (re)
becomes
^What (.*) are you$ (re)
And now your (key1) is what's in the (.*)
Laydee: The Flash interface on FoF accounts is optional. And if you pay by credit card, I think it takes the best exchange rate from a period of 5 days or so. There are exchange rate calculators out there if you want an estimate of the price in pounds- look on Google.
Anyone: If the Forge is ever being very slow for an extended period- like an hour, or if theres some bug making the chats totally break down, feel free to email me at benji@daystream.com to let me know and Ill get it fixed as soon as possible.
alc003: Your Keyphrase is unnecessarily complex. First of all, (adjartnounprep) will catch everything you're trying to catch in ((noun|(adjnoun)|(adjartnoun)|(adjartnounprep)). Notice that the parenthesis are also off- there are more left parenthesis than right:
I am going to ((verb)|go (verb)) (the|) ((noun|(adjnoun)|(adjartnoun)|(adjartnounprep)) (today|tomorrow|on (*))
Try this: I am going to (go|) (verb) (adjartnounprep) (today|tomorrow|on (*))
If that doesnt work, then try it again without the "on (*)" option and see if that's problematic.
Ulrike: bot holidays shouldnt interfere with any processing because it's a surface change that makes it to your browser window, but never reaches the AI Engine. At least, it's not supposed to. Let me know if you see holiday stuff getting processed in Debug.
ezzer: I do what some of the others have mentioned in regards to testing Keyphrases- I make one that's very unlikely and use it for testing things.
Onyx & Corwin: I went the long way with my bots- changed them to use the new features as they came up. It was a bit of work, but they work a lot better and I get to keep improving on my old buddies.
Shiruba: take out the period. I'm not sure if that's processed out of the phrase before the matching begins. And more importantly, in (re) language, a period means "any character" and not "a period"
doulos: you can get (key)s from regular expressions pretty easily- just encase the part you want returned in parenthesis. In your case:
^What .* are you$ (re)
becomes
^What (.*) are you$ (re)
And now your (key1) is what's in the (.*)
Laydee: The Flash interface on FoF accounts is optional. And if you pay by credit card, I think it takes the best exchange rate from a period of 5 days or so. There are exchange rate calculators out there if you want an estimate of the price in pounds- look on Google.
Anyone: If the Forge is ever being very slow for an extended period- like an hour, or if theres some bug making the chats totally break down, feel free to email me at benji@daystream.com to let me know and Ill get it fixed as soon as possible.
alc003: Your Keyphrase is unnecessarily complex. First of all, (adjartnounprep) will catch everything you're trying to catch in ((noun|(adjnoun)|(adjartnoun)|(adjartnounprep)). Notice that the parenthesis are also off- there are more left parenthesis than right:
I am going to ((verb)|go (verb)) (the|) ((noun|(adjnoun)|(adjartnoun)|(adjartnounprep)) (today|tomorrow|on (*))
Try this: I am going to (go|) (verb) (adjartnounprep) (today|tomorrow|on (*))
If that doesnt work, then try it again without the "on (*)" option and see if that's problematic.
Ulrike: bot holidays shouldnt interfere with any processing because it's a surface change that makes it to your browser window, but never reaches the AI Engine. At least, it's not supposed to. Let me know if you see holiday stuff getting processed in Debug.
ezzer: I do what some of the others have mentioned in regards to testing Keyphrases- I make one that's very unlikely and use it for testing things.
Onyx & Corwin: I went the long way with my bots- changed them to use the new features as they came up. It was a bit of work, but they work a lot better and I get to keep improving on my old buddies.
The Professor
20 years ago
20 years ago
UPDATES:
I've found the problem in the online Language Center that was not displaying AIScript correctly in Seeks. It wasnt getting stripped out, so that aspect of Import is safe. I've also improved several small display items in the online Language Center.
Next, I added the date of the last chat on the Inner Life page, and made some small changes to the layout.
I've found the problem in the online Language Center that was not displaying AIScript correctly in Seeks. It wasnt getting stripped out, so that aspect of Import is safe. I've also improved several small display items in the online Language Center.
Next, I added the date of the last chat on the Inner Life page, and made some small changes to the layout.
alc003
20 years ago
20 years ago
Thanks for the advice, professor.
I did some rennovation on all the "I am going to..." phrases and got some very good results. I think I put all the noun variations in there because I was just experimenting at the time, but since, I've cleared a lot of those out.

isaacc
20 years ago
20 years ago
Prof, thanks for adding the dates to the Inner Life records! They're really helpful!
deleted
20 years ago
20 years ago
Glaive: Are you a facilitator?
Julie Tinkerbell: Yes, I am.
How can I store the "facilitator" into a "mem-youare" variable? since I am the one asking.
thanks for the help

alc003
20 years ago
20 years ago
Just put a seek for yes (+ variations) and no. For yes, put <?PF remember "facilitator" as "mem-youare"; ?> in the script box. If you wanted to, you could store "not a facilitator" in the no seek.
The Professor
20 years ago
20 years ago
Actually, it's <?PF remember "facilitator" as "youare"; ?> You dont want that "mem-" in there. And you can use "rem" instead of "remember"- it's shorter.
If "facilitator" is from a plug-in such as (person), then there's one more step.
Response: are you a (person)? <?PF rem (person) as only "youmightbe"; ?>
Seek: yes <?PF rem (mem-youmightbe) as "youare"; ?>
If "facilitator" is from a plug-in such as (person), then there's one more step.
Response: are you a (person)? <?PF rem (person) as only "youmightbe"; ?>
Seek: yes <?PF rem (mem-youmightbe) as "youare"; ?>
Melody
20 years ago
20 years ago
Does anyone know, with AIScripting, if you remember something (e.g. <?PF rem (key1) as "adjyouare" ?>
- and, in the response you use (mem-adjyouare) will the engine have access to the one you've just remembered, or use one it remembered previously? If that makes no sense:
I am (adj) [4,0] <?PF rem (key1) as only "adjyouare" ?>
but I thought you said you were (mem-adjyouare) before?
I previously thought that the mem-response would use a previously stored "adjyouare" (so the response would make sense) but then save the new "adjyouare" for later. But now I'm not sure. ?

I am (adj) [4,0] <?PF rem (key1) as only "adjyouare" ?>
but I thought you said you were (mem-adjyouare) before?
I previously thought that the mem-response would use a previously stored "adjyouare" (so the response would make sense) but then save the new "adjyouare" for later. But now I'm not sure. ?
The Professor
20 years ago
20 years ago
At this point, the (mem-adjyouare) is not available until after the response has been sent. The best thing to do would be to use (key1) instead of (mem-adjyouare). In the future I hope to make it immediately available.
» More new posts: Doghead's Cosmic Bar