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
Posts 6,160 - 6,171 of 7,766
The Clerk
17 years ago
17 years ago
Nah. It's not the question mark. Never mind on that. So what in blazes is it?
The Clerk
17 years ago
17 years ago
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.
<?PF rem "lastthingisaid" as only "Must you, (mem-name)?"; ?>
I swear, all it takes is for me to post it.
Ulrike
17 years ago
17 years ago
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.
Ulrike
17 years ago
17 years ago
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?
Of course I /i! Don't you?
The Clerk
17 years ago
17 years ago
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!
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!
ezzer
17 years ago
17 years ago
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"; ?>
The Clerk
17 years ago
17 years ago
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.
The Clerk
17 years ago
17 years ago
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?
Ulrike
17 years ago
17 years ago
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".
The Clerk
17 years ago
17 years ago
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.
The Clerk
17 years ago
17 years ago
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.
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.
» More new posts: Doghead's Cosmic Bar