A QUICK GUIDE TO TRAIN YOUR DATASET USING ALTER NLU
This page lists the steps you must follow for building and training the dataset for your conversational agents. The steps have been listed below in detail, but in case of any further queries, you can write to us on email@example.com.
Create an intent that will capture what an end user wants to say. For example, you can build an intent “greet” using the “ADD INTENT” option.
"Add New Training Phrase" text area will contain simple greeting text that the user may write to start the bot conversation. Example - ‘Hey There’, ‘Hello’, etc.
Save the “greet” intent using the “SAVE” button on the top right corner. You can build more such relevant intents that may contain no entities, such as exit intent, etc.
Build an intent that will hold entities (explained in the ‘Create Entities’ section), and you can name it search_product intent.
In the training phrase section of the search_product intents, start writing the expected user queries. For instance, “I want a Dell laptop”. From this text, tag the information you want to extract and work upon.
To enable the bot to trigger the brand name (Dell) of the laptop, create an entity like, “brand_name” using the “ADD ENTITY” option.
The brand_name entity will contain “reference value” as the main brand name (like Dell) as well as synonyms that the user may refer to a particular brand that your chatbot endorses.
Tag the built entities in the intent they are meant to be handled. For instance, tagging Dell as a brand name in the training phrase section of the search_product intent.
You can also form reference values for an entity directly via intents. For this, you simply have to select the keyword and assign it to an entity that will dynamically come in the form of a list in the auto entity search option.
If by mistake you map a wrong keyword to an entity, you can delete it and map a new one anytime.
This section highlights the training data that requires improvement and enhancements. It is programmed to analyse and present real-time changes required in the dataset in an easy-to-understand tabular and graphical display. If your training dataset needs work, it will be highlighted in the relevant reports. Click on the tool tip icon next to each of the section title for recommendations. Below listed are the key functions that form the Report:
Illustrating Intent Distribution in the form of a pie chart.
Analysing the Training Data Required by intents and entities to achieve accuracy.
Pointing out Possibly Untagged Entities to inform about keywords that have been tagged as an entity in the intent, but the same keyword occurs untagged in the training sentence of another intent.
Intent - Sentence conflicts table alerts about the training sentence(s) you may have added in multiple intents by mistake.
Handling training bias by highlighting the name of intents lacking enough training expressions as compared to other intents.