SessionSpans

data class SessionSpans(val value: List<<Error class: unknown class>?>) : EvaluationInput

The collection of spans representing agent execution traces within a session. Each span contains detailed information about tool calls, model interactions, and other agent activities that can be evaluated for quality and performance.

Constructors

Link copied to clipboard
constructor(value: List<<Error class: unknown class>?>)

Properties

Link copied to clipboard
val value: List<<Error class: unknown class>?>

Inherited functions

Link copied to clipboard
fun asSessionSpans(): List<<Error class: unknown class>?>

Casts this EvaluationInput as a SessionSpans and retrieves its kotlin.collections.List value. Throws an exception if the EvaluationInput is not a SessionSpans.

Link copied to clipboard
fun asSessionSpansOrNull(): List<<Error class: unknown class>?>?

Casts this EvaluationInput as a SessionSpans and retrieves its kotlin.collections.List value. Returns null if the EvaluationInput is not a SessionSpans.