Understanding NER Dashboard

The NER projects created will be listed in Conversation Designer homepage. The project consists of the following tabs:

Viewing Project Overview

Overview tab provides an Insights view of the NER project created. The dashboard provides the following information as shown in FigureFigure:

Project Configuration

Configuration tab enables to configure the attributes related to a project such as Intent, Entity, Phrases and so on.
Following configurations can be done using Config tab of Conversation Designer.

Adding an Intent

An intent represents the action to be performed for a user input. An utterance should be mapped to an intent so that your application can understand the user's input and take necessary action. If you do not map an intent, I.C.E Custom Language Modelling Platform will assign the default value 'No Intent' to it.

Conversation Designer framework provides a list of pre-defined intents that can be used as per requirement. In addition to pre-defined intents, custom entities can also be defined.

Adding Predefined Intents

Predefined intents are those intents that are already available by default under specific categories. 

English

There are predefined categories such as General, Travel, HelpDesk and Common Medical Symptoms. For example, General includes predefined intents like -

Spanish

There are predefined categories such as Viajar, General, Mesa de ayuda and Síntomas médicos comunes. For example General includes intents like -

To add a predefined intent, perform the following:

  1. Click Predefined Intents menu from the list of menu available in the Config page as shown in FigureFigure

  2. This displays the list of predefined entity categories as shown in FigureFigure.

  3. Select the required category. This lists the intents available within the selected category as shown in FigureFigure.

  4. Click the  icon against the required intents to add to the project.

Adding Custom Intents

To add an intent, perform the following:

  1. Click on the   icon available in the Config page as shown in FigureFigure.

  2. Enter the name of the intent in the Intent field.

  3. Enter a meaningful description for the intent in the Description field.

  4. Click the Save icon available on the top right hand corner of the window.

Adding Entities

Entities represent the data necessary for performing an action in your application. Entities could be name of places, things, people, or any other data relevent to the intent of the user's input. For example, a flight booking application may have the entities ' from_location', 'to_location', 'date', 'flight_name', 'travel_class' which are necessary to perform a flight booking operaion. Named entities are often not smply singular words, but could be chunks of text as well.

Conversation Designer provides a set of pre-defined entities and also capability to create custom entities.

Adding Pre-Defined Entities

Predefined entities are those entities that are already available by default when the project is created.

English Language

I.C.E Custom Language Modelling Platform supports 3 predefined entity models i.e.

  1. SSVM(MITIE)

  2. CoreNLP

  3. SPACY

Spanish Language

I.C.E Custom Language Modelling Platform supports 3 predefined entity models i.e

  1. SSVM(MITIE)

  2. SPACY

  3. CoreNLP

To add pre-defined entity, perform the following:

  1. Click Predefined Entity menu from the list of menu available in the Config page as shown in FigureFigure


    This displays the list of Predefined entities as shown in FigureFigure.

  2. Select the required entities and click Save.

  3. To undo the changes, click Undo.
    For more details on Predefined entities, see Predefined Entities.

Creating Custom Entities

Custom entities are those entities that are defined and mapped by users.

English Language

I.C.E Custom Language Modelling Platform supports 3 custom entity models for English i.e

Spanish Language

I.C.E Custom Language Modelling Platform supports 3 custom entity models for Spanish i.e

Custom entities are those entities that are defined and mapped by users.
To add a custom entity, perform the following:

  1. Click Entity menu from the list of menu available in the Config page as shown in FigureFigure


    This displays the Entities window as shown in FigureFigure.

  2. Type the name of the entity and click Enter .

Adding Phrases

A Phrase is comma separated words standing together as a single unit. You can provide a group of words which will be tagged in your utterances. For example, if you add the phrases 'New York, California, Boston, Chicago, Washington' with name cities, then each time when any of these words appear in your utterance will get tagged as cities.

By default I.C.E Custom Language Modelling Platform contains three predefined phrases - Colors, Continents, Common Languages.


To add a phrase, perform the following:

  1. Click Phrase menu from the list of menu available in the Config page as shown in FigureFigure.

  2. Click on Add Phrase. This displays the window as shown in FigureFigure.

  3. Type the phrases or words (comma separated) in the text box and click Enter tab and enter the phrase name in the Phrase Name field. Or 
    Select the phrase from the list of phrases available and add the phrases. 
    Once you add the phrase, the utterance will get tagged automatically.

Adding Patterns

Patterns are special sequence of characters that helps you match or find other strings or sets of strings, using a specialized syntax. The advantage of patterns is utterances with entity having similar format of patterns will get mapped. By default I.C.E Custom Language Modelling Platform contains two predefined patterns, DATE and EMAIL. For example the pattern for PAN is [A-Za-z]{5}\d{4}[A-Za-z]{1} , where first 5 characters should be an alphabet (A-Z or a-z), next 4 characters should be a digit (0-9) and last character should be an alphabet. If an utterance contains a word in similar format, it will be tagged as PAN.


To add a pattern, perform the following:

 

  1. Click Pattern menu from the list of menu available in the Config page as shown in FigureFigure.

     
    This displays the window as shown in FigureFigure.


  2. Type the pattern in the text box and click Enter tab and enter the pattern name in the Pattern Name field.
    By default I.C.E Custom Language Modelling Platform contains 14 predefined patterns - IP, PAN, Custom Email, Slashed Date, Zip Code, Phone Number and URL. You can add these patterns from the dropdown list. The pattern is listed in the left side of the page.

