Class CategoricalScoreV1.Builder
- All Implemented Interfaces:
CategoricalScoreV1._FinalStage,CategoricalScoreV1.CreatedAtStage,CategoricalScoreV1.EnvironmentStage,CategoricalScoreV1.IdStage,CategoricalScoreV1.MetadataStage,CategoricalScoreV1.NameStage,CategoricalScoreV1.SourceStage,CategoricalScoreV1.StringValueStage,CategoricalScoreV1.TimestampStage,CategoricalScoreV1.TraceIdStage,CategoricalScoreV1.UpdatedAtStage,CategoricalScoreV1.ValueStage
- Enclosing class:
CategoricalScoreV1
-
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(CategoricalScoreV1 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) stringValue(String stringValue) The string representation of the score value.timestamp(OffsetDateTime timestamp) updatedAt(OffsetDateTime updatedAt) value(double value) Represents the numeric category mapping of the stringValue.
-
Method Details
-
from
- Specified by:
fromin interfaceCategoricalScoreV1.IdStage
-
id
- Specified by:
idin interfaceCategoricalScoreV1.IdStage
-
traceId
- Specified by:
traceIdin interfaceCategoricalScoreV1.TraceIdStage
-
name
- Specified by:
namein interfaceCategoricalScoreV1.NameStage
-
source
- Specified by:
sourcein interfaceCategoricalScoreV1.SourceStage
-
timestamp
- Specified by:
timestampin interfaceCategoricalScoreV1.TimestampStage
-
createdAt
- Specified by:
createdAtin interfaceCategoricalScoreV1.CreatedAtStage
-
updatedAt
- Specified by:
updatedAtin interfaceCategoricalScoreV1.UpdatedAtStage
-
metadata
Metadata associated with the score
Metadata associated with the score
- Specified by:
metadatain interfaceCategoricalScoreV1.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 interfaceCategoricalScoreV1.EnvironmentStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
value
Represents the numeric category mapping of the stringValue. If no config is linked, defaults to 0.
Represents the numeric category mapping of the stringValue. If no config is linked, defaults to 0.
- Specified by:
valuein interfaceCategoricalScoreV1.ValueStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
stringValue
The string representation of the score value. If no config is linked, can be any string. Otherwise, must map to a config category
The string representation of the score value. If no config is linked, can be any string. Otherwise, must map to a config category
- Specified by:
stringValuein interfaceCategoricalScoreV1.StringValueStage- 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 interfaceCategoricalScoreV1._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 interfaceCategoricalScoreV1._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 interfaceCategoricalScoreV1._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 interfaceCategoricalScoreV1._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 interfaceCategoricalScoreV1._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 interfaceCategoricalScoreV1._FinalStage
-
comment
Comment on the score
- Specified by:
commentin interfaceCategoricalScoreV1._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
comment
Comment on the score
- Specified by:
commentin interfaceCategoricalScoreV1._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
comment
Comment on the score
- Specified by:
commentin interfaceCategoricalScoreV1._FinalStage
-
authorUserId
The user ID of the author
- Specified by:
authorUserIdin interfaceCategoricalScoreV1._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
authorUserId
The user ID of the author
- Specified by:
authorUserIdin interfaceCategoricalScoreV1._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
authorUserId
The user ID of the author
- Specified by:
authorUserIdin interfaceCategoricalScoreV1._FinalStage
-
observationId
The observation ID associated with the score
- Specified by:
observationIdin interfaceCategoricalScoreV1._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
observationId
The observation ID associated with the score
- Specified by:
observationIdin interfaceCategoricalScoreV1._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
observationId
The observation ID associated with the score
- Specified by:
observationIdin interfaceCategoricalScoreV1._FinalStage
-
build
- Specified by:
buildin interfaceCategoricalScoreV1._FinalStage
-
additionalProperty
- Specified by:
additionalPropertyin interfaceCategoricalScoreV1._FinalStage
-
additionalProperties
- Specified by:
additionalPropertiesin interfaceCategoricalScoreV1._FinalStage
-