class

OpenAI::EvalRunOutputItemResult

Inherits JSON::Serializable < Reference < Object

A single grader result for an evaluation run output item.

Constructors

new(name : String = "", type_value : String | Nil = nil, score : Float64 = 0.0, passed : Bool = false, sample : EvalRunOutputItemResultSample | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

name

The name of the grader.

Source
name=(name : String)

The name of the grader.

Source
passed

Whether the grader considered the output a pass.

Source
passed=(passed : Bool)

Whether the grader considered the output a pass.

Source
sample

Optional sample or intermediate data produced by the grader.

Source
sample=(sample : EvalRunOutputItemResultSample | Nil)

Optional sample or intermediate data produced by the grader.

Source
score

The numeric score produced by the grader.

Source
score=(score : Float64)

The numeric score produced by the grader.

Source
type_value

The grader type (for example, "string-check-grader").

Source
type_value=(type_value : String | Nil)

The grader type (for example, "string-check-grader").

Source