Launch Week 3: Five days of launches

Dataset Ingestion Task

Turn matching traces and spans into dataset goldens automatically.

Overview

A dataset ingestion task turns production data into goldens: it continuously adds matching traces, spans, or threads to a dataset, so the cases your app actually sees end up in your evaluations. On the Workflows page, these tasks are listed under Dataset Ingestion.

A dataset ingestion task

Single-turn datasets ingest traces or spans; multi-turn datasets ingest threads as multi-turn goldens. The task runs every five minutes, and new goldens appear in the dataset shortly after the matching data arrives.

Create a Dataset Ingestion Task

  1. Navigate to Workflows and select Traces, Spans, or Threads
  2. Expand Dataset Ingestion in the panel beside the graph
  3. Click New ingestion task
  4. Configure the task in the side drawer (see fields below)
  5. Save the task

To start it from a classifier instead, click Add action under the classifier in the graph; the task then only ingests traces with the labels you pick (see Chain Tasks).

Fields

FieldDescription
DatasetThe dataset to ingest goldens into
NameA name to identify the task
DescriptionOptional context about the task's purpose
Data ModelTrace or Span for a single-turn dataset; a multi-turn dataset always ingests threads
Runs afterOptional, traces only: a classifier and the labels a trace must get to be ingested
Golden Selection LogicWhich fields map onto the golden: input (always), actual output, expected output, retrieval context, context, tools called, and expected tools. Single-turn datasets only.
FiltersNarrow which items are ingested, with the same filters as the Observatory
Sample RateFraction of matching items to ingest (0 to 1)
Max GoldensCap on how many goldens the task produces; leave empty for no limit
Input Transformer / Output TransformerOptional transformers applied to inputs and outputs before they're ingested. Single-turn datasets only.

Filters can use metric results: when a trace's or thread's evaluation lands after the task's sweep, tasks that filter on metrics check it again, so ingest every trace that failed Faithfulness works without chaining.

Each task row shows its name, data model, target dataset and golden count, and the workflows it belongs to. Use the toggle to enable or disable a task without deleting it. Click the row to edit it, or use its menu to manage its workflows or delete it.

Next Steps

Ready to monitor AI in production?Connect traces, alerts, dashboards, and evals in one production workflowBook a demo

Last updated on

Built byConfident AI