When the user's input is received, the AI service identifies both the intents and entities.
For example, an intent can be “Get information.” The entities, in this case, would be the topic you need information about. See the example shown in HowTo: Build a chatbot using GeneXus:
- @Activities information
- @Administrative process information
So, the dialog will be defined in such a way that intents and entities are combined to help the AI service choose the correct response. In addition, an entity definition includes a set of entity values that can be used to trigger different responses.
For example, @Activities information entity may have the values:
Besides, each entity value can have multiple synonyms that define different ways in which the same value might be specified in user input.
The entity is created automatically upon some information that is configured in the Conversational Flows instance:
To add values to the entities, see HowTo : Initialize entity values in the AI provider.