A MultiGrader object combines the output of multiple graders to produce a single score.

interface MultiGrader {
    calculate_output: string;
    graders:
        | StringCheckGrader
        | TextSimilarityGrader
        | PythonGrader
        | ScoreModelGrader
        | LabelModelGrader;
    name: string;
    type: "multi";
}

Properties

calculate_output: string

A formula to calculate the output based on grader results.

graders:
    | StringCheckGrader
    | TextSimilarityGrader
    | PythonGrader
    | ScoreModelGrader
    | LabelModelGrader

A StringCheckGrader object that performs a string comparison between input and reference using a specified operation.

name: string

The name of the grader.

type: "multi"

The object type, which is always multi.