Class BooleanScoreV1.Builder
- All Implemented Interfaces:
BooleanScoreV1._FinalStage,BooleanScoreV1.CreatedAtStage,BooleanScoreV1.EnvironmentStage,BooleanScoreV1.IdStage,BooleanScoreV1.MetadataStage,BooleanScoreV1.NameStage,BooleanScoreV1.SourceStage,BooleanScoreV1.StringValueStage,BooleanScoreV1.TimestampStage,BooleanScoreV1.TraceIdStage,BooleanScoreV1.UpdatedAtStage,BooleanScoreV1.ValueStage
- Enclosing class:
BooleanScoreV1
-
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(BooleanScoreV1 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) The numeric value of the score.
-
Method Details
-
from
- Specified by:
fromin interfaceBooleanScoreV1.IdStage
-
id
- Specified by:
idin interfaceBooleanScoreV1.IdStage
-
traceId
- Specified by:
traceIdin interfaceBooleanScoreV1.TraceIdStage
-
name
- Specified by:
namein interfaceBooleanScoreV1.NameStage
-
source
- Specified by:
sourcein interfaceBooleanScoreV1.SourceStage
-
timestamp
- Specified by:
timestampin interfaceBooleanScoreV1.TimestampStage
-
createdAt
- Specified by:
createdAtin interfaceBooleanScoreV1.CreatedAtStage
-
updatedAt
- Specified by:
updatedAtin interfaceBooleanScoreV1.UpdatedAtStage
-
metadata
Metadata associated with the score
Metadata associated with the score
- Specified by:
metadatain interfaceBooleanScoreV1.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 interfaceBooleanScoreV1.EnvironmentStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
value
The numeric value of the score. Equals 1 for "True" and 0 for "False"
The numeric value of the score. Equals 1 for "True" and 0 for "False"
- Specified by:
valuein interfaceBooleanScoreV1.ValueStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
stringValue
The string representation of the score value. Is inferred from the numeric value and equals "True" or "False"
The string representation of the score value. Is inferred from the numeric value and equals "True" or "False"
- Specified by:
stringValuein interfaceBooleanScoreV1.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 interfaceBooleanScoreV1._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 interfaceBooleanScoreV1._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 interfaceBooleanScoreV1._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 interfaceBooleanScoreV1._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 interfaceBooleanScoreV1._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 interfaceBooleanScoreV1._FinalStage
-
comment
Comment on the score
- Specified by:
commentin interfaceBooleanScoreV1._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
comment
Comment on the score
- Specified by:
commentin interfaceBooleanScoreV1._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
comment
Comment on the score
- Specified by:
commentin interfaceBooleanScoreV1._FinalStage
-
authorUserId
The user ID of the author
- Specified by:
authorUserIdin interfaceBooleanScoreV1._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
authorUserId
The user ID of the author
- Specified by:
authorUserIdin interfaceBooleanScoreV1._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
authorUserId
The user ID of the author
- Specified by:
authorUserIdin interfaceBooleanScoreV1._FinalStage
-
observationId
The observation ID associated with the score
- Specified by:
observationIdin interfaceBooleanScoreV1._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
observationId
The observation ID associated with the score
- Specified by:
observationIdin interfaceBooleanScoreV1._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
observationId
The observation ID associated with the score
- Specified by:
observationIdin interfaceBooleanScoreV1._FinalStage
-
build
- Specified by:
buildin interfaceBooleanScoreV1._FinalStage
-
additionalProperty
- Specified by:
additionalPropertyin interfaceBooleanScoreV1._FinalStage
-
additionalProperties
- Specified by:
additionalPropertiesin interfaceBooleanScoreV1._FinalStage
-