Skip to content
Fatima Front-End Developer

THEIA AI Mini-Hackathon

Making AI-assisted engineering document extraction more trustworthy.

Collaborative prototype

The team explored using AI to extract structured engineering information from complex, multilingual pipeline inspection PDFs. The resulting Python-based command-line prototype combined AI-assisted extraction, validation, structured JSON outputs and human-readable audit reports.

The aim was to make document review more efficient while keeping extracted information traceable and subject to engineering judgement. The work remained a hackathon prototype and was not deployed to production.

The Idea

From inspection documents to reviewable outputs Inspection PDFs pass through AI extraction and validation, producing structured JSON and a human-readable audit report. All document marks are fictional illustrations.
Simplified overview of the document extraction workflow.

Engineering inspection documents contain complex information that can be difficult to extract accurately. The team explored how AI could structure this information while preserving the evidence engineers need to review and verify it.

My Contribution

My contribution focused on iterative prompt engineering, evidence traceability and audit presentation. I developed and tested extraction prompts to improve how inspection findings were handled, particularly when information was missing, uncertain or potentially mismatched.

Traceability Tables

Connected extracted engineering information to its supporting documentary evidence.

Verbatim Source Excerpts

Preserved exact source text so engineers could verify extracted values and interpretations.

Confidence Indicators

Highlighted the lowest confidence score among critical extracted fields, making important uncertainties easier to identify.

Outcome and Learning

Traceability tables, verbatim source excerpts and confidence indicators from my submission were incorporated into the team's consolidated Python prototype.

I iteratively tested extraction prompts, including a revised V4 prompt evaluated against a pipeline inspection dossier. The documented comparison produced more conservative and traceable results, although some findings still required manual engineering verification.

The work reinforced the value of evidence-backed AI, explicit handling of uncertainty and prompt experimentation, with human oversight central to engineering applications.

Behind the Approach
  • Inspection context. Distinguishing in-line inspection (ILI) findings from non-destructive testing (NDT) findings.
  • Record matching. Avoiding unsupported associations between different inspection records.
  • Uncertainty. Handling missing or uncertain information without filling gaps with unsupported conclusions.
  • Evidence. Preserving original documentary excerpts so extracted information could be reviewed.