Did you know Bot Libre also provides 3D avatars and a free web speech API?
Help

synonyms

by bleakas posted 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: 1798, today: 0, week: 6, month: 32

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: 1513, today: 0, week: 4, month: 27

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: 1766, today: 1, week: 6, month: 41

Id: 19240108
Tags: synonyms, botlibre
Posted: Sep 29 2017, 2:32
Replies: 3
Views: 1766, today: 1, week: 9, month: 39
0 0 0.0/5