OpenAI::EvalRunOutputItemSample
Inherits JSON::Serializable < Reference < Object
A sample containing the input and output of the evaluation run.
Constructors
new(pull : JSON::PullParser)
Sourcenew(input : Array(EvalRunOutputItemSampleInputItem) = [] of EvalRunOutputItemSampleInputItem, output : Array(EvalRunOutputItemSampleOutputItem) = [] of EvalRunOutputItemSampleOutputItem, finish_reason : String = "", model : String = "", usage : EvalRunOutputItemSampleUsage = EvalRunOutputItemSampleUsage.new, error : EvalApiError = EvalApiError.new, temperature : Float64 = 0.0, max_completion_tokens : Int64 = 0, top_p : Float64 = 0.0, seed : Int64 = 0)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
error
Sourceerror=(error : EvalApiError)
Source