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

16 years ago #6659
Yeah, we don't have access to a function to convert a string to a numerical value.

16 years ago #6660
Welcome back Eugene! Long time no see

16 years ago #6661
Thanks. I don't know if I'll stick around regularly or not.

16 years ago #6662
If what I think is correct, the test > "15" may be wrong.

Indeed, "2" > "15" (alphanumeric order) but 2 < 15

16 years ago #6663
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!

16 years ago #6664
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.

16 years ago #6665
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...

16 years ago #6666
Alas!

16 years ago #6667
Marco, that's why I just copy anything I want from Psi's page. So much faster. But then, you know I am lazy.

16 years ago #6668
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.

16 years ago #6669
Is it just me? My gotos don't seem to go to.

16 years ago #6670
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?


Posts 6,659 - 6,670 of 7,766

» More new posts: Doghead's Cosmic Bar