Introduction to Slots

Provide choices and direct conversations more efficiently using slots in NLX's Dialog Studio

What's a Slot?

Slots are variables that are required information to both fulfill a task and to fulfill a task within a user's preferences. If looking to book a hotel room, a bot must collect information on the preferred room type, dates of stay, and number of guests. Each of these pieces of information are collected in the form of slots. Slots help capture user's preferences or choices and can refine the path taken during a conversation flow. Slot values are either captured from a training phrase or through a User choice node.

Custom slots you define in the Slots menu of your workspace usually contain a set of finite values and synonyms for those values:

  • Sizes

  • Yes/No

Standard slots, such as Time, Text, Date, are available as Built-in slots and are accessed when attaching slots to your intent.

To use a slot with an intent, it must first be attached to the intent, as slot values are used by your NLP to help understand a user's selection from choices made available and route users accordingly.

Need more context? See Intents: Attached slots


Requirements

A custom slot must always employ the following to function:

Last updated