An example that has been synced to the server

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

Hierarchy (View Summary)

Properties

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

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?: null | string | string[]

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
updatedAt: Date