An example is a record to feed into an AI task

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

Hierarchy (View Summary)

Properties

input: Record<string, unknown>
metadata?: null | Record<string, unknown>
output?: null | Record<string, unknown>
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