Skip to main content

matchUtteranceToSlotTypeValue

Stentor API Reference


Stentor API Reference / stentor-utils/src / matchUtteranceToSlotTypeValue

Function: matchUtteranceToSlotTypeValue()

matchUtteranceToSlotTypeValue\<T>(utterance, slotTypeValues): MatchResult\<T>[]

Defined in: packages/stentor-utils/src/matcher.ts:170

Matches the utterance to the slot type.

Type Parameters​

T​

T

Parameters​

utterance​

string | number

slotTypeValues​

SlotTypeValue\<T>[]

Returns​

MatchResult\<T>[]