Title: AI Asbestos Assessment Report Builder: from Lab PDFs to an Editable Word & PDF Report

Context: An environmental consulting company inspects buildings for asbestos before renovation. On site, a field employee records every suspect material (location, condition, measured area, planned work) and takes samples. An accredited lab tests the samples and returns PDF reports. From these two sources the employee prepares an assessment report for the client in Word and PDF. It covers what was found, where it was found, what a professional should review, and an illustrative removal and replacement cost estimate in CAD.

Problem: The report is assembled by hand from several PDFs, and every step can produce an expensive mistake:

Solution: A web application that takes the employee through the whole report:

project and material register → lab PDF upload → AI extraction with evidence → employee review → automatic matching, review categories and costs → AI-drafted narrative → one report revision exported to Word and PDF, with an in-app preview.

Responsibilities are strictly split: AI reads and drafts, code decides, the employee approves.

фото головної сторінки зі списком проєктів.png

Overall logic:

  1. Project: project header with client, building, address, inspection and report dates, scope, planned work and limitations.
  2. Materials: the material register. Each zone (M01–M07) has a location, sample IDs, quantity and unit (m², linear m or “Unknown”), condition, planned disturbance, accessibility and a rate reference.
  3. Lab reports: drag-and-drop upload of lab PDFs. Each file is stored read-only under its SHA-256 hash. Claude extracts every sample layer together with its page and the quoted source line.
  4. Review → Lab results: the employee checks each row against the line highlighted on the PDF page, then accepts it, corrects it (a reason is required) or rejects it.
  5. Review → Matching: code matches results to zones by exact sample ID, assigns categories A–D, calculates the cost scenario and lists everything that needs attention.
  6. Report → Draft: Claude drafts the narrative from verified facts and code guardrails check it. The employee edits the text and completes the final review checklist.