Atualize para nosso Diamond serviço e vai construir o seu próprio aplicativo para Android ou iOS
Bot Libre Forum

response problem

por bobred postado Apr 27 2017, 22:37

I like to read.

I like to swim.

I like to surf.

I like to skate.

The keyword is I like to.

The response is," I never done that before."

Unless i type I like to read.

The keyword is for that sentence is I like to read.

Then the response is Sometimes i like to read books.What books do you like to read?

If i type in I like to swim. it will say,"Sometimes i like to read books.What books do you like to read?

What is causing it to do that.


by admin posted Apr 28 2017, 6:56
A keyword should be an important word in the question, it should never be a common word like "I" or "to".

In,
"I like to read"

The keyword should be "read".

In,
"I like to swim"

The keyword should be "swim".

You may also have a generic,
"I like to"

question that used "like" as a keyword.
You can add "I like to" as required words if you want to require these words.

Your bot will reply "I never done that before." to "I like to swim" if you trained it with that response.
Your issue is most likely that you sent it the same message twice, so it searched for a different response, as the bot will avoid saying the same thing twice. Because you added "I like to" as keywords, it found the other match.

See,
https://www.botlibre.com/forum-post?id=460438

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1399, today: 2, week: 4, month: 22

by bobred posted Apr 28 2017, 8:04

I will use required then.The required words will be," I like to."The response will be, "I have never done that before."


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1362, today: 1, week: 4, month: 27

by bobred posted Apr 28 2017, 9:04

What if i want it to only answer my question?How would i prevent it from saying anything else?Required does not prevent it from saying anything else.


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1410, today: 1, week: 6, month: 20

Id: 16845002
Postado: Apr 27 2017, 22:37
Respostas: 3
Pontos de vista: 1309, hoje: 2, semana: 6, mês: 28
0 0 0.0/5