πŸ“„ Load Json PredictionsΒΆ

processors.load_json_predictions

SequentialOperator(
    steps=[
        LoadJson(
            field="prediction",
            process_every_value=False,
        ),
    ],
)
[source]

from unitxt.struct_data_operators import LoadJson

Explanation about SequentialOperatorΒΆ

A class representing a sequential operator in the streaming system.

A sequential operator is a type of MultiStreamOperator that applies a sequence of other operators to a MultiStream. It maintains a list of StreamingOperator`s and applies them in order to the `MultiStream.

Read more about catalog usage here.