The End Operator is to control the data received as a response when a pipeline trigger via SYNC API.
#Release Stage
Alpha
#Operator Configuration
The operator configuration is used for setting up the input data and parameters of this component. The configuration is configured in pipeline recipe, please refer to pipeline for more details.
Field | Type | Note |
---|---|---|
metadata* | map<string, object> | You can setup the pipeline trigger request fields here |
metadata.<key>.title* | string | The title of the field |
metadata.<key>.type* | string | The type of the field. Available types: text , image , audio , number , integer , boolean , text_array , image_array , audio_array , number_array , integer_array |
metadata.<key>.description | string | The description of the field. |
input.<key> | string | You can setup the pipeline trigger response fields here via reference or template |
#No-code Setup
#Low-code Setup
This is a sample configuration
in the pipeline recipe.
{ "configuration": { "metadata": { "texts": { "title": "Texts" }, "size": { "title": "Size" } } }}
When you send the request, you can get this response, the actual data type of each field will be automatically decided by its upstream value.
{ "outputs": [ { "texts": ["this is a dog", "this is a cat"], "size": 10 } ]}
For other operations, please refer to the VDP Protobufs.