1. Pick an approach
Default to System One: a fixed label set with a probability attached is
exactly what a routing step needs, and the answer can never come back as
something outside your set. Reach for chat completions when the label set is not
fixed, or when you need an explanation alongside the label.
2. Classify a page image
Onechoice question with an entry per label, plus any yes/no checks the pipeline needs.
Descriptions are optional; null is fine when a label speaks for itself.
image_url part. The System One
quickstart has the same call in Python, Node.js, cURL and
the CLI, and the shape of the reply.
Designing the label set is the part that decides your accuracy:
3. Classify a PDF
Pass the PDF straight through as afile part. The route rasterises its
first 8 pages for you at 96 DPI, so this is one call, not an OCR pass followed by a
classification pass. detail stays low here: naming a document kind does not need
small print.
- Act on the confidence
The point of a calibrated answer is that you can decide when not to trust it.
confidence runs from 1 (all mass on one label) to 0 (uniform).
Related
System One
Question types, images, confidence, and cost levers.
Document OCR
Reading documents to markdown or structured blocks.
System One API
Request and response reference.
Models
Catalog, capabilities, and accepted inputs per model.