Adding Synonyms

Synonym feature helps in identifying the correct intent behind the user's text even if the user is not using the same words on which the model was trained but instead using synonyms of those words.


To add synonym, perform the following:

 

  1. Click Synonym menu from the list of menu available in the Config page as shown in FigureFigure.

     

  2. Type the synonym(s) in the text box and click Enter tab and enter the synonym name in the Synonym Name field.

Adding Utterances

An utterance is a conversation or a sentence in order to create a custom language model. Utterances can be mapped to entities and enables to identify the intent.
To add utterances, perform the following:

  1. Navigate to the Config page. 

  2. Click on the required intent. If intent is not available, create intents. For more information on creating intents, see Adding an Intent.

  3. Type in your utterance required in the Add Utterance text box and press Enter.

  4. You may also import utterances using Import link.

  5. To edit an utterance, click   icon against the corresponding utterance. The utterance is refreshed in edit mode.

  6. To delete an utterance, click    icon against the corresponding utterance.

  7. To view the training status, click   icon against the corresponding utterance.

Enabling Tagging

Tags are the basic keywords which will define the task that can be accomplished by that chatbot. Also, they are the keywords which are expected in user's request. For example: one chatbot has been created for booking a flight ticket. The "Tag" field may have values like "booking, travel ticket, airline ticket, flight booking, flight, airline, travel, travel booking"  and more.

Tagging is the capability to tag entities, patterns and phrases to keywords in utterances. Tagging in Conversation Designer can be classified as Auto Tagging and Custom Tagging.
The predefined entities, patterns and phrases will be automatically tagged to the clause in the utterances. You can remove the predefined entities, as per requirement. Custom entities can be tagged manually to utterances as per user requirement.

Enabling Manual Tagging (Custom Tagging)

To enable custom tagging, perform the following:

  1. Navigate to the Config page. 

  2. Click on the required intent. If intent is not available, create intents. For more information on creating intents, see Adding an Intent.

  3. Select and Right-click on the clause for mapping the entity as shown in FigureFigure

     

  4. Select the entity to be mapped. The entity is mapped and highlighted as shown in FigureFigure.

Deleting Intents and Entities

You may delete an intent or entity, as per requirement. 
Note: All related attributes needs to be unmapped prior to deleting an intent or entity.

Deleting an Intent

To delete an intent, perform the following:

  1. Navigate to the Search tab. 

  2. Select Intent from the Toggle bar. By default, Intent is selected. 

  3. Type the name of the intent in the Search box. Intents will be available as drop-down as you type in the words. The utterances with related mapping is displayed.

  4. Click Unmap Intent. A message “Are you sure you want to remove the intent from all the utterances?” is displayed. Click Confirm to unmap the intents from the utterances.

Deleting an Entity

To delete an entity, perform the following:

  1. Navigate to the Search tab. 

  2. Select Entity from the Toggle bar. By default, Intent is selected. 

  3. Type the name of the entity in the Search box. Entities will be available as drop-down as you type in the words. The utterances with related mapping is displayed.

  4. Click Untag Entity. A message “Are you sure you want to remove the entity from all the utterances?” is displayed. Click Confirm to untag the entity from the utterances.

Training Intents and Entities

You can train your project from the tab listed in the left side of the page. I.C.E Custom Language Modelling Platform provides you the choice of training the entity and intent or both. If you need to train the project for entity or intent or both, you can check the corresponding checkbox as true and train it. Once you start the training, the status of the project will be changed from new to pending.

When the training is completed, then status will be changed to trained. When the project is trained successfully, a test tab will be available.

To train intents and/or entities, perform the following steps:

  1. Click Train menu from the list of menu available in the Config page. 

  2. Select the check box against Entity or Intent as per requirement. 

  3. Click Train to initiate training of intent and/or entity. 
    Note: Once you start the training, the status of the project will be changed from new to pending. When the training is completed, then status will be changed to Trained.

Searching Intent or Entity

To search for an intent or entity, perform the following:

  1. Navigate to the Search tab. 

  2. Select Intent/Entity from the Toggle bar. By default, Intent is selected. 

  3. Type the name of the intent or entity in the Search box. Entries will be available as drop-down as you type in the words. The utterances with related mapping is displayed.

Predicting NER

The test tab contains the rest endpoints for your published NER project as well as for your chatbot.


Named Entity Recognition
You can obtain the rest endpoint of your project under this sub tab. It also consist of sample request and sample response for your project, which can be tested in the test interface available in the test tab.
The request json contains your utterance, serviceid, pos, intent and entity. The fields, intent and entity is set to true, if the utterance is mapped to some intent and entity. The field pos is set to true to find out the parts-of-speech for the particular utterance.
The response is a json containing the utterance, intent, entity and POS. The response json contains the following field:

Managing Missed Utterances

You can view the utterance which could not be mapped to any intents. Such utterances can be mapped with intents.

To view the missed utterances, perform the following:

  1. Navigate to the Missed Utterance tab. You can view the missed utterances as shown in FigureFigure.

  2. Select the required intent from the Select Intent drop-down list.

  3. Click on the  icon to save the intent utterance mapping.

Stories

Start building conversation as stories. A story is made up of entities, actions, navigation and Response. It is the building block of conversation.Story names corresponds to the intent of a conversation.You can add a new story name or select one from a list of intents by clicking edit symbol.

Feedback

Copyright © 2021 UST Global. All Rights Reserved.