class

OpenAI::GraderMulti

Inherits JSON::Serializable < Reference < Object

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

Constructors

new(type_value : GraderMultiType = GraderMultiType::Multi, name : String = "", graders : GraderMultiGraders = GraderStringCheck.new, calculate_output : String = "")
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

calculate_output

A formula to calculate the output based on grader results.

Source
calculate_output=(calculate_output : String)

A formula to calculate the output based on grader results.

Source
graders
Source
graders=(graders : GraderMultiGraders)
Source
name

The name of the grader.

Source
name=(name : String)

The name of the grader.

Source
type_value

The object type, which is always multi.

Source
type_value=(type_value : GraderMultiType)

The object type, which is always multi.

Source