P&ID Engineering-Document Intelligence
How do you ask a technical drawing a precise question and still know which revision, entity, and source region support the answer?
Revision-aware by design.
A small, testable service models synthetic P&ID sheets as connected engineering entities rather than a flat text corpus.
See what changed. Keep the source.
These two authored drawings are entirely synthetic. The comparison changes one instrument tag while preserving the example process path.
Typed entities
Identify equipment, lines, valves, instruments, and links while retaining document and revision metadata.
Engineering graph
Run transparent checks over connections and flag dangling endpoints rather than smoothing them over.
Revision + evidence
Find added and removed entities, then answer narrow questions with traceable page-region evidence.
Test the plumbing around extraction.
The current scorecard validates deterministic behavior and evidence structure on a deliberately small synthetic set.
Removals count too.
The revision comparator checks both directions, so a deleted entity is not lost by considering only the newer drawing.
Flag broken connections.
A dangling endpoint is exposed as a validation issue for inspection rather than being silently accepted as a valid path.
Keep answers grounded.
Extracted items retain source evidence. Narrow questions can cite the underlying entity and uncertain questions can abstain.
Structure first. Recognition later.
The current prototype uses a deterministic source-layer adapter over authored SVG metadata so the graph, comparison, rules, and API can be tested without a commercial OCR service or model key.
- Synthetic sheets only. No client, employer, or confidential plant drawings are included.
- Not arbitrary OCR. This is not a claim of full symbol recognition on arbitrary scanned P&IDs.
- Not design approval. Rules are illustrative; production use needs project standards, calibrated extraction, governance, and human review.
Core model
Typed extraction records connected into an engineering graph.
Revision logic
Set-based changes, including entity additions and deletions, with reproducible regression tests.
Extension point
An OCR or multimodal adapter can be added later without replacing graph validation or evidence-aware API contracts.