Class TraceWithFullDetails.Builder
- All Implemented Interfaces:
TraceWithFullDetails._FinalStage,TraceWithFullDetails.EnvironmentStage,TraceWithFullDetails.HtmlPathStage,TraceWithFullDetails.IdStage,TraceWithFullDetails.PublicStage,TraceWithFullDetails.TimestampStage
- Enclosing class:
TraceWithFullDetails
-
Method Summary
Modifier and TypeMethodDescriptionaddAllObservations(List<ObservationsView> observations) List of observationsaddAllScores(List<ScoreV1> scores) List of scoresaddAllTags(List<String> tags) The tags associated with the trace.additionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) addObservations(ObservationsView observations) List of observationsList of scoresThe tags associated with the trace.build()environment(String environment) The environment from which this trace originated.from(TraceWithFullDetails other) Path of trace in Langfuse UIThe unique identifier of a traceThe input data of the trace.The input data of the trace.Latency of trace in secondsLatency of trace in secondsLatency of trace in secondsThe metadata associated with the trace.The metadata associated with the trace.The name of the traceThe name of the traceThe name of the traceobservations(List<ObservationsView> observations) List of observationsThe output data of the trace.The output data of the trace.public_(boolean public_) Public traces are accessible via url without loginThe release version of the application when the trace was createdThe release version of the application when the trace was createdThe release version of the application when the trace was createdList of scoresThe session identifier associated with the traceThe session identifier associated with the traceThe session identifier associated with the traceThe tags associated with the trace.timestamp(OffsetDateTime timestamp) The timestamp when the trace was createdCost of trace in USDCost of trace in USDCost of trace in USDThe user identifier associated with the traceThe user identifier associated with the traceThe user identifier associated with the traceThe version of the traceThe version of the traceThe version of the trace
-
Method Details
-
from
- Specified by:
fromin interfaceTraceWithFullDetails.IdStage
-
id
The unique identifier of a trace
The unique identifier of a trace
- Specified by:
idin interfaceTraceWithFullDetails.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
timestamp
The timestamp when the trace was created
The timestamp when the trace was created
- Specified by:
timestampin interfaceTraceWithFullDetails.TimestampStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
public_
Public traces are accessible via url without login
Public traces are accessible via url without login
- Specified by:
public_in interfaceTraceWithFullDetails.PublicStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
environment
The environment from which this trace originated. Can be any lowercase alphanumeric string with hyphens and underscores that does not start with 'langfuse'.
The environment from which this trace originated. Can be any lowercase alphanumeric string with hyphens and underscores that does not start with 'langfuse'.
- Specified by:
environmentin interfaceTraceWithFullDetails.EnvironmentStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
htmlPath
Path of trace in Langfuse UI
Path of trace in Langfuse UI
- Specified by:
htmlPathin interfaceTraceWithFullDetails.HtmlPathStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addAllScores
List of scores
- Specified by:
addAllScoresin interfaceTraceWithFullDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addScores
List of scores
- Specified by:
addScoresin interfaceTraceWithFullDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
scores
List of scores
- Specified by:
scoresin interfaceTraceWithFullDetails._FinalStage
-
addAllObservations
List of observations
- Specified by:
addAllObservationsin interfaceTraceWithFullDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addObservations
List of observations
- Specified by:
addObservationsin interfaceTraceWithFullDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
observations
List of observations
- Specified by:
observationsin interfaceTraceWithFullDetails._FinalStage
-
totalCost
Cost of trace in USD
- Specified by:
totalCostin interfaceTraceWithFullDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
totalCost
Cost of trace in USD
- Specified by:
totalCostin interfaceTraceWithFullDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
totalCost
Cost of trace in USD
- Specified by:
totalCostin interfaceTraceWithFullDetails._FinalStage
-
latency
Latency of trace in seconds
- Specified by:
latencyin interfaceTraceWithFullDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
latency
Latency of trace in seconds
- Specified by:
latencyin interfaceTraceWithFullDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
latency
Latency of trace in seconds
- Specified by:
latencyin interfaceTraceWithFullDetails._FinalStage
-
addAllTags
The tags associated with the trace.
- Specified by:
addAllTagsin interfaceTraceWithFullDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addTags
The tags associated with the trace.
- Specified by:
addTagsin interfaceTraceWithFullDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
tags
The tags associated with the trace.
- Specified by:
tagsin interfaceTraceWithFullDetails._FinalStage
-
metadata
The metadata associated with the trace. Can be any JSON.
- Specified by:
metadatain interfaceTraceWithFullDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
metadata
The metadata associated with the trace. Can be any JSON.
- Specified by:
metadatain interfaceTraceWithFullDetails._FinalStage
-
userId
The user identifier associated with the trace
- Specified by:
userIdin interfaceTraceWithFullDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
userId
The user identifier associated with the trace
- Specified by:
userIdin interfaceTraceWithFullDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
userId
The user identifier associated with the trace
- Specified by:
userIdin interfaceTraceWithFullDetails._FinalStage
-
version
The version of the trace
- Specified by:
versionin interfaceTraceWithFullDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
version
The version of the trace
- Specified by:
versionin interfaceTraceWithFullDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
version
The version of the trace
- Specified by:
versionin interfaceTraceWithFullDetails._FinalStage
-
release
The release version of the application when the trace was created
- Specified by:
releasein interfaceTraceWithFullDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
release
The release version of the application when the trace was created
- Specified by:
releasein interfaceTraceWithFullDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
release
The release version of the application when the trace was created
- Specified by:
releasein interfaceTraceWithFullDetails._FinalStage
-
sessionId
The session identifier associated with the trace
- Specified by:
sessionIdin interfaceTraceWithFullDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
sessionId
The session identifier associated with the trace
- Specified by:
sessionIdin interfaceTraceWithFullDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
sessionId
The session identifier associated with the trace
- Specified by:
sessionIdin interfaceTraceWithFullDetails._FinalStage
-
output
The output data of the trace. Can be any JSON.
- Specified by:
outputin interfaceTraceWithFullDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
output
The output data of the trace. Can be any JSON.
- Specified by:
outputin interfaceTraceWithFullDetails._FinalStage
-
input
The input data of the trace. Can be any JSON.
- Specified by:
inputin interfaceTraceWithFullDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
input
The input data of the trace. Can be any JSON.
- Specified by:
inputin interfaceTraceWithFullDetails._FinalStage
-
name
The name of the trace
- Specified by:
namein interfaceTraceWithFullDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
name
The name of the trace
- Specified by:
namein interfaceTraceWithFullDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
name
The name of the trace
- Specified by:
namein interfaceTraceWithFullDetails._FinalStage
-
build
- Specified by:
buildin interfaceTraceWithFullDetails._FinalStage
-
additionalProperty
- Specified by:
additionalPropertyin interfaceTraceWithFullDetails._FinalStage
-
additionalProperties
- Specified by:
additionalPropertiesin interfaceTraceWithFullDetails._FinalStage
-