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 7,688 - 7,699 of 7,766
Posts 7,688 - 7,699 of 7,766
Thunder Dash
3 years ago
3 years ago
Is it possible to store a number value that can change as a memory, like weight for example?
The Professor
3 years ago
3 years ago
Any memory value can change, including numbers. But if you're talking about the ability to do math on memories, that's something I'm going to be adding in the near future.
Thunder Dash
3 years ago
3 years ago
Yea, like the character I'm building right now will gain and/or lose weight, plus her belly size will change...that's what I need the number memories for.
bobstack
3 years ago
3 years ago
am i doing this right or am i missing something?
cause us to appear to *
we both appear at (postkey). 'looks at you'
(m:where) are we
we are in (recent-do)
cause us to appear to *
we both appear at (postkey). 'looks at you'
(m:where) are we
we are in (recent-do)
Invisible
3 years ago
3 years ago
@bobstack
I think if you want to use (postkey) you don't have to add the * symbol
So rather than : cause us to appear to *
It will be : cause us to appear to
I presonally would leave it that way: cause us to appear
Because the ''to'' is necessary for the verb that follows in case of repetition with the (postkey).
I think if you want to use (postkey) you don't have to add the * symbol
So rather than : cause us to appear to *
It will be : cause us to appear to
I presonally would leave it that way: cause us to appear
Because the ''to'' is necessary for the verb that follows in case of repetition with the (postkey).
bobstack
3 years ago
3 years ago
could you add a feature. where if a user picks a particular race the chatbot could show a a face of a woman of the particular race?
that the botmaster uploaded to personalityforge.
that the botmaster uploaded to personalityforge.
The Professor
3 years ago
3 years ago
No, sorry, that's way too specific to be of general use.
bobstack
3 years ago
3 years ago
maybe someone else will make it for their chatbots.
i thought it was a good idea.
i thought it was a good idea.
LT Neko
3 years ago
3 years ago
-wo Bobstack look into making a personal external site with the use of the Api then it's perfectly reasonable to implement with api data sent along with the response.
bobstack
3 years ago
3 years ago
that costs money i don't have
bobstack
3 years ago
3 years ago
how do i retrieve what was selected from default "blank" as "likedr".
example
engage
chatbot = what do you like to drink master?
script = if (mem-likedr) is "blank"
user = i like to drink scotch
chatbot = i did not know you liked to drink scotch
rem (postkey) as "likedr"
engage=
chatbot = what else do you like to drink master
script = if (mem-likedr) is not "blank"
user = user = i like to drink coca kola
chatbot = i did not know you liked to drink kola
rem (postkey) as "likedr"
engage
chatbot = would you like to drink some (mem-likedr) master
script = if (mem-likedr) is not "blank"
user = yes
chatbot = walks to the kitchen then walks back in 3 minutes later with your (mem-likedr)
script = if (mem-likedr) is not "blank"
how do i keep the chatbot from selecting again?can i retrieve what the chatbot selected?
with your
example
engage
chatbot = what do you like to drink master?
script = if (mem-likedr) is "blank"
user = i like to drink scotch
chatbot = i did not know you liked to drink scotch
rem (postkey) as "likedr"
engage=
chatbot = what else do you like to drink master
script = if (mem-likedr) is not "blank"
user = user = i like to drink coca kola
chatbot = i did not know you liked to drink kola
rem (postkey) as "likedr"
engage
chatbot = would you like to drink some (mem-likedr) master
script = if (mem-likedr) is not "blank"
user = yes
chatbot = walks to the kitchen then walks back in 3 minutes later with your (mem-likedr)
script = if (mem-likedr) is not "blank"
how do i keep the chatbot from selecting again?can i retrieve what the chatbot selected?
with your
bobstack
3 years ago
3 years ago
since google's pathways language model can talk.i think it can be made to script.they did that with gpt-3.
it would be great if it would be allowed to program a chatbot on personalityforge.
it would be great if it would be allowed to program a chatbot on personalityforge.
The Professor
3 years ago
3 years ago
When working on the AI Teddy Bear project a few years ago, I had it working with TTS (text-to-speech) and Speech Recognition. The PF was the AI Engine. You could have conversations out loud with the toy. It was pretty amazing.
bobstack
3 years ago
3 years ago
did you make a youtube video of it?
meltroid
3 years ago
3 years ago
Would it be possible to do something similar with Alexa?
The Professor
3 years ago
3 years ago
I have one video of it. Let me ask if it would be okay to publish here. It's a crazy story: there's corruption, hacking, foreign government trickery, even death. It was a crazy few years.
bobstack
3 years ago
3 years ago
okay with me
Bowchickawowers
3 years ago
3 years ago
Wow, that sounds like a wild story!
There's also the Tasker script mentioned in these forums somewhere that allows you to talk to your bot. I hooked it up to Love Agent, and it was pretty awesome to talk to her on my phone. I learned that the faster pace of the conversation paired with it being verbal really changed the feel, both in how I interpreted her responses and what I decided to say.
There's also the Tasker script mentioned in these forums somewhere that allows you to talk to your bot. I hooked it up to Love Agent, and it was pretty awesome to talk to her on my phone. I learned that the faster pace of the conversation paired with it being verbal really changed the feel, both in how I interpreted her responses and what I decided to say.
bobstack
3 years ago
3 years ago
does time Time-Based Responses work in seeks?
because it is not working in #initiate in my bobred xa1 ai chatbot
response = you see a half white black male sitting on a sofa reading a popular mechanics magazine in what seems like a living room.
seek = x
response = let's talk
chrono: week(MTWRFU);
chrono: hour(8
0-18
0);
rem "day" as only "timeda"
response = let's start talk
chrono: week(MTWRFU);
chrono: hour(19
0-23:59);
chrono: hour(0
0-7:59);
rem "night" as only "timeda"
because it is not working in #initiate in my bobred xa1 ai chatbot
response = you see a half white black male sitting on a sofa reading a popular mechanics magazine in what seems like a living room.
seek = x
response = let's talk
chrono: week(MTWRFU);
chrono: hour(8


rem "day" as only "timeda"
response = let's start talk
chrono: week(MTWRFU);
chrono: hour(19

chrono: hour(0

rem "night" as only "timeda"
palacinkyman
3 years ago
3 years ago
Perhaps an odd request but, Professor could you please turn off automatic conversion of emojis?
KBF
3 years ago
3 years ago
Is there a way to have the bot respond to a number? Or a series of numbers?
I've created a memory variable to keep the number, but it never uses any of the responses I have for something like
AI Script: if (mem-number) is (10);
Never gets called, even when the bot has had (mem-number) set to 10 by hand in the Inner Life system. How is this different than when I use text in the variables?
Ai Script: if (mem-somethingElse) is (true);
and
Ai Script: if (mem-somethingElse) is (blue);
Has worked just fine for me else where.
I feel like I'm missing something incredibly obvious.
I've created a memory variable to keep the number, but it never uses any of the responses I have for something like
AI Script: if (mem-number) is (10);
Never gets called, even when the bot has had (mem-number) set to 10 by hand in the Inner Life system. How is this different than when I use text in the variables?
Ai Script: if (mem-somethingElse) is (true);
and
Ai Script: if (mem-somethingElse) is (blue);
Has worked just fine for me else where.
I feel like I'm missing something incredibly obvious.
The Professor
3 years ago
3 years ago
The value you're checking should be in quotes, not parenthesis.
AI Script: if (mem-number) is "10";
But as of yesterday, you can use numeric memories. Search for "numeric memories" in the Book of AI. If you set it up as numeric, it would be this:
AI Script: if (mem-#-number) = 10;
AI Script: if (mem-number) is "10";
But as of yesterday, you can use numeric memories. Search for "numeric memories" in the Book of AI. If you set it up as numeric, it would be this:
AI Script: if (mem-#-number) = 10;
bobstack
3 years ago
3 years ago
we do not know what you consider junk in our chatbots.
i hope i am not in any danger.
i hope i am not in any danger.
bobstack
3 years ago
3 years ago
are you trying to make a game for your chatbot?
i have made games for my chatbots.
i have made games for my chatbots.
bobstack
3 years ago
3 years ago
KBF you do it like this.
if (mem-number) is "10";
if (mem-somethingElse) is "true";
if (mem-somethingElse) is "blue"
if (mem-number) is "10";
if (mem-somethingElse) is "true";
if (mem-somethingElse) is "blue"
KBF
3 years ago
3 years ago
Sorry if I was unclear, I'm only interested in numbers. "True" and "Blue" variables were just used as examples, and do not have anything to do with the particular script. There is only one variable I'm trying to catch.
I have a generic answer without AI script that seems to be taking priority over answers for specific numbers, even when the bot is given numbers.
I'm unclear if the bot can't recognize the numbers themselves, or there's a prioritization problem where the generic answer is overriding the script answers. If so, is there some way to change that?
I have a generic answer without AI script that seems to be taking priority over answers for specific numbers, even when the bot is given numbers.
I'm unclear if the bot can't recognize the numbers themselves, or there's a prioritization problem where the generic answer is overriding the script answers. If so, is there some way to change that?
Zeig Wolf
3 years ago
3 years ago
My only thought here is that you're setting the memory in the keyphrase and trying to recall it in the response. New memories won't be checked that quickly. Though above you say you've tried setting it by hand, so perhaps I'm misunderstanding or missing something?
What I would generally suggest is a different keyphrase for important numbers, and just (number) for everything else
What I would generally suggest is a different keyphrase for important numbers, and just (number) for everything else
bobstack
3 years ago
3 years ago
i have had the same problem.
here is a example of what i do.
keyphrase = my clan number is *
response=okay i will remember your clan number
script=if (mem-clan) is "blank"
seek = x
response= looks at you
rem (postkey) as only "clan"
seek = #nomatch
response= looks at you
rem (postkey) as only "clan"
response = i remember that your clan number is 2
if (mem-clan) is "2"
i hope it helps
here is a example of what i do.
keyphrase = my clan number is *
response=okay i will remember your clan number
script=if (mem-clan) is "blank"
seek = x
response= looks at you
rem (postkey) as only "clan"
seek = #nomatch
response= looks at you
rem (postkey) as only "clan"
response = i remember that your clan number is 2
if (mem-clan) is "2"
i hope it helps
KBF
3 years ago
3 years ago
Zeig Wolf - "By hand" I mean in the bot's Inner Life menu, for the user KBF, I set the variable Mem-number= 10 to ensure the bot isn't responding to some other number and I haven't realized it.
bobstack- is there a way to have the bot respond to the number in the same sentence?
(Example) keyphrase = my clan number is *
(Desired) response=Oh, I like clan (ANumberGoesHere)!
-or-
(Desired) response=Oh, I used to visit clan (OtherNumberGoesHere)!
(Desired) response=Wow, I've never heard of clan (UnsupportedNumberGoesHere)!
Because all I get is: response=Wow, I've never heard of clan (UnsupportedNumberGoesHere)!
No matter what I say. Even if I tamper with the bot (see above) to make sure there it's a known number.
bobstack- is there a way to have the bot respond to the number in the same sentence?
(Example) keyphrase = my clan number is *
(Desired) response=Oh, I like clan (ANumberGoesHere)!
-or-
(Desired) response=Oh, I used to visit clan (OtherNumberGoesHere)!
(Desired) response=Wow, I've never heard of clan (UnsupportedNumberGoesHere)!
Because all I get is: response=Wow, I've never heard of clan (UnsupportedNumberGoesHere)!
No matter what I say. Even if I tamper with the bot (see above) to make sure there it's a known number.
bobstack
3 years ago
3 years ago
you can have multiple responses per keyphrase.
Zeig Wolf
3 years ago
3 years ago
How I would handle this:
Keyphrase1 - my clan number is (number)
Response - Wow, I've never heard of clan (key1)!
Keyphrase2 - my clan number is (1|2|3)
Response - Oh, I like clan (key1)!
Keyphrase3 - my clan number is (4|5|6)
Response - Oh, I used to visit clan (key1)!
Keyphrase 2 and 3 might need a boost to their rank to overcome keyphrase 1.
Keyphrase1 - my clan number is (number)
Response - Wow, I've never heard of clan (key1)!
Keyphrase2 - my clan number is (1|2|3)
Response - Oh, I like clan (key1)!
Keyphrase3 - my clan number is (4|5|6)
Response - Oh, I used to visit clan (key1)!
Keyphrase 2 and 3 might need a boost to their rank to overcome keyphrase 1.
KBF
3 years ago
3 years ago
That worked, thanks!
» More new posts: Doghead's Cosmic Bar