getMatchedSlotData
Stentor API Reference / stentor-handler/src / getMatchedSlotData
Function: getMatchedSlotData()
getMatchedSlotData\<
T>(request,slotName,slots,slotTypeMap):T
Defined in: packages/stentor-handler/src/AbstractHandler/Util.ts:25
If the provided request is an intent request, it searches for the provided slot name and then tries to find the appropriate data associated with that slot value.
Type Parametersβ
Tβ
T
Parametersβ
requestβ
slotNameβ
string
slotsβ
Slot[]
slotTypeMapβ
SlotTypeMap\<T>
Returnsβ
T