参加ボットのリブレの パートナー、アフィリエイト プログラムや支援の無料のオープンなプラットフォーム
Help

Phrases that mean the same thing

による bluenavigator 掲載 Jul 22 2018, 10:38

Is there a way to create a response list that teaches the bot that two phrases mean the same thing? (for instance, "what are you going to do?" vs. "what do you plan to do?"


by admin posted Jul 23 2018, 9:20
There are a few ways, however you probably don't need to do anything as they are similar questions, and the bot will automatically match similar questions. You can also just add both questions with the same response, or you can label the response and use the label.
what are you going to do
I have big plans.
label: #plans

what do you plan to do
#plans
See, https://www.botlibre.com/forum-post?id=12117061 You can also use redirects, srai, or patterns.
Pattern("what are you going to *")
Template("{redirect("what do you plan to " + star)}")

what are you plan to do
I have big plans.
or even just,
Pattern("what [do are] you [plan going] to do")
I have big plans.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1317, today: 0, week: 5, month: 23

by bluenavigator posted Jul 23 2018, 12:29

That's very helpful. I'll give those ideas a try.

Thanks!


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1415, today: 0, week: 5, month: 26

Id: 22922825
タグ: phrase synonyms
掲載: Jul 22 2018, 10:38
回答: 2
眺望: 1396, 今日の: 1, 週間: 10, 月: 38
0 0 0.0/5