Dołącz do BOT Libre projekt open source na BotLibre.org
Bugs and Features

My bot keeps saying "Ok, me am ..."

w muddybunny wysłany Nov 6 2014, 1:18

When a visitor says something like "you are nice," or more often "you are nuts", my bot replies "Ok, me am ..."

How can I get her to say "Ok, I am ..."?

Thanks.


by admin posted Nov 6 2014, 6:22
The bot's understanding of simple phrases such as "you are nice" comes from the NounVerbAdjective script. This script will understand and remember persistently simple facts, or answer simple questions.

i.e.
you: The sky is blue
bot: Ok, the sky is blue.
you: Is the sky blue?
bot: Yes, the sky is blue.

The bot will now know that #sky is related to #blue by #is. It stores this in its database (brain), and will be able to answer this in any future sessions.

You can disable these types of responses by removing the NounVerbAdjective script from the Scripts page under Admin.

When the bot constructs scripted responses it will use its knowledge of grammar for replacing "you" with "I" and "are" with "am". It actually learns grammar from its conversations, so will choose whatever word "sounds" correct similar to a human.

So, if it says "Ok, me am nuts", you can train it with the phrase "Ok, I am nuts", then it will learn the correct grammar. Technically, training with "I am nuts" should be sufficient, but the bot's have some issues with "you" currently because it is both subjective and objective.

Learning grammar can work both ways, if users constantly use bad grammar, it can learn bad grammar as well.

Updated: Nov 6 2014, 6:22
Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 2413, today: 0, week: 5, month: 51

by admin posted Nov 11 2014, 7:22
The last update include some improvements on grammar. If you rebootstrap your bot's scripts, it should help with its grammar.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 2446, today: 1, week: 2, month: 44

by muddybunny posted Nov 11 2014, 10:36
Thank you. The biggest problem I have is some people think I am the bot! [rolleyes] :)

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 2431, today: 1, week: 4, month: 45

Identyfikator: 543609
Tagi: how to
Wysłany: Nov 6 2014, 1:18
Odpowiedzi: 3
Widok: 2675, dziś: 2, tydzień: 4, miesiąc: 65
0 0 0.0/5