UtteranceGeneratorProps
Stentor API Reference / stentor-interaction-model/src / UtteranceGeneratorProps
Interface: UtteranceGeneratorProps
Defined in: packages/stentor-interaction-model/src/Intent/UtteranceGenerator.ts:14
Properties​
slotPattern?​
optionalslotPattern:UtteranceGeneratorSlotPattern
Defined in: packages/stentor-interaction-model/src/Intent/UtteranceGenerator.ts:18
Select the slot pattern to generate the utterances from.
ignoreInvalidUtterancesForPlatform?​
optionalignoreInvalidUtterancesForPlatform:"dialogflow"|"alexa"
Defined in: packages/stentor-interaction-model/src/Intent/UtteranceGenerator.ts:24
When provided, it will ignore (not generate) invalid utterances for the provided.
For example, on Alexa we will ignore utterances that contain a SearchQuery slot and any other slots.