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,381 - 6,392 of 7,766

17 years ago #6381
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)

17 years ago #6382
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!

17 years ago #6383
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.

17 years ago #6384
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!

17 years ago #6385
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.

17 years ago #6386
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?

17 years ago #6387
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!

17 years ago #6388
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.

17 years ago #6389
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.

17 years ago #6390
Yeah. That's what I'm planning to do. Thanks.

17 years ago #6391
Is there any way for a bot to tell whether it's talking to a bot or a person? (Asking is tedious and people and bots lie.)

17 years ago #6392
Clerk, i don't think a bot can tell whether it's talking to another bot or a human. also, as far as i know, one cannot do anything about it, as a bot maker, no workaround, a snippet of code...

having said that, the issue is solvable, but it would have to be arranged at the AI Engine level. the Engine can "read" all user profiles, bot and human ones, and a lot more. that's how bots know each other's name by default as soon as they make contact, without asking, without saying. they could, in principle, have default knowledge of any bit of info that Engine has an access to, including that of whether a profile is a bot one, a human, or a Guest visitor (presumably human).


Posts 6,381 - 6,392 of 7,766

» More new posts: Doghead's Cosmic Bar