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 5,405 - 5,417 of 7,766
I tried "It is [^not] (re)" but it doesn't work.
That wouldn't work, because "^" must be placed at the beginning of a keyphrase.
The simple answer is to use 2 keyphrases:
It is
It is not
and set the rank 5-10 points higher for "It is not than for "It is" - then it won't be outranked by "It is".
Ok thanks it is cause in regular expressions that means "all except"
Sometimes (infuriatingly,) "standard" regexes won't work - it is a slightly different flavour of regex on the Forge I'm afraid. Case sensitivity doesn't seem to work either.
Posts 5,405 - 5,417 of 7,766
Ulrike
18 years ago
18 years ago
Bots that have not progressed past newborn and whose botmasters have not logged on in a while are periodically deleted. If you don't want your bot to be deleted, get it beyond the newborn stage.
God Sourivore
18 years ago
18 years ago
Hello.
Just a question : how can you match the expression "It is" without "It is not" works.
I tried "It is [^not] (re)" but it doesn't work.
Just a question : how can you match the expression "It is" without "It is not" works.
I tried "It is [^not] (re)" but it doesn't work.
psimagus
18 years ago
18 years ago
That wouldn't work, because "
The simple answer is to use 2 keyphrases:
It is not
and set the rank 5-10 points higher for "
prob123
18 years ago
18 years ago
It's always good to throw in a 'It * is', and 'It * is not' too..to cover the 'it really is' etc
psimagus
18 years ago
18 years ago
Sometimes (infuriatingly,) "standard" regexes won't work - it is a slightly different flavour of regex on the Forge I'm afraid. Case sensitivity doesn't seem to work either.
Eugene Meltzner
18 years ago
18 years ago
Normally "it is not" will match before "it is" if they have the same rank, because "it is not" is longer.
God Sourivore
18 years ago
18 years ago
Yes it is what I thought.
An other question please :
I try to match the word "God"
It works when user says "I am god." but not when he says "God."
Why and is there a solution?
An other question please :
I try to match the word "God"
It works when user says "I am god." but not when he says "God."
Why and is there a solution?
prob123
18 years ago
18 years ago
I can get 'Is there a God'
Bot: Yes there is. to work...but you are right 'God' doesn't. I even tried ([abcdefghijklmnopqrstuvwxyz]+)od (re) It is triggered by Cod but not God? It all seems to go straight to blab.
Bot: Yes there is. to work...but you are right 'God' doesn't. I even tried ([abcdefghijklmnopqrstuvwxyz]+)od (re) It is triggered by Cod but not God? It all seems to go straight to blab.
» More new posts: Doghead's Cosmic Bar