πŸ“„ to_span_label_pairsΒΆ

Note

ID: processors.to_span_label_pairs | Type: SequentialOperator

{
    "steps": [
        {
            "field": "prediction",
            "process_every_value": false,
            "regex": "\\s*((?:[^,:\\\\]|\\\\.)+?)\\s*:\\s*((?:[^,:\\\\]|\\\\.)+?)\\s*(?=,|$)",
            "type": "regex_parser"
        },
        {
            "field": "references",
            "process_every_value": true,
            "regex": "\\s*((?:[^,:\\\\]|\\\\.)+?)\\s*:\\s*((?:[^,:\\\\]|\\\\.)+?)\\s*(?=,|$)",
            "type": "regex_parser"
        }
    ],
    "type": "sequential_operator"
}

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.

Explanation about RegexParserΒΆ

A processor that uses regex in order to parse a string.

Read more about catalog usage here.