Skip to main content

UtteranceGeneratorProps

Stentor API Reference


Stentor API Reference / stentor-interaction-model/src / UtteranceGeneratorProps

Interface: UtteranceGeneratorProps

Defined in: packages/stentor-interaction-model/src/Intent/UtteranceGenerator.ts:14

Properties​

slotPattern?​

optional slotPattern: UtteranceGeneratorSlotPattern

Defined in: packages/stentor-interaction-model/src/Intent/UtteranceGenerator.ts:18

Select the slot pattern to generate the utterances from.


ignoreInvalidUtterancesForPlatform?​

optional ignoreInvalidUtterancesForPlatform: "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.