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