Class: OpenAI::Models::EvalUpdateResponse::TestingCriterion::EvalGraderPython
- Inherits:
-
Graders::PythonGrader
- Object
- Internal::Type::BaseModel
- Graders::PythonGrader
- OpenAI::Models::EvalUpdateResponse::TestingCriterion::EvalGraderPython
- Defined in:
- lib/openai/models/eval_update_response.rb,
sig/openai/models/eval_update_response.rbs
Instance Attribute Summary collapse
-
#pass_threshold ⇒ Float?
The threshold for the score.
Attributes inherited from Graders::PythonGrader
#image_tag, #name, #source, #type
Instance Method Summary collapse
-
#initialize ⇒ EvalGraderPython
constructor
A new instance of EvalGraderPython.
- #to_hash ⇒ { pass_threshold: Float }
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, meta_info, new_coerce_state, 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 ⇒ EvalGraderPython
Returns a new instance of EvalGraderPython.
116 |
# File 'sig/openai/models/eval_update_response.rbs', line 116
def initialize: (?pass_threshold: Float) -> void
|
Instance Attribute Details
#pass_threshold ⇒ Float?
The threshold for the score.
188 |
# File 'lib/openai/models/eval_update_response.rb', line 188 optional :pass_threshold, Float |
Instance Method Details
#to_hash ⇒ { pass_threshold: Float }
118 |
# File 'sig/openai/models/eval_update_response.rbs', line 118
def to_hash: -> { pass_threshold: Float }
|