Action slot-values associated to the capabilities of the control as a whole
Default:
{
activate: ['builtin_start', 'builtin_resume'],
complete: ['builtin_complete']
}
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:
All target slots that are used by individual questions.
Default: []
Purpose:
Why can't the targets be pulled from questionnaire content?
Control behavior:
Slot type that includes entries for the answers that do not conflict with the sample utterances of built-in intents or custom intents.
Default: identical to slotType
.
Purpose:
filteredSlotType
is used
in sample-utterances that would cause conflicts if the regular
slotType was used.Example:
If the questionnaire answers are "yes", "no" and "maybe", the slotType
should have values for all three and filteredSlotType
should only have "maybe".
interactionModel: {
slotType: 'YesNoMaybe',
filteredSlotType: 'Maybe'
}
Slot type that includes entries for the answers provided by the questionnaire.
Default: none
If the questions are not strictly yes/no, slotType
provides the values that the
user can say. Every legal answer should be present in slotType
and all legal
answers that are not in conflict with other sample utterances should be present
in filteredSlotType
.
Example:
If the questionnaire answers are "yes", "no" and "maybe", the slotType
should have values for all three and the filteredSlotType
should only have "maybe".
interactionModel: {
slotType: 'YesNoMaybe',
filteredSlotType: 'Maybe'
}
Target-slot values associated with this Control as a whole.
These targets are used to associate utterances to 'the questionnaire' as a whole.
For example, if the user says "open the questionnaire", it will be parsed as a
GeneralControlIntent
with slot values action = open
and target = questionnaire
.
Default: ['builtin_it', 'builtin_questionnaire']
Usage:
Control behavior:
Props associated with the interaction model.