Arize Phoenix TS
    Preparing search index...

    An example is a record to feed into an AI task

    interface Example {
        input: Record<string, unknown>;
        metadata?: Record<string, unknown> | null;
        output?: Record<string, unknown> | null;
        spanId?: string | null;
        splits?: string | string[] | null;
    }

    Hierarchy (View Summary)

    Index

    Properties

    input: Record<string, unknown>
    metadata?: Record<string, unknown> | null
    output?: Record<string, unknown> | null
    spanId?: string | null

    OpenTelemetry span ID to link this example back to its source span. When provided, the dataset example will be associated with the span in the Phoenix UI, enabling traceability from datasets back to traces.

    splits?: string | string[] | null

    Split assignment for this example. Can be:

    • A single string for one split: "train"
    • An array of strings for multiple splits: ["train", "easy"]
    • null for no split assignment