OpenAI::GraderScoreModel
Inherits JSON::Serializable < Reference < Object
A ScoreModelGrader object that uses a model to assign a score to the input.
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : GraderScoreModelType = GraderScoreModelType::ScoreModel, name : String = "", model : String = "", sampling_params : GraderScoreModelSamplingParams | Nil = nil, input : Array(EvalItem) = [] of EvalItem, range : Array(Float64) | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
input
The input messages evaluated by the grader. Supports text, output text, input image, and input audio content blocks, and may include template strings.
The input messages evaluated by the grader. Supports text, output text, input image, and input audio content blocks, and may include template strings.
sampling_params=(sampling_params : GraderScoreModelSamplingParams | Nil)
The sampling parameters for the model.