Class CorrectionScore.Builder
- All Implemented Interfaces:
CorrectionScore._FinalStage,CorrectionScore.CreatedAtStage,CorrectionScore.EnvironmentStage,CorrectionScore.IdStage,CorrectionScore.MetadataStage,CorrectionScore.NameStage,CorrectionScore.SourceStage,CorrectionScore.StringValueStage,CorrectionScore.TimestampStage,CorrectionScore.UpdatedAtStage,CorrectionScore.ValueStage
- Enclosing class:
CorrectionScore
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) authorUserId(Nullable<String> authorUserId) The user ID of the authorauthorUserId(String authorUserId) The user ID of the authorauthorUserId(Optional<String> authorUserId) The user ID of the authorbuild()Comment on the scoreComment on the scoreComment on the scoreReference a score config on a score.Reference a score config on a score.Reference a score config on a score.createdAt(OffsetDateTime createdAt) datasetRunId(Nullable<String> datasetRunId) The dataset run ID associated with the scoredatasetRunId(String datasetRunId) The dataset run ID associated with the scoredatasetRunId(Optional<String> datasetRunId) The dataset run ID associated with the scoreenvironment(String environment) The environment from which this score originated.from(CorrectionScore other) Metadata associated with the scoreobservationId(Nullable<String> observationId) The observation ID associated with the scoreobservationId(String observationId) The observation ID associated with the scoreobservationId(Optional<String> observationId) The observation ID associated with the scoreThe annotation queue referenced by the score.The annotation queue referenced by the score.The annotation queue referenced by the score.The session ID associated with the scoreThe session ID associated with the scoreThe session ID associated with the scoresource(ScoreSource source) stringValue(String stringValue) The string representation of the correction contenttimestamp(OffsetDateTime timestamp) The trace ID associated with the scoreThe trace ID associated with the scoreThe trace ID associated with the scoreupdatedAt(OffsetDateTime updatedAt) value(double value) The numeric value of the score.
-
Method Details
-
from
- Specified by:
fromin interfaceCorrectionScore.ValueStage
-
value
The numeric value of the score. Always 0 for correction scores.
The numeric value of the score. Always 0 for correction scores.
- Specified by:
valuein interfaceCorrectionScore.ValueStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
stringValue
The string representation of the correction content
The string representation of the correction content
- Specified by:
stringValuein interfaceCorrectionScore.StringValueStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
id
- Specified by:
idin interfaceCorrectionScore.IdStage
-
name
- Specified by:
namein interfaceCorrectionScore.NameStage
-
source
- Specified by:
sourcein interfaceCorrectionScore.SourceStage
-
timestamp
- Specified by:
timestampin interfaceCorrectionScore.TimestampStage
-
createdAt
- Specified by:
createdAtin interfaceCorrectionScore.CreatedAtStage
-
updatedAt
- Specified by:
updatedAtin interfaceCorrectionScore.UpdatedAtStage
-
metadata
Metadata associated with the score
Metadata associated with the score
- Specified by:
metadatain interfaceCorrectionScore.MetadataStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
environment
The environment from which this score originated. Can be any lowercase alphanumeric string with hyphens and underscores that does not start with 'langfuse'.
The environment from which this score originated. Can be any lowercase alphanumeric string with hyphens and underscores that does not start with 'langfuse'.
- Specified by:
environmentin interfaceCorrectionScore.EnvironmentStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
queueId
The annotation queue referenced by the score. Indicates if score was initially created while processing annotation queue.
- Specified by:
queueIdin interfaceCorrectionScore._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
queueId
The annotation queue referenced by the score. Indicates if score was initially created while processing annotation queue.
- Specified by:
queueIdin interfaceCorrectionScore._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
queueId
The annotation queue referenced by the score. Indicates if score was initially created while processing annotation queue.
- Specified by:
queueIdin interfaceCorrectionScore._FinalStage
-
configId
Reference a score config on a score. When set, config and score name must be equal and value must comply to optionally defined numerical range
- Specified by:
configIdin interfaceCorrectionScore._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
configId
Reference a score config on a score. When set, config and score name must be equal and value must comply to optionally defined numerical range
- Specified by:
configIdin interfaceCorrectionScore._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
configId
Reference a score config on a score. When set, config and score name must be equal and value must comply to optionally defined numerical range
- Specified by:
configIdin interfaceCorrectionScore._FinalStage
-
comment
Comment on the score
- Specified by:
commentin interfaceCorrectionScore._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
comment
Comment on the score
- Specified by:
commentin interfaceCorrectionScore._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
comment
Comment on the score
- Specified by:
commentin interfaceCorrectionScore._FinalStage
-
authorUserId
The user ID of the author
- Specified by:
authorUserIdin interfaceCorrectionScore._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
authorUserId
The user ID of the author
- Specified by:
authorUserIdin interfaceCorrectionScore._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
authorUserId
The user ID of the author
- Specified by:
authorUserIdin interfaceCorrectionScore._FinalStage
-
datasetRunId
The dataset run ID associated with the score
- Specified by:
datasetRunIdin interfaceCorrectionScore._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
datasetRunId
The dataset run ID associated with the score
- Specified by:
datasetRunIdin interfaceCorrectionScore._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
datasetRunId
The dataset run ID associated with the score
- Specified by:
datasetRunIdin interfaceCorrectionScore._FinalStage
-
observationId
The observation ID associated with the score
- Specified by:
observationIdin interfaceCorrectionScore._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
observationId
The observation ID associated with the score
- Specified by:
observationIdin interfaceCorrectionScore._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
observationId
The observation ID associated with the score
- Specified by:
observationIdin interfaceCorrectionScore._FinalStage
-
sessionId
The session ID associated with the score
- Specified by:
sessionIdin interfaceCorrectionScore._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
sessionId
The session ID associated with the score
- Specified by:
sessionIdin interfaceCorrectionScore._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
sessionId
The session ID associated with the score
- Specified by:
sessionIdin interfaceCorrectionScore._FinalStage
-
traceId
The trace ID associated with the score
- Specified by:
traceIdin interfaceCorrectionScore._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
traceId
The trace ID associated with the score
- Specified by:
traceIdin interfaceCorrectionScore._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
traceId
The trace ID associated with the score
- Specified by:
traceIdin interfaceCorrectionScore._FinalStage
-
build
- Specified by:
buildin interfaceCorrectionScore._FinalStage
-
additionalProperty
- Specified by:
additionalPropertyin interfaceCorrectionScore._FinalStage
-
additionalProperties
- Specified by:
additionalPropertiesin interfaceCorrectionScore._FinalStage
-