dd-trace
    Preparing search index...

    Interface AnnotationContextOptions

    interface AnnotationContextOptions {
        name?: string;
        prompt?: Prompt;
        tags?: { [key: string]: any };
    }
    Index

    Properties

    Properties

    name?: string

    Set to override the span name for any spans annotated within the returned context.

    prompt?: Prompt

    A Prompt object that represents the prompt used for an LLM call. Only used on llm spans.

    tags?: { [key: string]: any }

    Dictionary of JSON serializable key-value tag pairs to set or update on the LLMObs span regarding the span's context.