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 6,160 - 6,171 of 7,766

17 years ago #6160
Nah. It's not the question mark. Never mind on that. So what in blazes is it?

17 years ago #6161
Oh, I'm an idiot. It should be

<?PF rem "lastthingisaid" as only "Must you, (mem-name)?"; ?>

I swear, all it takes is for me to post it.

17 years ago #6162
No, I don't think so... The variable name is "lastthingsaid" so it should be last. But I'm still not sure WHAT the problem is.

17 years ago #6163
Oh, italics. Just use a lower-case 'i' in the pointy brackets. So it'll look something like [i], but with the correct brackets. Then [/i] to turn it back off. Fair warning, the AI engine tends to interpret it as either a word, or as part of a word, so it can result in some odd responses.

Of course I /i! Don't you?

17 years ago #6164
Yeah, Ulrike, re the variable being last, I just went dyslexic for a minute. I did do it the right way and it seems to have cleared that up, except for long stuff, which I suppose I could do if I got bored enough, using gotos.

But thanks for thinking of me in my numbed state of mind. And thanks for clearing up that with the italics. Someday I plan to learn regex and html and what-not, but it's only the ten fingers!

17 years ago #6165
btw, if this helps at all- I don't think you can both trigger and store a memory in the same command. In this case, (mem-name) can't be pulled out of "name" and moved to "lastthingisaid" like that. I mean like, you can't <?PF remember (mem-anything) as "anything else"; ?>

17 years ago #6166
Yeah, we went over that recently and *poof* it blew out my ears. I remembered after I tried it once. Thanks, though (and for not saying we just told you that -- read the Book of AI). I have dreams about the Book of AI. This is the kind of stuff I learn by trying, screwing up, and often having to ask for help.

17 years ago #6167
All right, this is a more psychological issue, which I think they might've inherited from me. My bots get all kinds of xgottagos from other bots and don't take the hint. Finally they get hung up on by the other end in self defense. Any thoughts as to why?

17 years ago #6168
The AI Engine is supposed to pick up on the obvious ones, and usually does. "Goodbye!" "See you later!" "Gotta go!" "TTFN!" I've seen all those trigger xgoodbye. For ones that it misses, I sometimes add a keyphrase with the response "goto xgoodbye".

17 years ago #6169
There's a thought. Thanks. I was starting to put in a keyphrase for every damn "xgottago" that my bot missed. It makes for more relevant answers but takes forever.

17 years ago #6170
Question number 1219:

Why come does my bot Demented ALWAYS use the same initiate? It's not higher ranked -- I don't know that you *can* adjust ranks for individual responses -- only for keyphrases. I'm getting sick of seeing "Greetings from Baraboo . . ." or whatever idiotic think he keeps saying. Yes I typed it in there. But I typed other things in there that never get seen. Very depressing.

17 years ago #6171
Are you using memories in your other xinitiate responses maybe?


Posts 6,160 - 6,171 of 7,766

» More new posts: Doghead's Cosmic Bar