OptionInfo

  • The OptionInfo schema is related to triggering options in a dialog and can be represented in JSON format.

  • The JSON representation includes a unique key and a list of synonyms for each option.

  • The key field is a string that is returned to the agent if the associated option is selected.

  • The synonyms field is a list of strings that can be used to trigger the item in a dialog.

Additional info about the option item related to triggering it in a dialog. Please update assistant.logs.actions.OptionInfo to reflect any changes made.

JSON representation
{
  "key": string,
  "synonyms": [
    string
  ]
}
Fields
key

string

A unique key that will be sent back to the agent if this response is given.

synonyms[]

string

A list of synonyms that can also be used to trigger this item in dialog.