class

OpenAI::RunGraderRequest

Inherits JSON::Serializable < Reference < Object

Constructors

new(grader : RunGraderRequestGrader = GraderStringCheck.new, item : Hash(String, JSON::Any) | Nil = nil, model_sample : String = "")
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

grader

The grader used for the fine-tuning job.

Source
grader=(grader : RunGraderRequestGrader)

The grader used for the fine-tuning job.

Source
item

The dataset item provided to the grader. This will be used to populate the item namespace. See the guide for more details.

Source
item=(item : Hash(String, JSON::Any) | Nil)

The dataset item provided to the grader. This will be used to populate the item namespace. See the guide for more details.

Source
model_sample

The model sample to be evaluated. This value will be used to populate the sample namespace. See the guide for more details. The output_json variable will be populated if the model sample is a valid JSON string.

Source
model_sample=(model_sample : String)

The model sample to be evaluated. This value will be used to populate the sample namespace. See the guide for more details. The output_json variable will be populated if the model sample is a valid JSON string.

Source