Class: OpenAI::Models::FineTuning::Alpha::GraderRunResponse::Metadata

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/openai/models/fine_tuning/alpha/grader_run_response.rb

Overview

See Also:

Defined Under Namespace

Classes: Errors

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(errors: , execution_time: , name: , sampled_model_name: , scores: , token_usage: , type: ) ⇒ Object

Parameters:



# File 'lib/openai/models/fine_tuning/alpha/grader_run_response.rb', line 73

Instance Attribute Details

#errorsOpenAI::Models::FineTuning::Alpha::GraderRunResponse::Metadata::Errors



41
# File 'lib/openai/models/fine_tuning/alpha/grader_run_response.rb', line 41

required :errors, -> { OpenAI::Models::FineTuning::Alpha::GraderRunResponse::Metadata::Errors }

#execution_timeFloat

Returns:

  • (Float)


46
# File 'lib/openai/models/fine_tuning/alpha/grader_run_response.rb', line 46

required :execution_time, Float

#nameString

Returns:

  • (String)


51
# File 'lib/openai/models/fine_tuning/alpha/grader_run_response.rb', line 51

required :name, String

#sampled_model_nameString?

Returns:

  • (String, nil)


56
# File 'lib/openai/models/fine_tuning/alpha/grader_run_response.rb', line 56

required :sampled_model_name, String, nil?: true

#scoresHash{Symbol=>Object}

Returns:

  • (Hash{Symbol=>Object})


61
# File 'lib/openai/models/fine_tuning/alpha/grader_run_response.rb', line 61

required :scores, OpenAI::Internal::Type::HashOf[OpenAI::Internal::Type::Unknown]

#token_usageInteger?

Returns:

  • (Integer, nil)


66
# File 'lib/openai/models/fine_tuning/alpha/grader_run_response.rb', line 66

required :token_usage, Integer, nil?: true

#typeString

Returns:

  • (String)


71
# File 'lib/openai/models/fine_tuning/alpha/grader_run_response.rb', line 71

required :type, String