Shaper Parameters

Check the parameters you can configure for Shaper in pipeline YAML.

YAML Init Parameters

These are the parameters you can specify in pipeline YAML:

ParameterTypePossible ValuesDescription
funcStringrename
value_to_list
join_strings
join_documents
join_lists
strings_to_answers
answers_to_strings
strings_to_documents
documents_to_strings
The function you want to use with Shaper. For more information, see the Functions section.
Mandatory.
outputsList of stringsThe key to store the outputs of the Shaper's function. The length of outputs must match the number of outputs produced by the function you specified for the Shaper.
Mandatory.
inputsDictionaryMaps the function's input keyword arguments to the key-value pairs in the invocation context.
For example, the value_to_list function expects two inputs: value and taget_list, so inputs for this function could be: {value : query , target_list : documents}.
Optional.
paramsDictionaryMaps the function's input keyword arguments to fixed values.
For example, the value_to_list function expects value and target_list parameters,so params might be {value : A, target_list : [1, 1, 1, 1]}. The node's output would be: ["A", "A", "A", "A"].
Optional.
publish_outputsUnion of Boolean and List of StringsDefault: TruePublishes Shaper's outputs to the pipeline's output.
True - publishes all outputs.
False - doesn't publish any output.
Mandatory.

REST API Runtime Parameters

There are no runtime parameters you can pass to this node when making a request to the Search REST API endpoint.