Inconsistent Extraction Results on Large, Mixed-Content PDFs (Typed + Handwritten) Any Best Pract...

I am encountering inconsistencies in extraction results using the custom extraction API for PDFs spanning more than 20 pages, which include both typed and handwritten content.

Issue Details:

  • PDF size: 20+ pages

  • Content: Mix of typed and handwritten (Patients Info.)

  • Symptoms:

    • Some pages extract fully and accurately

    • Others have missing words/chunks, or degraded accuracy (especially for handwriting)

    • Result variance occurs between repeated API runs on the same file


  • Has anyone faced similar extraction inconsistency across large, multi-page documents?

  • Any recommendations for optimal batch size, split strategy, or API configuration settings (e.g., ADE parallelism, BATCH_SIZE / MAX_WORKERS) to improve result stability?

  • Are there specific preprocessing steps or page/image conversion routines that enhance text and (especially) handwritten data extraction with Agentic Document Extraction?

Any best practices, code samples, or configuration insights would be greatly appreciated!

Thank you!