Class OutputItemRetrieveResponse
-
- All Implemented Interfaces:
public final class OutputItemRetrieveResponseA schema representing an evaluation run output item.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classOutputItemRetrieveResponse.BuilderA builder for OutputItemRetrieveResponse.
public final classOutputItemRetrieveResponse.DatasourceItemDetails of the input data source item.
public final classOutputItemRetrieveResponse.ResultA single grader result for an evaluation run output item.
public final classOutputItemRetrieveResponse.SampleA sample containing the input and output of the evaluation run.
-
Method Summary
Modifier and Type Method Description final Stringid()Unique identifier for the evaluation run output item. final LongcreatedAt()Unix timestamp (in seconds) when the evaluation run was created. final OutputItemRetrieveResponse.DatasourceItemdatasourceItem()Details of the input data source item. final LongdatasourceItemId()The identifier for the data source item. final StringevalId()The identifier of the evaluation group. final JsonValue_object_()The type of the object. final List<OutputItemRetrieveResponse.Result>results()A list of grader results for this output item. final StringrunId()The identifier of the evaluation run associated with this output item. final OutputItemRetrieveResponse.Samplesample()A sample containing the input and output of the evaluation run. final Stringstatus()The status of the evaluation run. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<Long>_createdAt()Returns the raw JSON value of createdAt. final JsonField<OutputItemRetrieveResponse.DatasourceItem>_datasourceItem()Returns the raw JSON value of datasourceItem. final JsonField<Long>_datasourceItemId()Returns the raw JSON value of datasourceItemId. final JsonField<String>_evalId()Returns the raw JSON value of evalId. final JsonField<List<OutputItemRetrieveResponse.Result>>_results()Returns the raw JSON value of results. final JsonField<String>_runId()Returns the raw JSON value of runId. final JsonField<OutputItemRetrieveResponse.Sample>_sample()Returns the raw JSON value of sample. final JsonField<String>_status()Returns the raw JSON value of status. final Map<String, JsonValue>_additionalProperties()final OutputItemRetrieveResponse.BuildertoBuilder()final OutputItemRetrieveResponsevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static OutputItemRetrieveResponse.Builderbuilder()Returns a mutable builder for constructing an instance of OutputItemRetrieveResponse. -
-
Method Detail
-
datasourceItem
final OutputItemRetrieveResponse.DatasourceItem datasourceItem()
Details of the input data source item.
-
datasourceItemId
final Long datasourceItemId()
The identifier for the data source item.
-
_object_
final JsonValue _object_()
The type of the object. Always "eval.run.output_item".
Expected to always return the following:
JsonValue.from("eval.run.output_item")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
results
final List<OutputItemRetrieveResponse.Result> results()
A list of grader results for this output item.
-
sample
final OutputItemRetrieveResponse.Sample sample()
A sample containing the input and output of the evaluation run.
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_createdAt
final JsonField<Long> _createdAt()
Returns the raw JSON value of createdAt.
Unlike createdAt, this method doesn't throw if the JSON field has an unexpected type.
-
_datasourceItem
final JsonField<OutputItemRetrieveResponse.DatasourceItem> _datasourceItem()
Returns the raw JSON value of datasourceItem.
Unlike datasourceItem, this method doesn't throw if the JSON field has an unexpected type.
-
_datasourceItemId
final JsonField<Long> _datasourceItemId()
Returns the raw JSON value of datasourceItemId.
Unlike datasourceItemId, this method doesn't throw if the JSON field has an unexpected type.
-
_evalId
final JsonField<String> _evalId()
Returns the raw JSON value of evalId.
Unlike evalId, this method doesn't throw if the JSON field has an unexpected type.
-
_results
final JsonField<List<OutputItemRetrieveResponse.Result>> _results()
Returns the raw JSON value of results.
Unlike results, this method doesn't throw if the JSON field has an unexpected type.
-
_runId
final JsonField<String> _runId()
Returns the raw JSON value of runId.
Unlike runId, this method doesn't throw if the JSON field has an unexpected type.
-
_sample
final JsonField<OutputItemRetrieveResponse.Sample> _sample()
Returns the raw JSON value of sample.
Unlike sample, this method doesn't throw if the JSON field has an unexpected type.
-
_status
final JsonField<String> _status()
Returns the raw JSON value of status.
Unlike status, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final OutputItemRetrieveResponse.Builder toBuilder()
-
validate
final OutputItemRetrieveResponse validate()
-
builder
final static OutputItemRetrieveResponse.Builder builder()
Returns a mutable builder for constructing an instance of OutputItemRetrieveResponse.
The following fields are required:
.id() .createdAt() .datasourceItem() .datasourceItemId() .evalId() .results() .runId() .sample() .status()
-
-
-
-