Package com.openai.models.evals.runs
Class RunCreateResponse.ResultCounts
-
- All Implemented Interfaces:
public final class RunCreateResponse.ResultCounts
Counters summarizing the outcomes of the evaluation run.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
RunCreateResponse.ResultCounts.Builder
A builder for ResultCounts.
-
Method Summary
Modifier and Type Method Description final Long
errored()
Number of output items that resulted in an error. final Long
failed()
Number of output items that failed to pass the evaluation. final Long
passed()
Number of output items that passed the evaluation. final Long
total()
Total number of executed output items. final JsonField<Long>
_errored()
Returns the raw JSON value of errored. final JsonField<Long>
_failed()
Returns the raw JSON value of failed. final JsonField<Long>
_passed()
Returns the raw JSON value of passed. final JsonField<Long>
_total()
Returns the raw JSON value of total. final Map<String, JsonValue>
_additionalProperties()
final RunCreateResponse.ResultCounts.Builder
toBuilder()
final RunCreateResponse.ResultCounts
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static RunCreateResponse.ResultCounts.Builder
builder()
Returns a mutable builder for constructing an instance of ResultCounts. -
-
Method Detail
-
_errored
final JsonField<Long> _errored()
Returns the raw JSON value of errored.
Unlike errored, this method doesn't throw if the JSON field has an unexpected type.
-
_failed
final JsonField<Long> _failed()
Returns the raw JSON value of failed.
Unlike failed, this method doesn't throw if the JSON field has an unexpected type.
-
_passed
final JsonField<Long> _passed()
Returns the raw JSON value of passed.
Unlike passed, this method doesn't throw if the JSON field has an unexpected type.
-
_total
final JsonField<Long> _total()
Returns the raw JSON value of total.
Unlike total, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final RunCreateResponse.ResultCounts.Builder toBuilder()
-
validate
final RunCreateResponse.ResultCounts validate()
-
builder
final static RunCreateResponse.ResultCounts.Builder builder()
Returns a mutable builder for constructing an instance of ResultCounts.
The following fields are required:
.errored() .failed() .passed() .total()
-
-
-
-