An Intent describes specifically what the user is trying to do. An Intent may be an action or a particular goal.

You create Intents using the IA Domain Editor. When you create an Intent, you also create example user requests that will be associated with it, and train the IA to recognize them along with their Entities.

For information on how Intents and Entities are used in the IA, see About Intents and Entities.

Adding IA Intents

  1. From the Admin Console Intelligent Assistant menu, select Domains. The Account Domains page will be displayed.
  2. Click Edit on the IA Domain that you want to define. The editor for the selected Domain will be displayed:

  3. Click Add New Intent. The Intent editor is displayed:

  4. Enter a unique name for the Intent. Intent names can use letters and numbers and be as long as 40 characters. The Intent name should clearly reflect an user action or goal associated with the selected Domain.
  5. From the Navigate To drop down list, select the Interaction that will be associated with this Intent. Only approved Interactions will appear in the list.
    Note: If an Interaction has not yet been created for this Intent, you can update the Intent at anytime to associate an Interaction later.
  6. In the Define Parameters section, add names for all values that will be used by the Entities associated with the Intent:
    1. Click on New Parameter. An empty parameter field set will be displayed.
    2. Enter a short descriptive name for the parameter.
    3. For each parameter name, assign a mapping from the Entity Type drop down list.
    Repeat the above Steps until all parameters are created.
    Note: If a relevant Entity type does not appear in the drop down list, you need to create a Custom Entity type using the Entities editor for the Domain.
  7. When you are finished defining parameters for the Intent, click Save just below the parameters list on right. You can exit the operation at anytime without saving new Intent parameters by clicking Cancel.
  8. In the Add Training Sentences section, create and parse the initial phrases to train the Domain for this Intent:
    1. In the Add new training sentence text box, enter a training phrase and click 'Enter'.
    2. To parse the phrase, select any word or group of words in the phrase that should be mapped to an Entity value. The text you select will be highlighted in a unique color and a list of relevant choices will be displayed, as shown below:



    3. Use the drop down list to select the correct choice for each parameter value. The IA will automatically assign the Entity type based on your selection.
    Note: Training sentences may be added in multiple languages. Each available language will be displayed in a separate Add Training Sentences section.
    For best results, create and parse at least 10 unique initial training phrases for each new Intent.
  9. Click Train to update the Domain with the new training phrases. The new parsed sentences will be added for use by the IA Domain.

Whenever you add an Intent, the IA automatically creates a Custom Type for it that enables a Designer to use all input and responses associated with it in their Interactions. Click here for more information.

Editing IA Intents

  1. From the Admin Console Intelligent Assistant menu, select Domains. The Account Domains page will be displayed.
  2. Click Edit on the Domain you want to edit. The Domain Editor will be displayed for that Domain.
  3. Select and click on the Intent Name you want to edit. The selected Intent parameters are displayed.
    Note: A Search Box is provided in the list to make it easier to locate existing Intents. Enter a few letters from the Intent name into the text field to display all Intents that match your request.
  4. Perform the needed edits on the selected Intent.
  5. When you are finished, click Save in the lower right corner of the page. You can exit the operation at anytime without saving your changes by clicking Cancel.

If you have made substantial changes to the Intent, you may also need to:

  • Create new training sentences (or edit existing sentences) for the Intent, as detailed here.
  • Update any Interaction that is referenced by the Intent, in order to reflect your changes.

 

Revision:

Comments