TextOnlyGadgetConfig
Defined in: gadgets/types.ts:360
Configuration for triggering a gadget when receiving text-only response
Properties
Section titled “Properties”name:
string
Defined in: gadgets/types.ts:362
parameterMapping()?
Section titled “parameterMapping()?”
optionalparameterMapping: (text) =>Record<string,unknown>
Defined in: gadgets/types.ts:367
Optional function to map text to gadget parameters. If not provided, text will be passed as { text: string }
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”Record<string, unknown>
type:
"gadget"
Defined in: gadgets/types.ts:361