Class TraceWithDetails.Builder
- All Implemented Interfaces:
TraceWithDetails._FinalStage,TraceWithDetails.EnvironmentStage,TraceWithDetails.HtmlPathStage,TraceWithDetails.IdStage,TraceWithDetails.PublicStage,TraceWithDetails.TimestampStage
- Enclosing class:
TraceWithDetails
-
Method Summary
Modifier and TypeMethodDescriptionaddAllTags(List<String> tags) The tags associated with the trace.additionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) The tags associated with the trace.build()environment(String environment) The environment from which this trace originated.from(TraceWithDetails 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(Nullable<List<String>> observations) List of observation idsobservations(List<String> observations) List of observation idsobservations(Optional<List<String>> observations) List of observation idsThe 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 score idsList of score idsList of score idsThe 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 interfaceTraceWithDetails.IdStage
-
id
The unique identifier of a trace
The unique identifier of a trace
- Specified by:
idin interfaceTraceWithDetails.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 interfaceTraceWithDetails.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 interfaceTraceWithDetails.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 interfaceTraceWithDetails.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 interfaceTraceWithDetails.HtmlPathStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
scores
List of score ids
- Specified by:
scoresin interfaceTraceWithDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
scores
List of score ids
- Specified by:
scoresin interfaceTraceWithDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
scores
List of score ids
- Specified by:
scoresin interfaceTraceWithDetails._FinalStage
-
observations
List of observation ids
- Specified by:
observationsin interfaceTraceWithDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
observations
List of observation ids
- Specified by:
observationsin interfaceTraceWithDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
observations
List of observation ids
- Specified by:
observationsin interfaceTraceWithDetails._FinalStage
-
totalCost
Cost of trace in USD
- Specified by:
totalCostin interfaceTraceWithDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
totalCost
Cost of trace in USD
- Specified by:
totalCostin interfaceTraceWithDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
totalCost
Cost of trace in USD
- Specified by:
totalCostin interfaceTraceWithDetails._FinalStage
-
latency
Latency of trace in seconds
- Specified by:
latencyin interfaceTraceWithDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
latency
Latency of trace in seconds
- Specified by:
latencyin interfaceTraceWithDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
latency
Latency of trace in seconds
- Specified by:
latencyin interfaceTraceWithDetails._FinalStage
-
addAllTags
The tags associated with the trace.
- Specified by:
addAllTagsin interfaceTraceWithDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addTags
The tags associated with the trace.
- Specified by:
addTagsin interfaceTraceWithDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
tags
The tags associated with the trace.
- Specified by:
tagsin interfaceTraceWithDetails._FinalStage
-
metadata
The metadata associated with the trace. Can be any JSON.
- Specified by:
metadatain interfaceTraceWithDetails._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 interfaceTraceWithDetails._FinalStage
-
userId
The user identifier associated with the trace
- Specified by:
userIdin interfaceTraceWithDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
userId
The user identifier associated with the trace
- Specified by:
userIdin interfaceTraceWithDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
userId
The user identifier associated with the trace
- Specified by:
userIdin interfaceTraceWithDetails._FinalStage
-
version
The version of the trace
- Specified by:
versionin interfaceTraceWithDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
version
The version of the trace
- Specified by:
versionin interfaceTraceWithDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
version
The version of the trace
- Specified by:
versionin interfaceTraceWithDetails._FinalStage
-
release
The release version of the application when the trace was created
- Specified by:
releasein interfaceTraceWithDetails._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 interfaceTraceWithDetails._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 interfaceTraceWithDetails._FinalStage
-
sessionId
The session identifier associated with the trace
- Specified by:
sessionIdin interfaceTraceWithDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
sessionId
The session identifier associated with the trace
- Specified by:
sessionIdin interfaceTraceWithDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
sessionId
The session identifier associated with the trace
- Specified by:
sessionIdin interfaceTraceWithDetails._FinalStage
-
output
The output data of the trace. Can be any JSON.
- Specified by:
outputin interfaceTraceWithDetails._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 interfaceTraceWithDetails._FinalStage
-
input
The input data of the trace. Can be any JSON.
- Specified by:
inputin interfaceTraceWithDetails._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 interfaceTraceWithDetails._FinalStage
-
name
The name of the trace
- Specified by:
namein interfaceTraceWithDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
name
The name of the trace
- Specified by:
namein interfaceTraceWithDetails._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
name
The name of the trace
- Specified by:
namein interfaceTraceWithDetails._FinalStage
-
build
- Specified by:
buildin interfaceTraceWithDetails._FinalStage
-
additionalProperty
- Specified by:
additionalPropertyin interfaceTraceWithDetails._FinalStage
-
additionalProperties
- Specified by:
additionalPropertiesin interfaceTraceWithDetails._FinalStage
-