getSlotNames
Stentor API Reference / stentor-interaction-model/src / getSlotNames
Function: getSlotNames()
getSlotNames(
utterance):string[]
Defined in: packages/stentor-interaction-model/src/getSlotNames.ts:11
From the provided utterance, pull out the slot names found within the utterance
Supports both ${name} & {-|name} style slot values.
Parameters​
utterance​
string
Returns​
string[]