Engineering Document Intelligence
Extracting, normalizing, matching, and reasoning over engineering data
Overview
XL Intelligence — a system for working with engineering data spread across PDF, DWG and Excel files: extracting it, normalizing it, matching it, and explaining the matches.
Worked on the extraction, normalization, matching and LLM-analysis pipeline over 10,000+ Excel documents.
Engineering data doesn't arrive as clean text. It lives in drawings (DWG), PDFs and spreadsheets, in inconsistent formats and units. XL Intelligence turns that data into structure, finds matching candidates, and uses an LLM to analyze and explain the results.
The Challenge
The obvious approach — embed every document, retrieve by similarity, let the LLM answer — fails on engineering data:
- Values must match within tolerances, not by semantic similarity.
- The same quantity appears in different formats and units across files.
- Answers need to be traceable to specific records, not generated prose.
This is a problem where traditional software logic is the right tool for most of the pipeline, and the LLM is the right tool for one specific part of it.
Architecture
Deterministic stages first; the LLM works on already-matched candidates.
My Contribution
Structured extraction
Getting usable values out of PDF, DWG and Excel files.
Normalization
Bringing extracted data into consistent formats and units.
Tolerance-based candidate matching
Deterministic, algorithmic matching over structured records.
LLM-based analysis and explanation
Using the model to reason about and explain matched candidates.
Technical Deep Dive
Where the LLM belongs
The key design decision is the division of labour. Matching engineering values is a precision problem with a correct answer, so it is solved with deterministic logic. Explaining why candidates match — in language a person can check — is where an LLM adds value.
| Conventional RAG | This system | |
|---|---|---|
| Unit of retrieval | Text chunks | Structured, normalized records |
| Matching | Embedding similarity | Deterministic, tolerance-based algorithms |
| Role of the LLM | Generates the answer from retrieved text | Analyzes and explains already-matched candidates |
| Traceability | Answer grounded in chunks | Explanation tied to specific matched records |
How this system differs from a conventional RAG pipeline.
Two kinds of reasoning, each used where it is strongest.
Evaluation / Results
Engineering Lessons
Not every AI system is RAG. Structured data with precise matching rules calls for algorithms first.
Use the LLM where language matters. Explanation and analysis, not arithmetic.
Normalization is most of the work. Matching is only as good as the structure underneath it.