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:

Parameter

Type

Possible Values

Description

template

String

A 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_type

String

Alias 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_filters

Dictionary of strings

Default: None

A dictionary of custom Jinja filters used in the template.
Optional.


REST API Runtime Parameters