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,220 - 3,231 of 7,767
Posts 3,220 - 3,231 of 7,767
gazissax
21 years ago
21 years ago
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.
ezzer
21 years ago
21 years ago
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?
...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?
tgfcoder
21 years ago
21 years ago
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
Get what I'm at?


*- How to accomplish? Not exactly sure. Maybe initialisation? beh
Joe Repka
21 years ago
21 years ago
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.
gazissax
21 years ago
21 years ago
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....
Wait...I think I might know how to do that....
ezzer
21 years ago
21 years ago
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.
<?PF once; ?>
How to make it be once daily is still a mystery to me, but it's a start.
gazissax
21 years ago
21 years ago
Just a note on my last note: there doesn't seem to be a means for extracting a single piece of data from a field stored in memory, which would be quite handy.
Ideally it would read something like this:
<?PF: extract "mem-iam" contains "a bot">"?>
Use would be for looking for the same word in the utterance of a returnee and spouting out something like "Can't you stop worrying whether I am (mem-iam-extract)?"
I leave it to better programmers to design the format for the code.
Ideally it would read something like this:
<?PF: extract "mem-iam" contains "a bot">"?>
Use would be for looking for the same word in the utterance of a returnee and spouting out something like "Can't you stop worrying whether I am (mem-iam-extract)?"
I leave it to better programmers to design the format for the code.
dallymo
21 years ago
21 years ago
ezzer, thanks for the detective work on the "once" thing! Hey, ruebot, when you've got a minute, would you chat with Frizella and see if she limits her zebra-acquisition questions to just once in the convo?
ruebot
21 years ago
21 years ago
sure dallymo, she does like that zebra.
i tried saying several different things to see if she'd say something else about it but she hasn't yet.
the first bot i made was fascinated by cats and thought a cat was the most powerful computer.

the first bot i made was fascinated by cats and thought a cat was the most powerful computer.

dallymo
21 years ago
21 years ago
Help me out with "as only" in AIScript. Here's what the Book of AI says:
Saves memorycontents or the value of a plugin as a memory by the name of memoryname. If a memory of this name exists, it adds the new value to a list with a maximum of 10 values.
So "as only" *does* remember multiple values? I was thinking that it allowed only a single value for a particular memory. If "as only" *does* only allow for one memory, will another "as only" for the same memory replace the original memory? For example, Frizella's got a keyphrase for "i wish i had (*)" and it's got AIScript that says "remember (key1) as only "wisheshad"; ".
If the other party wishes they had a zebra (f'rinstance), Frizella assigns "zebra" to (mem-wisheshad). If, later, they wish they had a cow, would Frizella replace "zebra" with "cow" in the "wisheshad" memory?
Saves memorycontents or the value of a plugin as a memory by the name of memoryname. If a memory of this name exists, it adds the new value to a list with a maximum of 10 values.
So "as only" *does* remember multiple values? I was thinking that it allowed only a single value for a particular memory. If "as only" *does* only allow for one memory, will another "as only" for the same memory replace the original memory? For example, Frizella's got a keyphrase for "i wish i had (*)" and it's got AIScript that says "remember (key1) as only "wisheshad"; ".
If the other party wishes they had a zebra (f'rinstance), Frizella assigns "zebra" to (mem-wisheshad). If, later, they wish they had a cow, would Frizella replace "zebra" with "cow" in the "wisheshad" memory?
ezzer
21 years ago
21 years ago
Yes, dallymo, i think that's right. I think the purpose of the "as only" in the memory command is to make the new memory overwrite all other previous memories in that category.
Shadyman
21 years ago
21 years ago
*nod*
Yep, cow would be the only one there if you used "asonly".
If you used just the "as", there would be zebra and cow.
Yep, cow would be the only one there if you used "asonly".
If you used just the "as", there would be zebra and cow.
» More new posts: Doghead's Cosmic Bar