1. Pick an approach
Default to System One for a fixed label set. Use chat completions when the label set is not fixed. Use them when you need an explanation with the label.
2. Classify a page image
Add any yes/no checks the pipeline needs. Send the questions with animage_url part. The System One quickstart has the same call in Python, Node.js, cURL, and the CLI. It shows the shape of the reply.
3. Classify a PDF
Pass the PDF as afile part. The route rasterises the first 8 pages at 96 DPI. That is one call, with no OCR pass before it. Keep detail at low. Document kind does not need small print.
- Act on the confidence
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.