class

OpenAI::EvalRunOutputItem

Inherits JSON::Serializable < Reference < Object

A schema representing an evaluation run output item.

Constructors

new(object : EvalRunOutputItemObject = EvalRunOutputItemObject::EvalRunOutputItem, id : String = "", run_id : String = "", eval_id : String = "", created_at : Int64 = 0, status : String = "", datasource_item_id : Int64 = 0, datasource_item : Hash(String, JSON::Any) = Hash(String, JSON::Any).new, results : Array(EvalRunOutputItemResult) = [] of EvalRunOutputItemResult, sample : EvalRunOutputItemSample = EvalRunOutputItemSample.new)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

created_at

Unix timestamp (in seconds) when the evaluation run was created.

Source
created_at=(created_at : Int64)

Unix timestamp (in seconds) when the evaluation run was created.

Source
datasource_item

Details of the input data source item.

Source
datasource_item=(datasource_item : Hash(String, JSON::Any))

Details of the input data source item.

Source
datasource_item_id

The identifier for the data source item.

Source
datasource_item_id=(datasource_item_id : Int64)

The identifier for the data source item.

Source
eval_id

The identifier of the evaluation group.

Source
eval_id=(eval_id : String)

The identifier of the evaluation group.

Source
id

Unique identifier for the evaluation run output item.

Source
id=(id : String)

Unique identifier for the evaluation run output item.

Source
object

The type of the object. Always "eval.run.output_item".

Source
object=(object : EvalRunOutputItemObject)

The type of the object. Always "eval.run.output_item".

Source
results

A list of grader results for this output item.

Source
results=(results : Array(EvalRunOutputItemResult))

A list of grader results for this output item.

Source
run_id

The identifier of the evaluation run associated with this output item.

Source
run_id=(run_id : String)

The identifier of the evaluation run associated with this output item.

Source
sample

A sample containing the input and output of the evaluation run.

Source
sample=(sample : EvalRunOutputItemSample)

A sample containing the input and output of the evaluation run.

Source
status

The status of the evaluation run.

Source
status=(status : String)

The status of the evaluation run.

Source