We delivered
Developed a custom LLM/ML hybrid system to reliably ingest anything.
A 6-stage semantic, syntactic, and instance-based schema matching engine paired with an interactive heatmap review UI and config-driven Airflow ingestion DAGs.
The situation
Because each customer had different databases with different schemas, onboarding each new customer required highly manual inspection to ensure 100% mapping accuracy. Analysts were required to manually inspect raw source tables (.sas7bdat, CSV, and Excel) and pair every incoming column against a wide canonical enterprise data model in spreadsheets.
Purely lexical matching failed on cryptic domain abbreviations and LLM matching was not 100% reliable.
What we did together
We built a standalone Python schema-matching engine combining a 7-mapper blend (BGE semantic embeddings, Monge-Elkan abbreviation-expanded path similarity, pooled cross-dataset cluster centroids, cardinality, and column value overlap) with cluster fallback, soft-auction capacity penalties, exact-match short-circuiting, and targeted LLM disambiguation.
Alongside the matcher, we built an interactive 2D heatmap grading interface grounded in Fitts's Law for rapid human-in-the-loop review, and a config-driven Airflow and PostgreSQL ingestion service that compiles confirmed YAML field mappings directly into executable ETL DAGs.
All of this allowed for a system that learns over time and evaluates mapped accuracy (with 100% accuracy for 95%+ of cases) and identifies any non-perfect matches with associated confidence scoring.
Outcome
New external datasets with zero prior confirmed rows can be scored against pooled historical deliveries, reviewed in a high-density visual workflow, and ingested into the canonical PostgreSQL schema through reproducible Airflow pipelines, substantially reducing manual confirmation requirements.