Syntax
setRegexSlot(params)
Description
Extracts Slots from user inputs using a regular expression and writes them toinput.slots
. This function is used by the Regex Slot Filler Node.
Parameters:
params
:IRegexSlotFillerParams
– a configuration object with regex, flags, and Slot information.
IRegexSlotFillerParams Object Structure
IRegexSlotFillerParams Object Structure
Promise<void>