In addition to built-in slot types, Architect supports three custom slot types: list slot type, dynamic list slot type, and regular expression slot type. If your custom slot type data is a set of predefined words in the utterance, use the list slot type. List slot types help you define the set of words that the bot must recognize to capture a slot. For example, values for a Color slot might include red, blue, yellow, black, white, burgundy, and rust. 

Add a custom list slot type

To create a custom list slot type, follow these steps:

  1. Under Natural Language Understanding, click Slots.
  2. Click Add Slot.
  3. Provide a meaningful name for the slot.
  4. Under Slot Type, click New List.
  5. Type a meaningful name for the custom list slot type.
  6. Click Add or press Enter. 
  7. Click the new list slot type.
  8. Add slot type values as needed.

Click the image to enlarge.

Natural Language Understanding - List Slot

    Add synonyms to a list slot type

    You can also add synonyms for a slot type so that Architect can recognize multiple words and phrases for the same slot. For example, a slot type value of New York can have the synonyms: Big Apple or NYC. These synonyms allow the bot to understand that when the user says NYC, it maps to New York.

    To add synonyms to a custom list slot type, follow these steps:

    1. Click Enter synonym next to the slot type value.
    2. Type an alternate name and press Enter.
    3. Add more synonyms, if needed.

    To delete any synonyms, hover over the synonym and click the X that appears.

    Click the image to enlarge.

    Natural Language Understanding - Slot Types

    Modify a slot’s information

    To modify slot information, from the Slot menu, select a slot and click Edit .

    Delete a slot

    To delete a slot, from the Slot menu, select a slot and click Delete .