class

OpenAI::RunGraderResponseMetadata

Inherits JSON::Serializable < Reference < Object

Constructors

new(name : String = "", type_value : String = "", errors : RunGraderResponseMetadataErrors = RunGraderResponseMetadataErrors.new, execution_time : Float64 = 0.0, scores : Hash(String, Hash(String, JSON::Any)) = Hash(String, Hash(String, JSON::Any)).new, token_usage : RunGraderResponseMetadataTokenUsage = nil, sampled_model_name : RunGraderResponseMetadataSampledModelName = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

errors
Source
errors=(errors : RunGraderResponseMetadataErrors)
Source
execution_time
Source
execution_time=(execution_time : Float64)
Source
name
Source
name=(name : String)
Source
sampled_model_name
Source
sampled_model_name=(sampled_model_name : RunGraderResponseMetadataSampledModelName)
Source
scores
Source
scores=(scores : Hash(String, Hash(String, JSON::Any)))
Source
token_usage
Source
token_usage=(token_usage : RunGraderResponseMetadataTokenUsage)
Source
type_value
Source
type_value=(type_value : String)
Source