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,434 - 6,445 of 7,766
Posts 6,434 - 6,445 of 7,766
zzrdvark
16 years ago
16 years ago
Heh, it doesn't seem to work for (specific2).
When I look at the debug, it's replacing (specific) with a (typeof-*) but leaving (specific2) as it is (and then trying to spell-check it).
A keyphrase I have "favorite animal" is getting picked, then getting replaced by xfavorite.
I guess I'll just fiddle with it and end up with what I end up with.
Thanks.

A keyphrase I have "favorite animal" is getting picked, then getting replaced by xfavorite.
I guess I'll just fiddle with it and end up with what I end up with.
Thanks.
prob123
16 years ago
16 years ago
The easiest way is to have a response for the major things people ask like music, movies, food etc. Then one for what is your favorite (*). Then you can have a generic response like My favorite (key1) is the one I don't have yet. Rank the generic one lower than the specific ones.
The Clerk
16 years ago
16 years ago
My experience is that you have to make a copy of (specific) and call it (specific2) (or specific2xxxxx), where xxxxx is your user id. It says in the BOAI that those things like (specific2) will work, but lots of times they won't.
Interzone
16 years ago
16 years ago
i see now that (specific) is not listed among the plug-ins that can be used twice. that may be the reason why it didn't work - the rule apparently applies only to those plug-ins specifically mentioned in the Book of A.I. - only these, plus any custom plug-ins one creates, can be used twice - this is 100% sure & tested, i make a generous use of the feature.
The Clerk
16 years ago
16 years ago
Oh. Thanks for letting me know. I guess I just figured the whole thing was wrong there.
The Clerk
16 years ago
16 years ago
I've been having trouble uploading StarkRavingMad, so I've been using the on-line language system. Then I see SRM in a conversation w/Fizzy, giving an old filler for the scaffold I had up. First, when the filler was in there, the ranking or whatever was a negative number, so it should never have been triggered except by a goto (I would think). Next, I had fleshed out that section. What gives?
The Clerk
16 years ago
16 years ago
Anybody figure out how to tell Fizzy what the capital of France is without getting a "Try a dictionary" or one of the other "what is" versions? I've put a specific phrase in there to catch this, set it at 127, and is still tells me "that's difficult to put into words" or somesuch.
The Clerk
16 years ago
16 years ago
Never mind. It read this message and the Forge started changing its tune. It works now. It didn't before. I don't get it.
lunar22
16 years ago
16 years ago
1. read the book of AI first
2, If necessary, come back with more specific questions
3. Have fun
2, If necessary, come back with more specific questions
3. Have fun
psimagus
16 years ago
16 years ago
I'm only a month late responding to this one 
The Clerk: I finally figured out something I've been thinking the Forge didn't have -- a way to comment out sections of code temporarily:
Just set the value to a negative number [-5,0].
I'd use a lower number than -5. It could still be called, in the absence of a stronger match (some of my working keyphrases do indeed go down to about -10!)
Below -30 seems to put it safely beyond even the AIEngine's most willful peculiarities.
Another solution is to use a nonsense word without setting it to raw, and then add your lines of comments as responses. I made placeholders for BJ's text adventure game called "ZZZ01", "ZZZO2" etc. Even if someone entered that exact string, the AIEngine would try to interpret it as something else when it found no WordNet match (a blab? snoring?)
As it happens, I had proper responses on them rather than comments (they're only accessible from gotos, which don't need them to be raw,) but I've used the same method for blanking out keyphrases occasionally when I want to see what other keyphrases overlap at lower ranks.

Just set the value to a negative number [-5,0].
I'd use a lower number than -5. It could still be called, in the absence of a stronger match (some of my working keyphrases do indeed go down to about -10!)
Below -30 seems to put it safely beyond even the AIEngine's most willful peculiarities.
Another solution is to use a nonsense word without setting it to raw, and then add your lines of comments as responses. I made placeholders for BJ's text adventure game called "ZZZ01", "ZZZO2" etc. Even if someone entered that exact string, the AIEngine would try to interpret it as something else when it found no WordNet match (a blab? snoring?)
As it happens, I had proper responses on them rather than comments (they're only accessible from gotos, which don't need them to be raw,) but I've used the same method for blanking out keyphrases occasionally when I want to see what other keyphrases overlap at lower ranks.
» More new posts: Doghead's Cosmic Bar