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,770 - 5,784 of 7,766

17 years ago #5770
If you have the patience to encode the numbers in words and put in every possible case/condition.

So you could [?PF rem "five" as only "number"; ]

Now suppose that you want to increment by one in some particular case. You'd need two bits of script in the response. [?PF if "number" is "five"; ] and [?PF rem "six" as only "number"; ]

But you'd need a separate response with code to increment by one if "four" was stored in "number". Very tedious. So far as I know, there's no way to make it actually numeric.

17 years ago #5771
Ah. That's what I was afraid of.

Thank you.

17 years ago #5774
Re: Ulrike 5770:

Yes, that's what I have ended up doing. As long as the numbers are in small ranges it's feasible.

17 years ago #5775
Is it possible for you to make your bot only say an xnone response once during a guest chat. Or is it best just to have loads of xnone respinses so thet bot won't repeat.

thanks for your advice in advance.

17 years ago #5776
You can click the "once" box on xnones, but then it will only say them once to a particular user EVER, not just for that particular chat. This means that you then have less xnones available after those have been used up.

17 years ago #5777
Also, with guest153 being seen as one person, the xnone without a 1 would be repeated a lot.

17 years ago #5779
Question about format of regular expressions, as this is the first time this keyphrase has actually triggered:
quit [abcdefghijklmnopqrstuvwxyz]+ing (re)

Response: Who says I'm (key1)ing?


But when it finally came up, the key was blank:
Fizzy Schizoid: Quit complaining.
Sonora: Who says I'm ing?

Does this mean I can't refer to the random assemblage of letters with (key1), or was it just a case of a key randomly coming up blank?

17 years ago #5780
What about quit ([abcdefghijklmnopqrstuvwxyz]+)ing (re)

I have used that for a few different keyphrases and

i will have ([1234567890,.]+) (re) etc for numbers

17 years ago #5781
Ah, thanks! I'll try that!

17 years ago #5782
*sighs* Still not working, but that is how it says to do it in the Book of AI.

17 years ago #5783
ARG! It must be a bug! I had a keyphrase I know used to work now.. I got this ....Tell me about ists? but the one for numbers is working... i will have ([1234567890,.]+) (re)
Now, is 127 going to be enough?

17 years ago #5784
when the days are near u can kiss your ass good bye Melora


Posts 5,770 - 5,784 of 7,766

» More new posts: Doghead's Cosmic Bar