Class NumericScoreV1.Builder
- All Implemented Interfaces:
NumericScoreV1._FinalStage,NumericScoreV1.CreatedAtStage,NumericScoreV1.EnvironmentStage,NumericScoreV1.IdStage,NumericScoreV1.MetadataStage,NumericScoreV1.NameStage,NumericScoreV1.SourceStage,NumericScoreV1.TimestampStage,NumericScoreV1.TraceIdStage,NumericScoreV1.UpdatedAtStage,NumericScoreV1.ValueStage
- Enclosing class:
NumericScoreV1
-
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) environment(String environment) The environment from which this score originated.from(NumericScoreV1 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.source(ScoreSource source) timestamp(OffsetDateTime timestamp) updatedAt(OffsetDateTime updatedAt) value(double value) The numeric value of the score
-
Method Details
-
from
- Specified by:
fromin interfaceNumericScoreV1.IdStage
-
id
- Specified by:
idin interfaceNumericScoreV1.IdStage
-
traceId
- Specified by:
traceIdin interfaceNumericScoreV1.TraceIdStage
-
name
- Specified by:
namein interfaceNumericScoreV1.NameStage
-
source
- Specified by:
sourcein interfaceNumericScoreV1.SourceStage
-
timestamp
- Specified by:
timestampin interfaceNumericScoreV1.TimestampStage
-
createdAt
- Specified by:
createdAtin interfaceNumericScoreV1.CreatedAtStage
-
updatedAt
- Specified by:
updatedAtin interfaceNumericScoreV1.UpdatedAtStage
-
metadata
Metadata associated with the score
Metadata associated with the score
- Specified by:
metadatain interfaceNumericScoreV1.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 interfaceNumericScoreV1.EnvironmentStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
value
The numeric value of the score
The numeric value of the score
- Specified by:
valuein interfaceNumericScoreV1.ValueStage- 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 interfaceNumericScoreV1._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 interfaceNumericScoreV1._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 interfaceNumericScoreV1._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 interfaceNumericScoreV1._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 interfaceNumericScoreV1._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 interfaceNumericScoreV1._FinalStage
-
comment
Comment on the score
- Specified by:
commentin interfaceNumericScoreV1._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
comment
Comment on the score
- Specified by:
commentin interfaceNumericScoreV1._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
comment
Comment on the score
- Specified by:
commentin interfaceNumericScoreV1._FinalStage
-
authorUserId
The user ID of the author
- Specified by:
authorUserIdin interfaceNumericScoreV1._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
authorUserId
The user ID of the author
- Specified by:
authorUserIdin interfaceNumericScoreV1._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
authorUserId
The user ID of the author
- Specified by:
authorUserIdin interfaceNumericScoreV1._FinalStage
-
observationId
The observation ID associated with the score
- Specified by:
observationIdin interfaceNumericScoreV1._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
observationId
The observation ID associated with the score
- Specified by:
observationIdin interfaceNumericScoreV1._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
observationId
The observation ID associated with the score
- Specified by:
observationIdin interfaceNumericScoreV1._FinalStage
-
build
- Specified by:
buildin interfaceNumericScoreV1._FinalStage
-
additionalProperty
- Specified by:
additionalPropertyin interfaceNumericScoreV1._FinalStage
-
additionalProperties
- Specified by:
additionalPropertiesin interfaceNumericScoreV1._FinalStage
-