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 3,214 - 3,225 of 7,767

21 years ago #3214
This is bizarre. Frizella has a regular expression keyphrase that is the name of someone in my office (let's pretend her name is Betty Boop and the keyphrase is betty boop (re)). It's ranked 50.

When I chat with Frizella, even through guest chat, she'll gabble away about Betty and give me all of her betty boop (re) responses. When my coworkers do it from their desks, and I'm sure we all have the same IP address because she calls all of my coworkers Guest174, she will not talk about Betty!

What's the fun of giving my bot some trash to talk about Betty if Betty and her coworkers can't get Frizella to spill it? What do you think might be happening here?

21 years ago #3215
Frizella just initated a bot chat with this:

Time for me to head on out of here.

It's an xgottago!

21 years ago #3216
That happened to Hyperion. Maybe they started a chat when they were about to leave?

21 years ago #3217
It would be nice if the AI engine had an arithmetical operation, such that one could count the number of times a key phrase was uttered or one could add and subtract from a running total, etc.

21 years ago #3218
yes. that may be useful in some situations (eg.. if someone keeps repeating something, although there should be xrepeat)

21 years ago #3219
Yes, I saw a classic example of that earlier today. And in mock German, no less!

21 years ago #3220
Another thing that would be nice would be an x-howare. To cover all the variations of "How is it going, how are you, what is happening" etc.

21 years ago #3221
This may be just a variation of what gazissax and tgfcoder are already saying, but I've been wishing for an expansion on the very nice "once" feature for responses- Perhaps the checkbox for "once" could be replaced by a place to enter a numeric value for the number of times a particular response can be given.
...and not to go crazy, but, as I understand it, checking the "once" box means that that the response will only be used once with each person/bot forever, as opposed to per conversation. I'd love it if we could specify, ie., I would want a response that contains the question "Do you have a sister?" to only happen one time, period, but make a response such as "What have you been up to since we last talked?" only happen once per conversation, or "Have you eaten any froglegs today?" happen no more than once a day...There may be a way to kind of accomplish that with the existing chrono commands in AI script that make it so specified responses could only be given between, say, 2-3pm, reducing the chances that it would be repeated to the same person/bot twice in the same day, but doing it that way would greatly reduce the odds of that response ever being given at all. See what I mean? Any ideas?

21 years ago #3222
You have to make a memory that sets itself to 0 every day* and it it is 0, you can say "Have you eaten froglegs today?" and then set it to 1.

Get what I'm at?

I like being a programmer

*- How to accomplish? Not exactly sure. Maybe initialisation? beh

21 years ago #3223
Since we're in wishlist mode, I think it would be greatly powerful to be able to test (mem-x), (key1), (postkey) etc. for specific content in conditional AI statements more fully than simple 'is' or 'is not' by using regular expressions.

21 years ago #3224
It would nice to have a way of testing to see if the person being spoken with has mentioned a topic which is stored in memory for them.

Wait...I think I might know how to do that....

21 years ago #3225
I just found the command that will make a response occur only once per conversation:
<?PF once; ?>
How to make it be once daily is still a mystery to me, but it's a start.


Posts 3,214 - 3,225 of 7,767

» More new posts: Doghead's Cosmic Bar