First Steps with Entities

Updated on January 20, 2022

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.

  1. Entities teach your Bot synonyms, short forms, service or product names and jargons 
  2. 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
  3. 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.

For example:

Nouns

Master Card, Visa, AMEX = Credit Card entity

Fever, cough, blocked nose = Flu Symptoms entity

Synonyms/Jargon/Abbreviations

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

For example:

Regex/Patterns

(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

Did we help you?

Learn more about KeyReply

To see our Conversational AI in action, sign-up for a guided walk-through and see how our platform can be tailored for your organization’s needs