Adding documents
Two ways put documents in a dataset. Use the one that matches where your labelled data already lives.From your processed results
Promote a document you’ve already run through the workflow:- Open its results and confirm every value is correct. Validate all of its datapoints. The correct values become the file’s ground truth.
- Choose Add to dataset.
A file can be added this way only once every datapoint is validated. Until then, Add to dataset stays disabled. You are establishing the correct answer, so it has to be complete.
By direct upload
If you already have labelled data, upload the documents and their expected answers straight into the dataset. You do not run them through the workflow first.- On the Datasets subtab, choose Upload files.
- Drop your documents. To import expected values, include a
.jsonground-truth file named after each document.invoice.pdfpairs withinvoice.json. - Optionally tag the uploaded files to slot them straight into a sub-dataset.
- Review the staged list, then choose Upload.
.json to its document by filename, and checks its values against the workflow’s current fields.
The review step catches problems before anything is uploaded. It flags any file with a duplicate name, with invalid JSON, or that is an orphan ground-truth file matching no document. Dataset names must be unique, and anyformat never renames a file silently.
A freshly added file, copied or uploaded, has ground truth but no score yet. It reads as ungraded until its first evaluation produces the prediction its ground truth is scored against.
Editing ground truth
Every evaluation measures against the dataset’s ground truth. Keeping it correct matters more than anywhere else. Edit expected values directly in Health → Datasets. You do not go back to the original run. The Ground truth grid shows the expected values for each file. An evaluation compares the workflow’s output to them.Editing ground truth changes future evaluations, not past ones. An evaluation you already ran keeps the score it recorded. Run a new evaluation to measure the effect of your edits.
Sub-datasets: slicing with tags
One overall accuracy number hides where a workflow struggles. Tag files to create sub-datasets, and read accuracy for each slice separately. Tag by whatever distinction matters for your documents:- Provider: bank A against bank B
- Document type: invoices against receipts
- Difficulty: a “hard cases” tag for the documents that trip the workflow up
Removing documents
Select files in the Datasets grid and choose Remove to take them out of the dataset. Removal affects the dataset only. The production file is untouched. Removal is final. Add the file to the dataset again and you get a brand-new dataset entry with a clean slate. It is not linked to the removed one, and it carries none of the earlier evaluation history or ground-truth edits. Run an evaluation over the new entry to measure it.What’s next?
Run an evaluation
Score a workflow version against your dataset.
Analytics & Quality
How accuracy and confidence work across anyformat.

