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,659 - 6,670 of 7,766
Posts 6,659 - 6,670 of 7,766
Eugene Meltzner
16 years ago
16 years ago
Yeah, we don't have access to a function to convert a string to a numerical value.
kaskroute
16 years ago
16 years ago
If what I think is correct, the test > "15" may be wrong.
Indeed, "2" > "15" (alphanumeric order) but 2 < 15
Indeed, "2" > "15" (alphanumeric order) but 2 < 15
Irina
16 years ago
16 years ago
I could have sworn I'd seen something about inequalities in the Book of A.I., but I just looked again and didn't find anything. I must now confess total ignorance!
Irina
16 years ago
16 years ago
Well, there is a section, in that part that deals with emotion, where inequalities are used. The practice there is to leave the quotes off the numerals. I don't know if this generalizes.
marco3b
16 years ago
16 years ago
No Irina, unluckly it is not generalized. I supposed that, but didn't work.
At the end, I had to do as Psim suggested.
But it's terrible! 60 lines of KP to math 4 numbers' ranges! It is a serious limit.
Anyway, that is...
At the end, I had to do as Psim suggested.
But it's terrible! 60 lines of KP to math 4 numbers' ranges! It is a serious limit.
Anyway, that is...
Bev
16 years ago
16 years ago
Marco, that's why I just copy anything I want from Psi's page. So much faster. But then, you know I am lazy.
prob123
16 years ago
16 years ago
That's why I keep it simple and look for the easiest way possible. Like Bildgesmythe says..You say lazy like it's a bad thing.
Irina
16 years ago
16 years ago
Sometimes control will pass to a keyphrase with a very high rank even though it was not, as far as I can see, directed there. Could it be that the way gotos work is that "goto X" gives X a large boost in rank, and that the regular algorithm will then be applied? Then if the boost were not enough to bring the rank of X above, say, 99, and some keyphrase Y has rank 100, then it will go to Y instead?
» More new posts: Doghead's Cosmic Bar