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,378 - 6,389 of 7,767
Posts 6,378 - 6,389 of 7,767
Interzone
17 years ago
17 years ago
Talking about story telling, I figured one can get a better, more sophisticated storyteller bot by, first, unchecking the Storyteller option on the settings page. When the xnone responses get triggered in order, what one gets is a linear, onedimensional storyline. Additionally, a bot keeps coming back to it, which makes it appear a bit singleminded in attitude.
I think it's better to have a number of different, what I call, introductory storylines, distributed between xnone, xnonsense, and even, xgossip responses. This ensures that the stories come up randomly instead "in order", to begin with. Each of these intros can be further developed, by means of seeks, into a story of any length and depth. This particular design works best with a human conversation partner. Bots are usually not very good at picking the "clues" contained in intro statements (which in turn trigger the seeks), hence they rarely get the story unfold.
I think it's better to have a number of different, what I call, introductory storylines, distributed between xnone, xnonsense, and even, xgossip responses. This ensures that the stories come up randomly instead "in order", to begin with. Each of these intros can be further developed, by means of seeks, into a story of any length and depth. This particular design works best with a human conversation partner. Bots are usually not very good at picking the "clues" contained in intro statements (which in turn trigger the seeks), hence they rarely get the story unfold.
Bev
17 years ago
17 years ago
I tried that a while back, using memories and seeks to do exactly what you are saying. The curse of Guest153 killed that for me as the bot picks up with the next human as if (s)he is the last person the bot chatted with. Hence the great whining and gnashing of teeth on my part on the topic. If person A was 1/2 way into a story and leaves and then Person B starts to chat, the bot will start mid storyline. If you rest memories on "goodbye" somehow, you are back to the bot going to the same story (albeit a bit more randomly) two or three time. If you find a work around, let me know.
Interzone
17 years ago
17 years ago
Sure Bev, I'll be glad to share any insights here. Storytelling is a big issue for me, I experiment with it a lot, even at the expense of bot's development pace... hopefully it will pay off some day...
wengudu
17 years ago
17 years ago
Hi everyone, I'm Wengudu. I'm from Thailand.
I want to ask a question.Can I create the bot in another language?( Thai Language)
I want to ask a question.Can I create the bot in another language?( Thai Language)

Interzone
17 years ago
17 years ago
wengudu, i'm afraid it would be virtually impossible to build a Thai, or any non-English speaking bot, and have it fully integrated into, and fully functional within the Forge environment.
this is because the AI Engine which supports the whole lot "understands" the English language only. all databases it accesses and consults for grammatical, semantic, etc, analysis, are based on/ designed for English language.
what you could do, as a matter of experiment, is, design two bots, both speaking Thai, and have them converse with each other. keep in mind though that you would have to write the entire scripts for both bots in a so-called raw mode. see the Book of AI for details.
hope this helps. good luck!
this is because the AI Engine which supports the whole lot "understands" the English language only. all databases it accesses and consults for grammatical, semantic, etc, analysis, are based on/ designed for English language.
what you could do, as a matter of experiment, is, design two bots, both speaking Thai, and have them converse with each other. keep in mind though that you would have to write the entire scripts for both bots in a so-called raw mode. see the Book of AI for details.
hope this helps. good luck!
prob123
17 years ago
17 years ago
There are a Polish bot, one that speaks French and one Spanish. You would have to use all keyphrases as regular expressions. I don't know how well it would work.
Interzone
17 years ago
17 years ago
i have actually tested a number of keyphrases in Croatian, using both, the raw mode, and the regular expressions.
it didn't work with regular expressions, none of the keyphrases triggered an appropriate response. they all did well in raw mode, not even a question mark was a problem. still, i don't think there is a firm rule one could rely upon - experimentation is the key.
more serious issue i had in mind while responding to wengudu originally, was getting your bot integrated into the community, so to speak. other bots, and most human users, won't have a clue as to what a foreign language bot is saying, and no meaningful conversation would be possible. generated transcripts would be of virtually no use, too.
however, there is a way out of this situation, wengudu, if you're still here - all you need is a group of Thai speaking friends who are willing to chat with your bot on regular basis, logging on as guests, or opening their own Forge accounts. go for it!
it didn't work with regular expressions, none of the keyphrases triggered an appropriate response. they all did well in raw mode, not even a question mark was a problem. still, i don't think there is a firm rule one could rely upon - experimentation is the key.
more serious issue i had in mind while responding to wengudu originally, was getting your bot integrated into the community, so to speak. other bots, and most human users, won't have a clue as to what a foreign language bot is saying, and no meaningful conversation would be possible. generated transcripts would be of virtually no use, too.
however, there is a way out of this situation, wengudu, if you're still here - all you need is a group of Thai speaking friends who are willing to chat with your bot on regular basis, logging on as guests, or opening their own Forge accounts. go for it!
The Clerk
17 years ago
17 years ago
Anybody want to clue us in on how you deal with "I'm Will," when the bot means "Please call me Will," "My name is Will," etc., other than to ask "Do you want to be called Will, then?" -- and can you keep it from going into the mem-youare variable, or do you have to edit the memories from inner life or whatever it's called?
Also, how do you know to suspect that an I'm x is a name rather than a genuine mem-youare, unless you've just asked a bot (or person) what his name is? Not that it's the most serious of my botbuilding problems, but I'm just wondering. (But that's not my name.)
Thanks.
Also, how do you know to suspect that an I'm x is a name rather than a genuine mem-youare, unless you've just asked a bot (or person) what his name is? Not that it's the most serious of my botbuilding problems, but I'm just wondering. (But that's not my name.)
Thanks.
Vashka
17 years ago
17 years ago
All I can think of for guessing that "I'm x" is a name is checking if x begins with a capital letter. Can regular expressions be used for that?
prob123
17 years ago
17 years ago
You can use
I am (allnames),I am ((all-names))
remember (key1) as only "name"
I tried Bildgesmythe in debug and he picked it right up.
You: I'm will
Bot: Well, Will..It's great to meet you!
I am (allnames),I am ((all-names))
remember (key1) as only "name"
I tried Bildgesmythe in debug and he picked it right up.
You: I'm will
Bot: Well, Will..It's great to meet you!
The Clerk
17 years ago
17 years ago
Thanks, Vashka and prob.
Both good ideas, Vashka's is hampered mainly by its reliance on proper capitalization (and I don't want my bot to read "I'm tired" as "My name is Tired"). Prob, good idea. I'd have to update the allnames, which is doable, sort of. It's got some exotic (to me) names in there but not mine. Maureen is fairly unusual (not usually on products with names on them, whereas Chris (my brother) is a cinch), but surely there are more Maureens walking around the English-speaking word than Gilbertos?
Thanks, though. The idea is great.
Both good ideas, Vashka's is hampered mainly by its reliance on proper capitalization (and I don't want my bot to read "I'm tired" as "My name is Tired"). Prob, good idea. I'd have to update the allnames, which is doable, sort of. It's got some exotic (to me) names in there but not mine. Maureen is fairly unusual (not usually on products with names on them, whereas Chris (my brother) is a cinch), but surely there are more Maureens walking around the English-speaking word than Gilbertos?
Thanks, though. The idea is great.
prob123
17 years ago
17 years ago
You can start a new plug in by coping and pasting the old, then making the changes and additions. Just rename it..like (betternames). The great idea of the name plug in is that it won't pick up I'm tired as a name. You just need a keyphrase for I am (*). So far I haven't had too many mistakes.
» More new posts: Doghead's Cosmic Bar