加入机器人自由的 合作伙伴和联盟 的程序和支持我们免费开放平台
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: 1651, today: 1, week: 3, month: 13

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: 1381, today: 3, week: 9, month: 29

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: 1594, today: 4, week: 8, month: 23

Id: 19240108
标签: synonyms, botlibre
发布: Sep 29 2017, 2:32
答复: 3
的风景: 1609, 今天: 1, 周: 5, 一个月: 19
0 0 0.0/5