Interface CreateScoreRequest._FinalStage
- All Known Implementing Classes:
CreateScoreRequest.Builder
- Enclosing class:
CreateScoreRequest
public static interface CreateScoreRequest._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) The data type of the score.environment(String environment) environment(Optional<String> environment) The environment of the score.observationId(String observationId) observationId(Optional<String> observationId) The annotation queue referenced by the score.
-
Method Details
-
build
CreateScoreRequest build() -
additionalProperty
-
additionalProperties
-
id
-
id
-
traceId
-
traceId
-
sessionId
-
sessionId
-
observationId
-
observationId
-
datasetRunId
-
datasetRunId
-
comment
-
comment
-
metadata
-
metadata
-
environment
The environment of the score. Can be any lowercase alphanumeric string with hyphens and underscores that does not start with 'langfuse'.
-
environment
-
queueId
The annotation queue referenced by the score. Indicates if score was initially created while processing annotation queue.
-
queueId
-
dataType
The data type of the score. When passing a configId this field is inferred. Otherwise, this field must be passed or will default to numeric.
-
dataType
-
configId
Reference a score config on a score. The unique langfuse identifier of a score config. When passing this field, the dataType and stringValue fields are automatically populated.
-
configId
-