Create a list of words or phrases to act as a vocabulary source. The values in the list source are replaced by the synonym if they are detected in a user utterance.

Before you begin

  • Make sure that the NLU Workbench plugin, NLU Workbench - Core plugin, NLU Common Model plugin, and Predictive Intelligence plugin are all installed and activated on your instance.
  • Role required: admin, nlu_admin, or nlu_editor

About this task

Creating a list vocabulary source enables your models to interpret all the alternate and actual values of the list if they appear in a user utterance. The model interprets those values as the synonym you provide when predicting an intent.
Note: During intent prediction, the synonym you provide replaces the value. During entity prediction, the actual value is used as the entity if the actual value or one of the alternate values are detected in the utterance.

In this example procedure, you're creating a list vocabulary source for your company's meeting rooms. You add the names of the rooms and alternatives your users might call them. Once you create the list, you add it to an utterance in an intent for the model. The model interprets the intent (for example, #BookMeetingRoom) and uses the name the user entered as an entity (for example, Everest).

Procedure

  1. Navigate to All > NLU Workbench > Vocabulary Sources.
  2. Click the My lists tab.
  3. Click Create new list.
    My lists tab of the Vocabulary sources page.
  4. In the Create a new list to refer to window, configure the fields.
    For this example, use the following configurations:
    • Handle: @meetingroom
    • Language: English - en
    • Synonym: meeting room
    • Enable Fuzzy Matching: Select the box.
    • Make case sensitive: Leave the box clear.

    Create a new list to refer to window for the meeting room example.

  5. Click Create.
    Your list vocabulary source draft appears in the My lists section of the Vocabulary sources screen.
  6. Click the name of the list vocabulary source.
  7. Click Add list item.
  8. Enter a value for the list and click the green check mark.

    Add list item button in the values tab of the vocabulary list.

    In this example, you enter Everest.

  9. Double-click the area under Alternate values to add alternatives separated by a comma.

    Alternate values in a vocabulary list item.

  10. Train the model to make the list vocabulary source available.

What to do next

Add the rest of the break room names and alternatives.

You must retrain the model after updating a list vocabulary source. For more information, see Train and try your NLU model.

Then you can use the list vocabulary source when annotating a training utterance. Use the @ symbol with the handle to refer to this vocabulary source.