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,029 - 6,040 of 7,766
Posts 6,029 - 6,040 of 7,766
The Clerk
17 years ago
17 years ago
That 'z','q' notion is a good one. Now I'm trying to inch my way into the harder stuff. I have it on good authority that the keyphrase
I was ([abcdefghijklmnopqrstuvwxyz]+)ing (re)
would, if you'd said
"I was walking,"
say "Really, you walked?"
with the response coded as "Really, you (key1)ed?" However, I'm getting "Really, you ed?" What obvious point am I now missing? Every time I learn something new, I learn 23 things that I need to know.
Thanks for any help.
P.S. Young Hamlet is going down. Sticking to a script, at this stage of my coding level, was painting me into a corner. Enter Astrolabe, who will have his own life and talk like some of us 21st-century people do.
I was ([abcdefghijklmnopqrstuvwxyz]+)ing (re)
would, if you'd said
"I was walking,"
say "Really, you walked?"
with the response coded as "Really, you (key1)ed?" However, I'm getting "Really, you ed?" What obvious point am I now missing? Every time I learn something new, I learn 23 things that I need to know.
Thanks for any help.
P.S. Young Hamlet is going down. Sticking to a script, at this stage of my coding level, was painting me into a corner. Enter Astrolabe, who will have his own life and talk like some of us 21st-century people do.
prob123
17 years ago
17 years ago
I don't know what to say..I have a similar regex
what do ([abcdefghijklmnopqrstuvwxyz]+)ists believe (re)
I swore it used to work...but this is what I got tonight.
prob123
what do abolitionists believe
Bildgesmythe
I have very little information on that! Tell me about ists?
what do ([abcdefghijklmnopqrstuvwxyz]+)ists believe (re)
I swore it used to work...but this is what I got tonight.
prob123
what do abolitionists believe
Bildgesmythe
I have very little information on that! Tell me about ists?
prob123
17 years ago
17 years ago
It's funny the numerical ones are working
i will have ([1234567890,.]+) (re)
prob123: I will have 5
Bildgesmythe: Now, is 5 going to be enough?
i will have ([1234567890,.]+) (re)
prob123: I will have 5
Bildgesmythe: Now, is 5 going to be enough?
LarsB
17 years ago
17 years ago
i think you both forgot the ,. in your regex, not sure though, i hardly use these.
The Clerk
17 years ago
17 years ago
LarsB -- Thanks. I put them in to try it, though, and I'm getting the same response.
LarsB
17 years ago
17 years ago
The Clerk - perhaps you could change
I was ([abcdefghijklmnopqrstuvwxyz]+)ing (re)
to
I was ([abcdefghijklmnopqrstuvwxyz,.]+ing) (re)
That should work.
I was ([abcdefghijklmnopqrstuvwxyz]+)ing (re)
to
I was ([abcdefghijklmnopqrstuvwxyz,.]+ing) (re)
That should work.
Ulrike
17 years ago
17 years ago
Adding the ",." stops my similar keyphrase from even picking up, and the AIEngine consistently deletes the "." (entries should not contain any punctuation, etc.)
I think this is just a bug of the AIEngine not picking up the regular expression as a (key).
I think this is just a bug of the AIEngine not picking up the regular expression as a (key).
LarsB
17 years ago
17 years ago
All of my regexes of this type have the ",." and they work just fine:
([abcdefghijklmnopqrstuvwxyz,.]+phy) (re) [0,0] picks up anything ending in "phy", however, I see some of my regexes have changed and now lack the ".", but they still work.
([abcdefghijklmnopqrstuvwxyz,.]+phy) (re) [0,0] picks up anything ending in "phy", however, I see some of my regexes have changed and now lack the ".", but they still work.
ezzer
17 years ago
17 years ago
But if you put the "ing" in the parentheses, in the example response "Really, you (key1)ed?" , (key1)ed would be "walkinged".
I've been banging my head over similar keyphrases too.
Maybe if the keyphrase were:
I was ([abcdefghijklmnopqrstuvwxyz]+)(ing) (re)
I've been banging my head over similar keyphrases too.
Maybe if the keyphrase were:
I was ([abcdefghijklmnopqrstuvwxyz]+)(ing) (re)
prob123
17 years ago
17 years ago
I tried adding the ,. and the phrase quit working. I tried adding an extra key so the (abc... would be key 2 didn't work. The AI recognizes the phrase but just not as (key)
» More new posts: Doghead's Cosmic Bar