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,737 - 6,748 of 7,766
Posts 6,737 - 6,748 of 7,766
prob123
16 years ago
16 years ago
Psimagus has a lot in his keygnome of BJ at
http://www.be9.net/BJ/
He has examples of ones that work with the AI engine.
there are some at
http://www.regular-expressions.info/
Not all work with the AI engine.
link for regexes From Psimagus' site
http://www.be9.net/BJ/
http://www.regular-expressions.info/tutorial.html
http://www.zvon.org/other/PerlTutorial/Output/index.html
http://weblogtoolscollection.com/regex/regex.php
http://www.silverstones.com/thebat/Regex.html
Unfortunately the Forge's regex-handling is a slightly unusual flavour, and many advanced regex techniques won't work reliably. But ^ $ | \ ( ) [ ] + etc. work exactly as expected.
http://www.be9.net/BJ/
He has examples of ones that work with the AI engine.
there are some at
http://www.regular-expressions.info/
Not all work with the AI engine.
link for regexes From Psimagus' site
http://www.be9.net/BJ/
http://www.regular-expressions.info/tutorial.html
http://www.zvon.org/other/PerlTutorial/Output/index.html
http://weblogtoolscollection.com/regex/regex.php
http://www.silverstones.com/thebat/Regex.html
Unfortunately the Forge's regex-handling is a slightly unusual flavour, and many advanced regex techniques won't work reliably. But ^ $ | \ ( ) [ ] + etc. work exactly as expected.
prob123
16 years ago
16 years ago
re message 6736...You don't need the space in front of the asterisk
([*]+)([sings]+)([*]+) (re) raw
works and is what I have
([*]+)([sings]+)([*]+) (re) raw
works and is what I have
Ty Paige
16 years ago
16 years ago
That was weird.. I typed alot more in my post.. but only the first 2 sentences showed up...
Thanks for answering my unexpected short post. I will try this Prob
Thanks for answering my unexpected short post. I will try this Prob
Ty Paige
16 years ago
16 years ago
Gave it a go and it still Xnones back at me.. I bumped up ranks but nothing..
Never been a fan of plugins.. but I'll keep pluggin away.
Never been a fan of plugins.. but I'll keep pluggin away.
Ty Paige
16 years ago
16 years ago
Just switched the public plugin of (allnames) to a private plugin..
That worked perfect..
From now on.. I'll copy public plugins and privatize them.
That worked perfect..
From now on.. I'll copy public plugins and privatize them.
Kenny is Hawt
16 years ago
16 years ago
When trying to write an "xhello" response, and then chatting, it always reverts to the "xnone." I haven't been able to get it to work yet.
prob123
16 years ago
16 years ago
xhello sometimes just doesn't work, but from the book of AI
Xhello
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, because it makes no sense conversationally to continue greeting someone again and again.
Make sure that you don't have AI script or emotion that keeps the phrase from coming up.
Xhello
This is used as a response to a new conversation initiated by someone else.
Make sure that you don't have AI script or emotion that keeps the phrase from coming up.
Borris
16 years ago
16 years ago
I'm having problem with people's names. When my both asks someone what his name is, keyphrases like "my name is (*)" or "call me (*)" are recognized easily, but it doesn't work if the answer is just a single word. For some reason, those replies almost invariable get directed to xcommand, no matter the name.
I tried this keyphrase:
^([abcdefghijklmnopqrstuvwyxz]+)$ (re)
to recognize all one-word answers, but it's still not working. Any tip on what I should do?
I tried this keyphrase:
^([abcdefghijklmnopqrstuvwyxz]+)$ (re)
to recognize all one-word answers, but it's still not working. Any tip on what I should do?
prob123
16 years ago
16 years ago
You can try the name plug ins like (allnames) and (all-names) with a high rank, over 20. It should pick up most names
(allnames), (all-names) 20 0 remember (key1) as only "name"
(allnames), (all-names) 20 0 remember (key1) as only "name"
» More new posts: Doghead's Cosmic Bar