dd-trace
    Preparing search index...

    Interface LLMObservabilitySpan

    interface LLMObservabilitySpan {
        input: { content: string; role?: string }[];
        output: { content: string; role?: string }[];
        getTag(key: string): undefined | string;
    }
    Index

    Properties

    Methods

    Properties

    input: { content: string; role?: string }[]

    The input content associated with the span.

    output: { content: string; role?: string }[]

    The output content associated with the span.

    Methods

    • Get a tag from the span.

      Parameters

      • key: string

        The key of the tag to get.

      Returns undefined | string

      The value of the tag, or undefined if the tag does not exist.