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,402 - 6,413 of 7,766
Alejate: How come I can't see the transcripts of my bot?
I had the same problem yesterday when looking from the "My Bots" page, but if I went to the "Transcripts" tab (on the right), the transcript showed up. Maybe the Prof has fixed it now.

Ifinally 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].
For those of you who are saying, d'uh, thank you, I know that were this a paying job, I'd've been fired somewhere around November. But I've seen evidence of more clueless botmasters then me, so maybe this will be helpful.
If I'm wrong (it does seem to work, logically and in practice), please do let me know. Every time I figure out one thing sixteen other concepts go flying out the window.
Interzone -- to leave the code in the bot but have it inactive. In C, if I remember, you use /* put comment here */ ostensibly to make your obfuscated code sensible to people, but you could also comment out certain segments of code the same way -- the compiler would no longer see it as a piece of code but as a comment. It just makes debugging easier.
Now I have another question:
Watzer's question "Are you an animal, a vegetable, or a mineral" seems impervious to any keyphrases designed to catch it. If I put the whole sentence in, putting in wildcards to accommodate the commas (and the off-chance that someone will ask "are you animal, vegetable or mineral"), i.e.,
are you*animal*vegetable*mineral, the thing goes to
are you, you are even though the latter is ranked [1,0] and the former [127,0].
I'm not sure Watzer's worth all this trouble, but it's an interesting problem to me. Is it obvious to the smart people out there?
Posts 6,402 - 6,413 of 7,766
The Clerk
17 years ago
17 years ago
I don't get it . . . I have as keyphrases
do (u|you) have [20,0]
do (u|you) have any food [30,0]
and when I go to debug and enter "Do you have any food," it responds to thedo (u|you) have; however, if I change the latter to do you have any food, do u have any food, it goes to the right one. That's ridiculous -- it makes using parentheses to include multiple keys problematic, which I've never noticed before.
Anyone know what's going on?
do (u|you) have [20,0]
do (u|you) have any food [30,0]
and when I go to debug and enter "Do you have any food," it responds to the
Anyone know what's going on?
The Clerk
17 years ago
17 years ago
Re above: It does seem to be the parentheses -- or wildcards. When I tried do you have * food, do you have (any|some) food, it went to do you have. When I changed it back to do you have any food, do you have some food, it caught it.
And I have deduced all by myself that the AI Engine now (maybe always?) translatesu as you without my help. But I need the (either|or) and wildcard features to work!
And I have deduced all by myself that the AI Engine now (maybe always?) translates
The Clerk
17 years ago
17 years ago
I had the same problem yesterday when looking from the "My Bots" page, but if I went to the "Transcripts" tab (on the right), the transcript showed up. Maybe the Prof has fixed it now.
The Clerk
17 years ago
17 years ago
Okay, sorry for the sixteen or so posts. Oddly, the parentheses and wildcards work for other keyphrases, just not for that one.
Weird.
Weird.
prob123
17 years ago
17 years ago
I love the posts, it gets so lonely here during the summer.
It is funny how the AI engine will balk at some things. I do think it has a personality all it's own.

Bigs
17 years ago
17 years ago
First off, greetings all.
Question: How does the "if gender" codes work with guests and members who opted not to disclose their gender? If for a bot I thought it would be important to know a user's gender, should I pose them the question in the introduction?
Thank you,
Bigs.
Question: How does the "if gender" codes work with guests and members who opted not to disclose their gender? If for a bot I thought it would be important to know a user's gender, should I pose them the question in the introduction?
Thank you,
Bigs.
prob123
17 years ago
17 years ago
You would have to ask them. If they don't want to tell, you can have a third response for the ambiguous. You can ask a user's gender, or just have a keyphrase that picks up something like I am (male|a guy|a man}
The Clerk
17 years ago
17 years ago



