Class RunListResponse
-
- All Implemented Interfaces:
public final class RunListResponseA schema representing an evaluation run.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRunListResponse.BuilderA builder for RunListResponse.
public final classRunListResponse.DataSourceInformation about the run's data source.
public final classRunListResponse.MetadataSet of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard.
Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.
public final classRunListResponse.PerModelUsagepublic final classRunListResponse.PerTestingCriteriaResultpublic final classRunListResponse.ResultCountsCounters summarizing the outcomes of the evaluation run.
-
Method Summary
Modifier and Type Method Description final Stringid()Unique identifier for the evaluation run. final LongcreatedAt()Unix timestamp (in seconds) when the evaluation run was created. final RunListResponse.DataSourcedataSource()Information about the run's data source. final EvalApiErrorerror()An object representing an error response from the Eval API. final StringevalId()The identifier of the associated evaluation. final Optional<RunListResponse.Metadata>metadata()Set of 16 key-value pairs that can be attached to an object. final Stringmodel()The model that is evaluated, if applicable. final Stringname()The name of the evaluation run. final JsonValue_object_()The type of the object. final List<RunListResponse.PerModelUsage>perModelUsage()Usage statistics for each model during the evaluation run. final List<RunListResponse.PerTestingCriteriaResult>perTestingCriteriaResults()Results per testing criteria applied during the evaluation run. final StringreportUrl()The URL to the rendered evaluation run report on the UI dashboard. final RunListResponse.ResultCountsresultCounts()Counters summarizing the outcomes 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<RunListResponse.DataSource>_dataSource()Returns the raw JSON value of dataSource. final JsonField<EvalApiError>_error()Returns the raw JSON value of error. final JsonField<String>_evalId()Returns the raw JSON value of evalId. final JsonField<RunListResponse.Metadata>_metadata()Returns the raw JSON value of metadata. final JsonField<String>_model()Returns the raw JSON value of model. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<List<RunListResponse.PerModelUsage>>_perModelUsage()Returns the raw JSON value of perModelUsage. final JsonField<List<RunListResponse.PerTestingCriteriaResult>>_perTestingCriteriaResults()Returns the raw JSON value of perTestingCriteriaResults. final JsonField<String>_reportUrl()Returns the raw JSON value of reportUrl. final JsonField<RunListResponse.ResultCounts>_resultCounts()Returns the raw JSON value of resultCounts. final JsonField<String>_status()Returns the raw JSON value of status. final Map<String, JsonValue>_additionalProperties()final RunListResponse.BuildertoBuilder()final RunListResponsevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static RunListResponse.Builderbuilder()Returns a mutable builder for constructing an instance of RunListResponse. -
-
Method Detail
-
dataSource
final RunListResponse.DataSource dataSource()
Information about the run's data source.
-
error
final EvalApiError error()
An object representing an error response from the Eval API.
-
metadata
final Optional<RunListResponse.Metadata> metadata()
Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard.
Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.
-
_object_
final JsonValue _object_()
The type of the object. Always "eval.run".
Expected to always return the following:
JsonValue.from("eval.run")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
perModelUsage
final List<RunListResponse.PerModelUsage> perModelUsage()
Usage statistics for each model during the evaluation run.
-
perTestingCriteriaResults
final List<RunListResponse.PerTestingCriteriaResult> perTestingCriteriaResults()
Results per testing criteria applied during the evaluation run.
-
reportUrl
final String reportUrl()
The URL to the rendered evaluation run report on the UI dashboard.
-
resultCounts
final RunListResponse.ResultCounts resultCounts()
Counters summarizing the outcomes 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.
-
_dataSource
final JsonField<RunListResponse.DataSource> _dataSource()
Returns the raw JSON value of dataSource.
Unlike dataSource, this method doesn't throw if the JSON field has an unexpected type.
-
_error
final JsonField<EvalApiError> _error()
Returns the raw JSON value of error.
Unlike error, 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.
-
_metadata
final JsonField<RunListResponse.Metadata> _metadata()
Returns the raw JSON value of metadata.
Unlike metadata, this method doesn't throw if the JSON field has an unexpected type.
-
_model
final JsonField<String> _model()
Returns the raw JSON value of model.
Unlike model, this method doesn't throw if the JSON field has an unexpected type.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_perModelUsage
final JsonField<List<RunListResponse.PerModelUsage>> _perModelUsage()
Returns the raw JSON value of perModelUsage.
Unlike perModelUsage, this method doesn't throw if the JSON field has an unexpected type.
-
_perTestingCriteriaResults
final JsonField<List<RunListResponse.PerTestingCriteriaResult>> _perTestingCriteriaResults()
Returns the raw JSON value of perTestingCriteriaResults.
Unlike perTestingCriteriaResults, this method doesn't throw if the JSON field has an unexpected type.
-
_reportUrl
final JsonField<String> _reportUrl()
Returns the raw JSON value of reportUrl.
Unlike reportUrl, this method doesn't throw if the JSON field has an unexpected type.
-
_resultCounts
final JsonField<RunListResponse.ResultCounts> _resultCounts()
Returns the raw JSON value of resultCounts.
Unlike resultCounts, 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 RunListResponse.Builder toBuilder()
-
validate
final RunListResponse validate()
-
builder
final static RunListResponse.Builder builder()
Returns a mutable builder for constructing an instance of RunListResponse.
The following fields are required:
.id() .createdAt() .dataSource() .error() .evalId() .metadata() .model() .name() .perModelUsage() .perTestingCriteriaResults() .reportUrl() .resultCounts() .status()
-
-
-
-