Skip to main content

Entities

"An entity can only take one value in an end user's sentence. This means that if a single sentence contains two or more values of an entity, only one of the values will be matched."

"In the example below, the entity @payment_methods contains two values (card, cash). If the user's sentence contains both of those values, then only one value will be matched to the entity. More specifically, only the last value in the sentence will be matched to the entity. In this example, the entity @payment_methods only takes the value cash, since it is the last one referenced in the sentence."

"In general, it is not good practice to anticipate that an entity will have multiple values in a user's sentence. If this is anticipated, you would need to create separate entities."

  1. While you edit and try giving new names in Entities, you are allowed to use only alphanumeric or underscore characters.