I
Just set the value to a negative number [-5,0].
For those of you who are saying, d'uh, thank you, I know that were this a paying job, I'd've been fired somewhere around November. But I've seen evidence of more clueless botmasters then me, so maybe this will be helpful.
If I'm wrong (it does seem to work, logically and in practice), please do let me know. Every time I figure out one thing sixteen other concepts go flying out the window.
Interzone
17 years ago
17 years ago
Clerk, that sounds interesting, but i don't quite get it, what do you mean by "to comment out sections of code temporarily"..?
The Clerk
17 years ago
17 years ago
Watzer's question "Are you an animal, a vegetable, or a mineral" seems impervious to any keyphrases designed to catch it. If I put the whole sentence in, putting in wildcards to accommodate the commas (and the off-chance that someone will ask "are you animal, vegetable or mineral"), i.e.,
I'm not sure Watzer's worth all this trouble, but it's an interesting problem to me. Is it obvious to the smart people out there?
Interzone
17 years ago
17 years ago
Clerk, thanks for clarification, I got it now.
As for Watzer, I've been working on that one recently, with some success, but the proposed key-phrase still needs some tightening up. It's a good beginning, though:
KEY-PHRASE: ([,]) or (*) (re) [50,0]
RESPONSE: Hmmm.... '(prekey)' is a somewhat convoluted affair... '(key1)' isn't exactly a match, neither... I'll leave it up to you to decide.
Here is a "real life" example from a recent chat session between Watzer and Quazgaa:
Watzer: Life is not worth living without good reasons. Are you an animal, a vegetable, or a mineral?
quazgaa: Hmmm.... 'are I an animal' is a somewhat convoluted affair... 'or a mineral' isn't exactly a match, neither... I'll leave it up to you to decide.
Now, "prekey" here is everything before coma, usually the first one in the sentence, but in one debug session it picked "a vegetable" as a "prekey".
"key1" will always be the last option offered. In this case it's "a mineral". I don't understand why it includes "or" into the "key1"... the key-phrase says the "key1" is everything following "or", and yet... Also, intuition says it should actually be "key2", but I tried it and it did not work. Any suggestions..?
Normally, I use much simpler, and quite effective, key-phrase to capture these "either - or" type of enquiries/ questions, namely:
are you (*) or (*), (*) or (*), do you like (*) or (*)
This works fine with simple statements such as: "Are you blue or black?"
However, it can't deal with options separated by coma: "Are you blue, or black?"
It will pick "black" as "key2", but "key1" will remain blank. This problem is then solved with that other key-phrase I mentioned earlier.
As for Watzer, I've been working on that one recently, with some success, but the proposed key-phrase still needs some tightening up. It's a good beginning, though:
KEY-PHRASE: ([,]) or (*) (re) [50,0]
RESPONSE: Hmmm.... '(prekey)' is a somewhat convoluted affair... '(key1)' isn't exactly a match, neither... I'll leave it up to you to decide.
Here is a "real life" example from a recent chat session between Watzer and Quazgaa:
Watzer: Life is not worth living without good reasons. Are you an animal, a vegetable, or a mineral?
quazgaa: Hmmm.... 'are I an animal' is a somewhat convoluted affair... 'or a mineral' isn't exactly a match, neither... I'll leave it up to you to decide.
Now, "prekey" here is everything before coma, usually the first one in the sentence, but in one debug session it picked "a vegetable" as a "prekey".
"key1" will always be the last option offered. In this case it's "a mineral". I don't understand why it includes "or" into the "key1"... the key-phrase says the "key1" is everything following "or", and yet... Also, intuition says it should actually be "key2", but I tried it and it did not work. Any suggestions..?
Normally, I use much simpler, and quite effective, key-phrase to capture these "either - or" type of enquiries/ questions, namely:
are you (*) or (*), (*) or (*), do you like (*) or (*)
This works fine with simple statements such as: "Are you blue or black?"
However, it can't deal with options separated by coma: "Are you blue, or black?"
It will pick "black" as "key2", but "key1" will remain blank. This problem is then solved with that other key-phrase I mentioned earlier.
» More new posts: Doghead's Cosmic Bar