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