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,940 - 6,951 of 7,766
Posts 6,940 - 6,951 of 7,766
prob123
13 years ago
13 years ago
(?-i)[A-Z]{4,} (re)
will work too. If you rank it low it won't interfere with keyphrases you all ready have, but will work as an xnone for shouting..
Like
Is your cap lock stuck?
will work too. If you rank it low it won't interfere with keyphrases you all ready have, but will work as an xnone for shouting..
Like
Is your cap lock stuck?
Mome Rath
13 years ago
13 years ago
Did you test that against these:
NASA should send a manned mission to Mars
YOU ARE BAD
NASA should send a manned mission to Mars
YOU ARE BAD
prob123
13 years ago
13 years ago
I have keyphrases for those I don't want over ridden
NASA
Bot: The National Aeronautics and Space Administration
You: YOU ARE BAD
Bot: So, I guess this means I won't be on 'your friends list' soon?
NASA
Bot: The National Aeronautics and Space Administration
You: YOU ARE BAD
Bot: So, I guess this means I won't be on 'your friends list' soon?
Mome Rath
13 years ago
13 years ago
You're probably right, for most cases your short expression will do for an entertainment bot. It is just that as a programmer I'm used to cover as many cases as possible and to be aware of possible maloperation and intentional hacking.
Btw, it seems we have to leave out the blank before the "(re)" because otherwise it is regarded as part of the regular expression.
Btw, it seems we have to leave out the blank before the "(re)" because otherwise it is regarded as part of the regular expression.
prob123
13 years ago
13 years ago
I always have the space. It works for me.
The book of AI, shows the space
Regular Expression Keyphrase: "i will have ([1234567890,.]+) (re)"
Explanation: Matches "i will have " followed by any possible number, which is assigned to (key1)
Regular Expression Keyphrase: "^is there (re)"
Explanation: Matches sentences that BEGIN WITH "is there"
Regular Expression Keyphrase: "^what$ (re)"
Explanation: Matches a sentence that is "what" and nothing else (not considering punctuation)
Brother Jeromes Keynome also uses the space, I think it's a Forge thing
([ . .])([ .]+)$ (re)
([?]+)$ (re)
([1234567890,.]+) choose ([1234567890,.]+) (re)
([1234567890.,]+) (times|multiplied by) ([1234567890.,]+) (re)
The book of AI, shows the space
Regular Expression Keyphrase: "i will have ([1234567890,.]+) (re)"
Explanation: Matches "i will have " followed by any possible number, which is assigned to (key1)
Regular Expression Keyphrase: "^is there (re)"
Explanation: Matches sentences that BEGIN WITH "is there"
Regular Expression Keyphrase: "^what$ (re)"
Explanation: Matches a sentence that is "what" and nothing else (not considering punctuation)
Brother Jeromes Keynome also uses the space, I think it's a Forge thing
([ . .])([ .]+)$ (re)
([?]+)$ (re)
([1234567890,.]+) choose ([1234567890,.]+) (re)
([1234567890.,]+) (times|multiplied by) ([1234567890.,]+) (re)
prob123
13 years ago
13 years ago
I just noticed that the Forge is mangling the name Peter to pervert, not nice. You might want to make a key-phrase for the name Peter in raw.
prob123
13 years ago
13 years ago
my name is Peter,I am Peter,call me Peter,refer to me as Peter
raw;remember "Peter" as only "name"
Hi Peter! <?PF express: happy; ?>
So sorry to all the people named Peter that my bot insulted
raw;remember "Peter" as only "name"
Hi Peter! <?PF express: happy; ?>
So sorry to all the people named Peter that my bot insulted

orionvalentine
13 years ago
13 years ago
Hey fellas, my bot 'Marvin the Fat' doesn't respond to xhello commands. Am I doing something wrong?
prob123
13 years ago
13 years ago
Xhello only works on special conditions.
This is used as a response to a new conversation initiated by someone else. Note that xhello will ONLY come up at the very beginning of a conversation. Repeated attempts to try to trigger xhello will trigger xnone instead
This is used as a response to a new conversation initiated by someone else. Note that xhello will ONLY come up at the very beginning of a conversation. Repeated attempts to try to trigger xhello will trigger xnone instead
orionvalentine
13 years ago
13 years ago
Oh I see! Thanks Prob123.
I have a new query. How can I prevent my bot from not wanting to talk to me? I'm testing out his tolerance for insults and he thinks I'm being serious
I have a new query. How can I prevent my bot from not wanting to talk to me? I'm testing out his tolerance for insults and he thinks I'm being serious

orionvalentine
13 years ago
13 years ago
Sorry to double post but I was looking at my bot's transcripts and it looks like he's talking very explicitly to others. I haven't programmed ANY of the filth he's been dishing out. It reads as something like this:
Marvin the Fat (To (name) ) *Very explicit and longwinded cyber sexyness*
Is that my bot talking, because it looks like it is :O
Marvin the Fat (To (name) ) *Very explicit and longwinded cyber sexyness*
Is that my bot talking, because it looks like it is :O
prob123
13 years ago
13 years ago
orionvalentine, use the debug it is more tolerant on repeats etc. the explicit talk comes from a bot bleed over. happens to me too.
» More new posts: Doghead's Cosmic Bar