SlotTypeValue
Stentor API Reference / stentor-models/src / SlotTypeValue
Interface: SlotTypeValue\<T>
Defined in: packages/stentor-models/src/Slot/SlotType.ts:38
A single utterance within the slot type and associated data for when that utterance is spoken.
Type Parametersβ
Tβ
T = string | number | object | boolean
Propertiesβ
nameβ
name:
string
Defined in: packages/stentor-models/src/Slot/SlotType.ts:42
The name of the slot, what is spoken by the user.
synonyms?β
optionalsynonyms:string[]
Defined in: packages/stentor-models/src/Slot/SlotType.ts:46
List of potential synonyms for the slot.
data?β
optionaldata:T
Defined in: packages/stentor-models/src/Slot/SlotType.ts:50
The data associated with the slot value, used when the slot value is selected.