All projects

DFM assistant · Yazaki Morocco

Loom

From engineering drawing to compliance decision. Loom finds the applicable manufacturing rule, cites its page and checks the supplied dimensions.

  • RAG
  • FastAPI
  • React
  • PostgreSQL
  • Grafana
structured DFM rules
110
top-1 retrieval accuracy
89%
out-of-scope questions declined
15 / 15

The problem to solve

When an engineer reviews a drawing, the same geometry can trigger several rules scattered across a 123-page guide. I separated rule retrieval from compliance checks so each decision can be verified against the source and the supplied measurements.

Technical approach

Technical guide extraction

I structured the design-for-manufacturing (DFM) rules and preserved page references so engineers can check each source.

Hybrid retrieval

BM25 retrieves engineering terms while BGE-M3 and FAISS match passages by meaning. The assistant cites the rule and page in its answers.

Compliance checks

A deterministic rules engine checks the supplied dimensions. Yazaki engineers tested the deployed app, which I monitored with Grafana.

Next projectJobGPS