Присоединяйтесь к Сэп Libre у партнера и партнерскую программу и поддержать нашу бесплатную открытую платформу
Bot Libre Forum

response problem

по bobred опубликовано 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: 946, today: 1, week: 1, month: 1

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: 933, today: 0, week: 0, month: 0

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: 945, today: 1, week: 1, month: 1

Идентификатор: 16845002
Опубликовано: Apr 27 2017, 22:37
Ответы: 3
Вид: 902, сегодня: 1, неделю: 1, месяц: 1
Я уверен, что
Вывесить флаг как оскорбительное, или в нарушение правил сайта