SlotType
Stentor API Reference / stentor-models/src / SlotType
Interface: SlotType\<T>
Defined in: packages/stentor-models/src/Slot/SlotType.ts:14
The values for the slot type.
Deprecatedβ
Use Entity instead
Type Parametersβ
Tβ
T = string | number | object | boolean
Propertiesβ
nameβ
name:
string
Defined in: packages/stentor-models/src/Slot/SlotType.ts:20
The name of the slot type.
This is also the key used in the SlotTypeMap.
id?β
optionalid:string
Defined in: packages/stentor-models/src/Slot/SlotType.ts:24
Optional ID for the slot type
values?β
optionalvalues:SlotTypeValue\<T>[]
Defined in: packages/stentor-models/src/Slot/SlotType.ts:28
The values for the slot type.
dialogflowId?β
optionaldialogflowId:string
Defined in: packages/stentor-models/src/Slot/SlotType.ts:32
Optional ID if the slot type has a representation in Dialogflow.