Class: _InputConfig

_InputConfig(source, field, pre_process)

new _InputConfig(source, field, pre_process)

Input Configuration for Pipeline Services. When sequencing Services within a Pipeline this helps configure which Node's output is used as which Node's input.
Parameters:
Name Type Default Description
source string The name of the SoffosAIService or SoffosPipeline from where the input of the current SoffosAIService should be taken from. It can also be "user_input" if the input will come from the user and not from a Service/SoffosPipeline.
field string The name of the output field of the "source".
pre_process function null (optional) A function to preprocess the data from source[field].
Source: