Skip to main content
Use the Playground to upload a document, see what the Parse API returns, and copy a ready-to-use API snippet before you write any code.

Parse a Document in the Playground

To parse a document with DPT-3:
  1. Go to the Playground. The home page opens on the Playground view.
  2. Click the Parse tab at the top of the upload card. Playground home page with the Parse tab highlighted at the top of the upload card
  3. Drag and drop your file into the upload area, or click Choose files. Upload card with the Choose files area highlighted
  4. In the model drop-down menu at the bottom left of the upload card, confirm the model: DPT-3 Pro (the default) or DPT-3 Verity. DPT-3 Verity is a preview model with lower latency and per-word confidence scores. For the full comparison, see Parsing Models. Upload card with the model drop-down open and DPT-3 Pro highlighted
  5. Click Start. The Playground processes the file and opens the project view with the parse results. Upload card with a staged file and the Start button highlighted

Customize the Parse Output with Config

To change how DPT-3 parses your files, open the Config drop-down menu on the Parse tab and update the settings. These controls set the same values as the API’s options field. After you adjust the options, click Apply to all files to reparse with the new settings.
  • Captioning options: Choose which block types are included in the Markdown (Text, Table, Figure, Marginalia, Attestation, Logo, Scan code, and Card). All are on by default. Clearing one drops that block type’s content from the Markdown, but the block still appears in the JSON structure and grounding.
  • Table output format: Choose HTML (default) or Markdown for how tables appear in the Markdown output. This control appears only while Table captioning is on.
  • Atomic grounding: Include the fine-grained grounding detail (the atomic_grounding array) with each block: per-line with DPT-3 Pro, per-word with DPT-3 Verity. On by default.
  • Pages: Enter the pages to parse (for example, 1-3) to process only part of the document. The Playground and the API’s options.pages field both use 1-based page numbers.
DPT-3 Pro Config drop-down menu showing the parse options

Review the Results

The parse results open in the Parse tab of the project view. Switch between the Markdown view and the JSON view, which shows the full response. Click Display in the toolbar to change how the results render. For a complete reference on what each response field contains, see Parse API Response. Project view with the parse results open on the Parse tab and the Display button highlighted in the toolbar

Review Word Confidence Scores (DPT-3 Verity)

When you parse with DPT-3 Verity, every word in text, tables, and marginalia carries a confidence score.

Spot Low-Confidence Words

The parse result highlights every word whose score falls below the confidence threshold. Hover over a highlighted word to see its score. Each block also shows its lowest word score (for example, min 0.683). Click a highlighted word in the results to open a Low confidence close-up: a zoomed crop of the page around the word, its score, and the text it was parsed as. Playground results for a DPT-3 Verity parse, with low-confidence words highlighted in red, a hover tooltip reading min conf 0.683, and per-block minimum confidence labels

Confidence Settings in the Display Menu

Open the Display menu on the Parse tab to turn the highlights on or off, set the confidence threshold (default 95%), or show only the blocks that contain low-confidence words. Display menu with the Confidence section: the Highlight low confidence toggle on, the Threshold set to 95%, and Show low-confidence blocks only off

Get a Ready-to-Use Code Snippet

When the parse results match what you need, the Playground generates a Python script that reproduces the call, so you can parse the same document, or any other, from code. The Playground provides two versions: one for the ade-python library and one for calling the API directly. To get the script:
  1. Click Get Code in the project header. The View Code pop-up opens. Project view with the Get Code button highlighted in the project header
  2. Click the Library or API tab to see the code for each method.
  3. Click the Download or Copy buttons to get the code. View Code pop-up with the Library and API tabs highlighted, showing the Python library script for Parse