Arize Phoenix TS
    Preparing search index...

    One annotation recorded against a run. Extends the evaluator EvaluationResultObject with the name and annotatorKind carried on the evaluation body, plus an optional originating trace id.

    interface Annotation {
        annotatorKind?: "LLM" | "CODE" | "HUMAN";
        explanation?: string | null;
        label?: string | null;
        metadata?: Record<string, unknown>;
        name: string;
        score?: number | boolean | null;
        traceId?: string | null;
    }

    Hierarchy (View Summary)

    Index

    Properties

    annotatorKind?: "LLM" | "CODE" | "HUMAN"

    Who or what produced the annotation. Defaults to "CODE".

    explanation?: string | null
    label?: string | null
    metadata?: Record<string, unknown>
    name: string

    Phoenix evaluation name. Required, and unique per run (last write wins).

    score?: number | boolean | null

    Numeric or boolean score; booleans are stored as 1 / 0.

    traceId?: string | null

    Trace id for this evaluation, when the annotation was produced by a traced evaluator.