---
title: "ai_extract"
description: "1 posts about ai_extract, summarised, each linking to the original."
---

# ai\_extract
> 1 posts about ai\_extract, summarised, each linking to the original.

## Articles

### [From spot fixes to measured gains: improving document extraction accuracy with ai\_extract and MLflow Prompt Registry](https://yomu.fyi/post/from-spot-fixes-to-measured-gains-improving-document-extraction-accura.md)
- Company: [Databricks](https://yomu.fyi/company/databricks.md)
- Author: Kristen Drexinger, Seshendranath Balla
- Published: Oct 27, 2026
- Type: Problem & solution

Document extraction across dozens of PDF layouts is unreliable when fields are tuned in isolation; fixing one field can cause hidden regressions and apparent improvements may stem from normal run-to-run variation. The project extracting roughly 40 structured fields from partner-submitted order documents used human reviewers who corrected and approved extracted values, providing ground truth for evaluation. Field-specific rules go in JSON schema descriptions, document-level reasoning in a global prompt, precision mode handles complex structures, and citations diagnose failures. Candidates are versioned in MLflow Prompt Registry with aliases and evaluated against fixed ground truth using three runs to filter noise before promotion, outputting a BETTER, WORSE, or INCONCLUSIVE verdict. This approach reduced total errors by 32% and revision errors by 64%, creating a repeatable and regression-safe extraction workflow now automated by Genie Code.
