OpenAI::GraderLabelModel
Inherits JSON::Serializable < Reference < Object
A LabelModelGrader object which uses a model to assign labels to each item in the evaluation.
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : GraderLabelModelType = GraderLabelModelType::LabelModel, name : String = "", model : String = "", input : Array(EvalItem) = [] of EvalItem, labels : Array(String) = [] of String, passing_labels : Array(String) = [] of String)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
input
SourceThe labels that indicate a passing result. Must be a subset of labels.