Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DateRangeControlInteractionModelProps

Props associated with the interaction model.

Hierarchy

  • DateRangeControlInteractionModelProps

Properties

Properties

Optional actions

Action slot-values associated to the control's capabilities.

Action slot-values associate utterances to a control. For example, if the user says "change the time", it is parsed as a GeneralControlIntent with slot values action = change and target = time. Only controls that are registered with the change action should offer to handle this intent.

Usage:

  • This allows users to refer to an action using more domain-appropriate words. For example, a user might like to say 'show two items' rather that 'set item count to two'. To achieve this, include the slot-value-id 'show' in the list associated with the 'set' capability and ensure the interaction-model includes an action slot value with id=show and appropriate synonyms.
  • The 'builtin_*' IDs are associated with default interaction model data (which can be extended as desired). Any other IDs will require a full definition of the allowed synonyms in the interaction model.

Optional targets

Target-slot values associated with this Control.

Specific targets can be specified for the start-date, the end-date and the range as a whole.