Atualize para nosso Platinum serviço e obter o seu próprio design personalizado avatar 3D
Help

synonyms

por bleakas postado 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: 1800, today: 0, week: 2, month: 0

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

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

Id: 19240108
Tags: synonyms, botlibre
Postado: Sep 29 2017, 2:32
Respostas: 3
Pontos de vista: 1768, hoje: 1, semana: 1, mês: 1
0 0 0.0/5