Class OutputItemListResponse
-
- All Implemented Interfaces:
public final class OutputItemListResponseA schema representing an evaluation run output item.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classOutputItemListResponse.BuilderA builder for OutputItemListResponse.
public final classOutputItemListResponse.DatasourceItemDetails of the input data source item.
public final classOutputItemListResponse.ResultA result object.
public final classOutputItemListResponse.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 OutputItemListResponse.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<OutputItemListResponse.Result>results()A list of results from the evaluation run. final StringrunId()The identifier of the evaluation run associated with this output item. final OutputItemListResponse.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<OutputItemListResponse.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<OutputItemListResponse.Result>>_results()Returns the raw JSON value of results. final JsonField<String>_runId()Returns the raw JSON value of runId. final JsonField<OutputItemListResponse.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 OutputItemListResponse.BuildertoBuilder()final OutputItemListResponsevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static OutputItemListResponse.Builderbuilder()Returns a mutable builder for constructing an instance of OutputItemListResponse. -
-
Method Detail
-
datasourceItem
final OutputItemListResponse.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<OutputItemListResponse.Result> results()
A list of results from the evaluation run.
-
sample
final OutputItemListResponse.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<OutputItemListResponse.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<OutputItemListResponse.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<OutputItemListResponse.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 OutputItemListResponse.Builder toBuilder()
-
validate
final OutputItemListResponse validate()
-
builder
final static OutputItemListResponse.Builder builder()
Returns a mutable builder for constructing an instance of OutputItemListResponse.
The following fields are required:
.id() .createdAt() .datasourceItem() .datasourceItemId() .evalId() .results() .runId() .sample() .status()
-
-
-
-