@langwatch/scenario
    Preparing search index...

    Class JudgeSpanDigestFormatter

    Transforms OpenTelemetry spans into a complete plain-text digest for judge evaluation. Deduplicates repeated string content to reduce token usage.

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Formats spans into a complete digest with full content and nesting.

      Parameters

      • spans: ReadableSpan[]

        All spans for a thread

      Returns string

      Plain text digest