TraceJson

org.llm4s.trace.model.TraceModelJson.TraceJson
final implicit class TraceJson(val trace: Trace) extends AnyVal

Extension methods that add JSON serialisation to Trace values.

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

def toJson: Value

Serialises this trace to a JSON object with all trace fields.

Serialises this trace to a JSON object with all trace fields.

Attributes

Returns

A ujson.Value representing the full trace.

Concrete fields

val trace: Trace