Class: OpenAI::Models::Evals::RunCreateResponse::ResultCounts

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/openai/models/evals/run_create_response.rb

Overview

See Also:

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(errored: , failed: , passed: , total: ) ⇒ Object

Counters summarizing the outcomes of the evaluation run.

Parameters:

  • errored (Integer) (defaults to: )

    Number of output items that resulted in an error.

  • failed (Integer) (defaults to: )

    Number of output items that failed to pass the evaluation.

  • passed (Integer) (defaults to: )

    Number of output items that passed the evaluation.

  • total (Integer) (defaults to: )

    Total number of executed output items.



# File 'lib/openai/models/evals/run_create_response.rb', line 820

Instance Attribute Details

#erroredInteger

Number of output items that resulted in an error.

Returns:

  • (Integer)


800
# File 'lib/openai/models/evals/run_create_response.rb', line 800

required :errored, Integer

#failedInteger

Number of output items that failed to pass the evaluation.

Returns:

  • (Integer)


806
# File 'lib/openai/models/evals/run_create_response.rb', line 806

required :failed, Integer

#passedInteger

Number of output items that passed the evaluation.

Returns:

  • (Integer)


812
# File 'lib/openai/models/evals/run_create_response.rb', line 812

required :passed, Integer

#totalInteger

Total number of executed output items.

Returns:

  • (Integer)


818
# File 'lib/openai/models/evals/run_create_response.rb', line 818

required :total, Integer