Entities are groups of keywords that share the same meaning, but can appear differently in every user’s query because of the user’s style of conversation, or because every user holds a unique value.
How is this useful?
You can build a dictionary of entities from keywords, nouns, and synonyms, so that the Bot can identify them when placed in a user query.
- Entities teach your Bot synonyms, short forms, service or product names and jargons
- Entities help Bots detect specific user data or data formats with words to allow the bot to understand user intent eg. personal identification number, phone number, etc
- Entities accelerate Bot training with less effort by combining intents that have similar variation
How does this work?
In order for the Bot to understand jargon, abbreviations, particular nouns and synonyms, you must first let the Bot know what these alternative ways of writing equate to. By telling the Bot that these alternative words means the same thing, the Bot will be better equipped in understanding the user’s intent.
Master Card, Visa, AMEX = Credit Card entity
Fever, cough, blocked nose = Flu Symptoms entity
email, webmail, e-mail = Email entity
password, passwd, pw = Password entity
Similarly for regex strings, by adding them as entities, the Bot will be able to identify the pattern as an entity
(0-1)/(a-z)@mail.com, (0-1)/(a-z)@gmail.com, (0-1)/(a-z)@hotmail.com, @yahoo.com = Email entity
SXXXXXX(A-Z) = NRIC/FIN entity