OutputAdapter Parameters

Check the init and runtime parameters you can specify for the OutputAdapter component.

YAML Init Parameters

These are the parameters you can specify in pipeline YAML:

ParameterTypePossible ValuesDescription
templateStringA Jinja template that defines how to adapt the input data. The variables in the template define the input of this component. For example, for this template:
{{ documents[0].content }}, the input is documents.
Required.
output_typeStringAlias of the output type, for example str, int, List[int], and so on.The output type this instance returns. You must define it.
Required.
custom_filtersDictionary of stringsDefault: NoneA dictionary of custom Jinja filters used in the template.
Optional.

REST API Runtime Parameters