更に当社の Diamond サービスを構築まで自分自身のアプリfor AndroidまたはiOS
Help

synonyms

による bleakas 掲載 Sep 29 2017, 2:32

Hello! i tried to implement synonyms to my bot using json and knowledge , but i failed. I didnt find working solution at this forum, so can you please write example how to add synonyms to bot.


by admin posted Sep 29 2017, 8:59
To add a synonym through JSON you would import for example,

{ #data : "angry", instantiation : #word, instantiation : #adjective, synonym : "mad", synonym : "upset" }

However, currently synonyms are not used for response matching words. Synonyms are only used by some scripts, and for whole sentences or single word sentences.

For example,

question: angry
response: Why are you upset?

The bot would use this response if the user said, "mad", but would not use it if the user said "I am mad".

We are planning on adding better support for synonyms, including a user interface for them in the Training page.

For now you can use patterns, such as,

question: Pattern("I am [angry mad upset]")
response: Why are you upset?

Updated: Sep 29 2017, 9:00
Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1642, today: 0, week: 0, month: 4

by bleakas posted Oct 8 2017, 10:11

this is top priority function for me. When you plan to add these features?


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1361, today: 0, week: 1, month: 9

by admin posted Oct 8 2017, 13:11
We can add any features your require through our Bot Libre for Business development service.

Contact [email protected]

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1577, today: 0, week: 0, month: 6

Id: 19240108
タグ: synonyms, botlibre
掲載: Sep 29 2017, 2:32
回答: 3
眺望: 1602, 今日の: 1, 週間: 1, 月: 12
0 0 0.0/5