Adding values

Easily learn how to create slot values and synonyms in NLX's Dialog Studio

What's the Values tab?

Values holds all the data and functionality for your custom slot’s values.

To reference your custom slot's values in an intent's flow or training phrases, be sure to attach it to the intent.


Add values

  • Click + Add new value > Enter slot value

  • Click + Add new value or use SHIFT + ENTER to create a new field. Repeat as needed

  • To remove a value from the list, select the remove icon

Avoid using special characters, keep values under 100 characters, and refrain from closely-named values (value 1 = Yes, value 2 = Yes, please).

Additional options (expand a value to view):

  • Skip translation: Enable to prevent the value from being automatically translated when a language is assigned to the slot

  • Value ID: A unique and non-editable ID that is auto-generated when the slot is saved

  • Choice payload: Allows you to display a custom payload when the value is presented as a selection to users. You may also apply Context attributes that have been previously set in the flow by invoking the placeholder menu with an open curly brace { while in the Choice payload field


Optional: Add synonyms

Synonyms allow you to add alternate terms to a custom value that users are likely to provide when making a choice (e.g., a user may provide Sure or OK instead of Yes). In these cases, synonyms can be added to expand the scope of responses that capture the same value:

  • Expand a value > Select + Add synonym

  • Enter a synonym for the value. Repeat to enter as many synonyms for the value, as needed


Optional: Upload/download values

  • Upload: Allows for a .json, .csv, or .txt file to be ingested with slot values

  • Download: Prompts existing training phrase data to be downloaded to a .csv or .json file for editing. Tap the .csv/.json button beside the Download link to swap formats

Last updated