matchUtteranceToSlotTypeValue
Stentor API Reference / stentor-utils/src / matchUtteranceToSlotTypeValue
Function: matchUtteranceToSlotTypeValue()
matchUtteranceToSlotTypeValue<
T>(utterance,slotTypeValues):MatchResult<T>[]
Defined in: packages/stentor-utils/src/matcher.ts:166
Matches the utterance to the slot type.
Type Parametersβ
Tβ
T
Parametersβ
utteranceβ
string | number
slotTypeValuesβ
SlotTypeValue<T>[]
Returnsβ
MatchResult<T>[]