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