Interface TransformChainFields<I, O>

Interface that extends the ChainInputs interface and defines the fields required for a transform chain. It includes the transform function, inputVariables, and outputVariables properties.

Type Parameters

Hierarchy

Properties

inputVariables: (keyof I extends string
    ? keyof any
    : never)[]
outputVariables: (keyof O extends string
    ? keyof any
    : never)[]
transform: ((values, callbacks?) => O | Promise<O>)

Type declaration

    • (values, callbacks?): O | Promise<O>
    • Parameters

      Returns O | Promise<O>

callbackManager?: CallbackManager

Deprecated

Use callbacks instead

callbacks?: Callbacks
memory?: BaseMemory
metadata?: Record<string, unknown>
tags?: string[]
verbose?: boolean

Generated using TypeDoc