TestSlot
Stentor API Reference / stentor-models/src / TestSlot
Interface: TestSlot\<T>
Defined in: packages/stentor-models/src/UtteranceTest.ts:9
Extends a RequestSlot by adding the RelativeDateTime as a possible value.
Extendsβ
Omit\<RequestSlot,"value">
Type Parametersβ
Tβ
T = RequestSlotValues | RelativeDateTime
Propertiesβ
nameβ
name:
string
Defined in: packages/stentor-models/src/Request/IntentRequest.ts:38
The name of the slot, also used as the key in the RequestSlotMap.
For example, "FIRST_TEAM" or "Podcast", this is typically user defined.
Inherited fromβ
Omit.name
original?β
optionaloriginal:any
Defined in: packages/stentor-models/src/Request/IntentRequest.ts:51
The original value provided by the NLU before normalization.
Inherited fromβ
Omit.original
rawValue?β
optionalrawValue:string
Defined in: packages/stentor-models/src/Request/IntentRequest.ts:57
The raw spoken value.
For example, "cavaliers" or "red"
Inherited fromβ
Omit.rawValue
id?β
optionalid:string
Defined in: packages/stentor-models/src/Request/IntentRequest.ts:63
ID of the slot, if applicable.
For example, "UVA"
Inherited fromβ
Omit.id
matchConfidence?β
optionalmatchConfidence:number
Defined in: packages/stentor-models/src/Request/IntentRequest.ts:67
Confidence on the slot match. Range is between 0 - 1 where 1 is the highest confidence.
Inherited fromβ
Omit.matchConfidence
successfulMatch?β
optionalsuccessfulMatch:boolean
Defined in: packages/stentor-models/src/Request/IntentRequest.ts:73
If the entity resolution was successful or not.
Inherited fromβ
Omit.successfulMatch
valueβ
value:
T
Defined in: packages/stentor-models/src/UtteranceTest.ts:10