Parameters for a single session annotation

interface SessionAnnotation {
    annotatorKind?: "LLM" | "CODE" | "HUMAN";
    explanation?: string;
    identifier?: string;
    label?: string;
    metadata?: Record<string, unknown>;
    name: string;
    score?: number;
    sessionId: string;
}

Hierarchy (View Summary)

Properties

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

The entity that performed the annotation

explanation?: string

Explanation of the annotation result

identifier?: string

The identifier of the annotation. If provided, the annotation will be updated if it already exists.

label?: string

The label assigned by the annotation

metadata?: Record<string, unknown>

Metadata for the annotation

name: string

The name of the annotation

score?: number

The score assigned by the annotation

sessionId: string