Skip to content

Reference Data Management & Harmonization

Enterprise reference data, harmonized.

RefData Hub solves reference data fragmentation across multi-system environments. Raw values — country codes, employment statuses, education levels, marital statuses — vary wildly between source databases, analytics pipelines, and third-party APIs. RefData Hub establishes a single source of truth:

  1. Ingest & profile raw values from upstream databases.
  2. Semantically match them to canonical dimensions using embedding vectors, with lexical fallback and optional LLM re-ranking.
  3. Route to reviewers who approve, reject, or refine suggestions in a purpose-built console.
  4. Publish canonical mappings to downstream warehouses, BI tools, and services.
  • Dashboard


    Metric tiles plus a semantic match playground for instant feedback on how the matcher is scoring your data.

    Open the console

  • Canonical Library


    The approved golden records — labels, descriptions, and custom metadata attributes — that raw source values map into.

    Curate values

  • Semantic Matching


    ONNX sentence-transformer embeddings ranked by cosine similarity, with a lexical fallback so the queue never goes empty.

    Review suggestions

  • Source Connections


    Register upstream databases, test credentials inline, and introspect live schemas to drive mapping workflows.

    Connect a source

  • Match Insights


    Coverage rates, top matched and unmatched values, and mapping health per source field.

    Measure coverage

  • Mapping History


    A full audit trail of every approved, corrected, or reverted mapping, with CSV and XLSX round-trip.

    Trace decisions

RefData Hub reviewer console: dashboard, canonical library, and review workflows
The reviewer console in motion — coverage metrics, the canonical library, and the approval queue.

Quick start

git clone https://github.com/rezer-bleede/refdata-hub.git
cd refdata-hub
docker compose up --build

That starts PostgreSQL with seeded reference data, the FastAPI backend, and the React reviewer UI:

Service URL
Reviewer UI http://localhost:5274
API http://localhost:8000
API docs (Swagger) http://localhost:8000/docs
PostgreSQL localhost:5432
Demo warehouse (targetdb) localhost:5433

To add a local LLM runtime for offline re-ranking:

docker compose --profile ollama up -d

Follow the Quickstart Guide for local (non-Docker) setup, first-run configuration, and seeding details.

How it fits together

graph LR A[Source Systems] -->|Raw data| B[RefData Hub] B --> C[Semantic Matcher] B --> D[Canonical Library] D -->|Approved mappings| E[Downstream Consumers] C -->|Ranked suggestions| B B -->|Review queue| F[Reviewer UI] F -->|Approvals| D

RefData Hub sits between source systems and downstream consumers, providing intelligent harmonization through semantic matching and human curation.

Where to go next

  • Get running


    Docker and local setup, first-run walkthrough, and seeding.

    Quickstart

  • Understand the system


    Component design, data flow, and the matching pipeline in depth.

    Architecture

  • Integrate with it


    48 REST endpoints across reference, source, config, and agent routers.

    API reference

Tech stack

  • Backend — FastAPI (Python) with SQLModel / PostgreSQL
  • Frontend — React 18 + Vite + Tailwind CSS
  • Matching — ONNX sentence-transformer embeddings (default BAAI/bge-small-en-v1.5) + lexical fallback + OpenAI/Ollama LLM
  • Testing — Pytest (backend) + Vitest (frontend)
  • Infrastructure — Docker Compose, GitHub Pages for this documentation

Use cases

  • Data warehousing — harmonize reference data across source systems
  • Data quality — detect and fix inconsistent reference values
  • Analytics — enforce consistent dimensions across reporting layers
  • Data migration — map legacy values onto new standards
  • Compliance — maintain an auditable reference data mapping trail

Support