First Steps with Entities

Updated on December 15, 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 virtual assistant can identify them when placed in a user query.

  1. Entities teach your virtual assistant synonyms, short forms, service or product names and jargons 
  2. Entities help virtual assistant detect specific user data or data formats with words to allow the virtual assistant to understand user intent eg. personal identification number, phone number, etc
  3. Entities accelerate virtual assistant training with less effort by combining intents that have similar variation

How does this work?

In order for the virtual assistant to understand jargon, abbreviations, particular nouns and synonyms, you must first let the virtual assistant know what these alternative ways of writing equate to.  By telling the virtual assistant that these alternative words means the same thing, it 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