PolygonLogix AI Parser: How We Built It

PolygonLogix now reads customer purchase orders with a model we trained ourselves, on our own hardware, from real fabrication paperwork. On purchase orders it was never allowed to learn from, it gets 96% of line items right, and 89% on customers it had never seen at all. The general-purpose AI it replaced got 41% and 28%.

This page explains what we built, how we measured it, and what it means for the documents you drop into PolygonLogix.

Why We Built Our Own

Every metal fabrication quote starts the same way: a customer sends a purchase order, and someone types its lines into the quoting system. Part numbers, quantities, material, grade, thickness. PolygonLogix has automated that step with AI since its first release, and it was the feature customers mentioned most, in both directions. When it worked it saved an hour; when it missed a line, it cost trust.

We had been using a large general-purpose model through an API. It was good at language and poor at our documents, for reasons we’ll get to. It also meant every purchase order a shop dropped into PolygonLogix went to a third party, and every parse cost us money. We wanted a parser that was built for fabrication paperwork specifically, that we could measure, that we could improve, and that kept customer documents on hardware we control. So we built one.

What Went Wrong with the Old Way

The old parser read the PDF’s text layer, flattened it into one long string, and asked a general-purpose model to find the lines. That design has two problems, and both show up on exactly the documents a shop cares about.

First, purchase orders are tables. When a PDF’s text is pulled out as a string, the columns fall apart: quantities drift away from their part numbers, two-line descriptions merge, and the model has to guess which number belonged to which row. Second, many purchase orders arrive as scans, faxes or photos with no text layer at all. The old parser got nothing from those and gave up.

The general-purpose model also had no idea what our shop’s vocabulary meant. It did not know that a customer who writes “3/16 A36” wants 0.1875-inch steel in a specific grade, or that 16 gauge means something different for aluminum than for steel. We patched those after the fact with lookup tables, but a model that does not understand the domain keeps finding new ways to be wrong.

When we finally measured it properly, on purchase orders from customers it had not been tuned around, it got 41% of line items right and returned nothing at all on most scans.

What We Built

The new parser is a vision-language model: it looks at the page the way a person does, as an image with text on it, so the table structure, the handwritten notes and the scanned pages are all available to it. It is a 4-billion-parameter open-weight model built for document extraction, which we fine-tuned on our own data until it knew fabrication paperwork the way an estimator does.

The data is the part nobody else has: real fabrication paperwork, checked against how each job was actually quoted. So the model learned not just to read a PO but to read it the way an estimator would quote it: the right grade for a thin “A36” sheet, the right thickness for a gauge, which column is the part number when a customer prints two.

Training ran on our own GPUs. A full training run takes about half a day, and we have run more than a dozen of them, each one a controlled experiment against the last.

How We Measured It

Any accuracy number is only as good as the test behind it, so we built the test first. We set aside purchase orders the model was never allowed to learn from: every PO from ten customers it had never seen, plus everything from the most recent months. Then we scored the old parser and the new one on exactly the same documents, line by line, with the same rules: a line counts only if the part number and quantity are both right.

That is a harder test than most published AI numbers. It measures what happens when a new customer’s purchase order arrives, which is the case that matters.

The Results

On 141 purchase orders from customers and months the model never trained on, scored identically for both parsers:

MeasurePrevious parser (GPT-5.4)PolygonLogix model
Line items with part number and quantity right41%96%
Same, on customers never seen before28%89%
Same, on scanned purchase orders61%96%
Purchase orders with every line right18%50%
Agreement with the estimator’s final quote80%91%
Time per purchase orderabout 17 sabout 4 s
Per-document API costyesnone

The previous parser’s numbers were measured through the exact code that shipped, not a reconstruction, so the comparison is between what customers had and what they have now.

Two honest notes on those numbers. “Every line right” at 50% means an estimator still glances at each parsed order; the difference is correcting one line in twenty instead of one in two. And the unseen-customer figure is the one we watch most, because it is the only one that predicts how the parser will do on the next shop that signs up.

Mill Certs Too

The same model reads material test reports. Certs are a harder document than purchase orders: nearly all of them arrive as scans, every mill lays them out differently, and the one thing a shop needs from them, the heat or lot number, is often not labeled as such.

We trained the model on certs alongside purchase orders and tested it on 162 certs from mills it had not seen. It identified the heat and lot numbers exactly on 83% of them, against 75% for the previous GPT-based approach, and it never came back empty where the old approach gave up on one cert in eight. It does it in one request taking under three seconds, where the old approach needed four or five API calls and about fifteen seconds.

One model, one file, both jobs. Teaching it certs also made it better at purchase orders, because all those extra scanned pages taught it to read.

Where Your Documents Go

When PolygonLogix parses a purchase order on the PolygonLogix server, the page images go from your PC to our server, the model reads them, and the parsed lines come back. The documents are processed and discarded; they are not stored and they are not used for training. Nothing is sent to any third-party AI provider. The same commitments are written into our privacy policy.

That is a different answer from the one we could give before, when every parse went to an outside API, and it matters to shops with customers in regulated industries. The setting is yours: in the app you choose whether parsing runs on the PolygonLogix server, falls back to OpenAI when our server is unreachable, or (coming soon) runs entirely on your own machine with nothing leaving the building.

How It Keeps Getting Better

The model in production today is the third version in three weeks. The first scored 92% on our test; a second round of training with cleaner labels and a fix for a habit of giving short answers on long documents took it to 96%. The third added the mill certs, which made it a better reader of scanned purchase orders as well.

That pace is possible because the whole pipeline is automated: labeling, training, scoring against the fixed test set, and packaging. A standing process trains a new candidate most nights and scores it against the current production model on every measure above. A candidate is only offered for release if it is better on all of them and worse on none; the swap itself takes a minute and can be rolled back in another.

What’s Next

  • Local mode. The same model, running on your own PC’s graphics card, with no document ever leaving your building. The model file is about 4 GB; an 8 GB GPU parses a purchase order in about four seconds, and smaller cards work in the background. It is built and in testing.
  • Cert parsing in the app. The model already reads certs on the server; the next release points the cert-pairing feature at it.

The features shops asked us for at FABTECH (welding and powder-coating pricing, the Part Library, part fill and new machine posts) shipped alongside the parser in 1.6.4. What we heard in Las Vegas.

Technical Notes

For readers who want the specifics.

  • Base model: NuExtract3 from NuMind, a 4-billion-parameter open-weight vision-language model built for document extraction, released under the Apache 2.0 license. We fine-tuned it with LoRA adapters; the vision encoder was left frozen.
  • Inputs: page images at 150 dpi plus the PDF’s text layer when it has one, three pages per request; spreadsheets in row batches. Scans go in as images alone.
  • Test set: 141 purchase orders (105 from ten customers excluded from training, 36 from the most recent months) and 162 certs from mills excluded from training. The test set never changes between candidates, so every number is comparable to the last.
  • Serving: a quantized build of the model (about 4 GB) on a single workstation GPU, eight requests in parallel, median 4.3 seconds per purchase order, sustained throughput of about eight purchase orders a minute at full load.
  • Hardware: AMD workstation GPUs for both training (one card, about 12 hours per run) and serving. Total training compute to date is on the order of a few hundred GPU-hours.
  • What changed between versions: cleaner labeling conventions, a longer context window so long purchase orders are not truncated, two training passes instead of one, and a change to how training weights long answers, which removed the model’s tendency to answer a 38-line order with a single line.

Run One of Your Own Purchase Orders Through It

Start a Lite trial in your browser (7 days, no card needed, 10 AI parses included), or book a demo and we’ll parse your PO with you on a screen share.