.. _auto_document_data_parser: *PARSE DOCUMENT DATA* ===================== Extracts structured data from a document (PDF in v1). Returns three outputs: Images (embedded pictures or rendered page images), Dataset (the most informative tabular content in the document), and KeyValue (a flat map of high-signal top-level attributes). Uses the admin-configured default LLM when one is available; otherwise falls back to native heuristic extraction so the worker still runs in offline / LLM-less environments. When to use ----------- Tagged: ``document``, ``extraction``, ``llm``, ``pdf``, ``structured_data``, ``vision``, ``parser``. Inputs ------ .. list-table:: :header-rows: 1 :widths: 20 20 20 20 20 20 * - Label - ID - Type - Default - Required - Description * - Document - document - file - — - ✓ - Source document to parse — PDF only in v1. Provide either an uploaded file or an attachment in the vault. * - Extraction Focus - extraction_focus - text - — - - Optional free-text hint that biases the LLM toward a specific kind of content (e.g. 'vehicle specifications', 'test report summary', 'contract clauses'). Ignored by the native fallback. * - Image Extraction - image_extraction - select - embedded - - Controls how the Images output is produced. embedded extracts pictures embedded inside the PDF, page_renders rasterises each page as a PNG, none skips the image stage. * - Max Pages - max_pages - scalar - 50 - - Page cap for both text extraction and image rendering. Guards against runaway LLM token usage on very large documents. * - Execution Mode - mode - select - auto - - auto falls back to native extraction when no default LLM is configured. llm fails fast if no LLM is available. native skips the LLM call entirely. * - LLM Model Override - llm_model_override - text - — - - Power-user override for the LLM model identifier. Leave empty to use the admin-configured default model for the resolved provider. * - Physical Test - physicaltest - remote_lookup - — - - Optional — when a physical test is selected, the extracted KeyValue entries are written back as Responses on that test, the Dataset is saved as a single JSON Response, and the extracted images are attached to the test. * - Dataset Write-Back Mode - dataset_writeback_mode - list - per_table - - Controls how dataset tables extracted from the document are written back to the selected Physical Test. Response names use the human-readable table title from the PDF (e.g. 'Fuel Tank Capacity', 'Vehicle Tire Information'), without a source-PDF prefix, so the same response can be compared across tests. Single-row tables are always saved as keyvalue regardless of mode. per_table (default) saves each multi-row table as a dataset Response. per_row splits multi-row tables into one keyvalue Response per row, named '
Auto-generated from platform schema. Worker id: document_data_parser. Schema hash: 3f96ab5efbb7. Hand-curated docs in workerexamples/ override this page when present.