Class NumericScore.Builder
- All Implemented Interfaces:
NumericScore._FinalStage,NumericScore.CreatedAtStage,NumericScore.EnvironmentStage,NumericScore.IdStage,NumericScore.MetadataStage,NumericScore.NameStage,NumericScore.SourceStage,NumericScore.TimestampStage,NumericScore.UpdatedAtStage,NumericScore.ValueStage
- Enclosing class:
NumericScore
-
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(NumericScore 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) timestamp(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 interfaceNumericScore.ValueStage
-
value
The numeric value of the score
The numeric value of the score
- Specified by:
valuein interfaceNumericScore.ValueStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
id
- Specified by:
idin interfaceNumericScore.IdStage
-
name
- Specified by:
namein interfaceNumericScore.NameStage
-
source
- Specified by:
sourcein interfaceNumericScore.SourceStage
-
timestamp
- Specified by:
timestampin interfaceNumericScore.TimestampStage
-
createdAt
- Specified by:
createdAtin interfaceNumericScore.CreatedAtStage
-
updatedAt
- Specified by:
updatedAtin interfaceNumericScore.UpdatedAtStage
-
metadata
Metadata associated with the score
Metadata associated with the score
- Specified by:
metadatain interfaceNumericScore.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 interfaceNumericScore.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 interfaceNumericScore._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 interfaceNumericScore._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 interfaceNumericScore._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 interfaceNumericScore._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 interfaceNumericScore._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 interfaceNumericScore._FinalStage
-
comment
Comment on the score
- Specified by:
commentin interfaceNumericScore._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
comment
Comment on the score
- Specified by:
commentin interfaceNumericScore._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
comment
Comment on the score
- Specified by:
commentin interfaceNumericScore._FinalStage
-
authorUserId
The user ID of the author
- Specified by:
authorUserIdin interfaceNumericScore._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
authorUserId
The user ID of the author
- Specified by:
authorUserIdin interfaceNumericScore._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
authorUserId
The user ID of the author
- Specified by:
authorUserIdin interfaceNumericScore._FinalStage
-
datasetRunId
The dataset run ID associated with the score
- Specified by:
datasetRunIdin interfaceNumericScore._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
datasetRunId
The dataset run ID associated with the score
- Specified by:
datasetRunIdin interfaceNumericScore._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
datasetRunId
The dataset run ID associated with the score
- Specified by:
datasetRunIdin interfaceNumericScore._FinalStage
-
observationId
The observation ID associated with the score
- Specified by:
observationIdin interfaceNumericScore._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
observationId
The observation ID associated with the score
- Specified by:
observationIdin interfaceNumericScore._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
observationId
The observation ID associated with the score
- Specified by:
observationIdin interfaceNumericScore._FinalStage
-
sessionId
The session ID associated with the score
- Specified by:
sessionIdin interfaceNumericScore._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
sessionId
The session ID associated with the score
- Specified by:
sessionIdin interfaceNumericScore._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
sessionId
The session ID associated with the score
- Specified by:
sessionIdin interfaceNumericScore._FinalStage
-
traceId
The trace ID associated with the score
- Specified by:
traceIdin interfaceNumericScore._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
traceId
The trace ID associated with the score
- Specified by:
traceIdin interfaceNumericScore._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
traceId
The trace ID associated with the score
- Specified by:
traceIdin interfaceNumericScore._FinalStage
-
build
- Specified by:
buildin interfaceNumericScore._FinalStage
-
additionalProperty
- Specified by:
additionalPropertyin interfaceNumericScore._FinalStage
-
additionalProperties
- Specified by:
additionalPropertiesin interfaceNumericScore._FinalStage
-