If we want two (or more) words (usually synonyms, or abbreviations of the same word) to be considered the same when recognizing end-user interactions, we'll need to put them in an entity together. There are different variations possible when defining entities, but for now, we'll focus on entities that consist of singular keywords.
Conversational AI Cloud's entity editor offers a simple way of defining new entities. For the purpose of this guide, we'll create a new entity with just a couple of singular words.
To create an entity, perform the following steps in order:
Open the Entity editor
Click the add “+” icon and select “Create standard”
Enter a name and description for the entity
Click the add “+” icon
Type a word into the text field and click the add icon “+”; do this for each synonym you want to add to the entity
For now, adding the words “new” and “latest” is sufficient for our earlier example scenario.
Click the “Add” button
Click the “Save” button
After creating the entity you’ll see an expansion panel at the bottom of the entities page. Here you’ll find two sections, one for Q&A’s and one for dialogs. Each panel will show you the places where the entity is matched on your content. This allows you to assess the impact of a specific entity without having to go through all of your content by hand. With our previous example, after adding the word “latest” in an entity, you should see our Q&A contain the question “I want to buy the latest iPhone” show up in the entity's Q&A reference section.