Interface ScoreBody._FinalStage
- All Known Implementing Classes:
ScoreBody.Builder
- Enclosing class:
ScoreBody
public static interface ScoreBody._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) build()Reference a score config on a score.datasetRunId(String datasetRunId) datasetRunId(Optional<String> datasetRunId) dataType(ScoreDataType dataType) dataType(Optional<ScoreDataType> dataType) When set, must match the score value's type.environment(String environment) environment(Optional<String> environment) observationId(String observationId) observationId(Optional<String> observationId) The annotation queue referenced by the score.
-
Method Details
-
build
ScoreBody build() -
additionalProperty
-
additionalProperties
-
id
-
id
-
traceId
-
traceId
-
sessionId
-
sessionId
-
observationId
-
observationId
-
datasetRunId
-
datasetRunId
-
environment
-
environment
-
queueId
The annotation queue referenced by the score. Indicates if score was initially created while processing annotation queue.
-
queueId
-
comment
-
comment
-
metadata
-
metadata
-
dataType
When set, must match the score value's type. If not set, will be inferred from the score value or config
-
dataType
-
configId
Reference a score config on a score. When set, the score name must equal the config name and scores must comply with the config's range and data type. For categorical scores, the value must map to a config category. Numeric scores might be constrained by the score config's max and min values
-
configId
-