01Case study
Generating Unique Identifiers for Unstructured Data
Utilizing AI to identify preexisting unique identifiers and primary keys across established relational databases.
The problem
Contracts, invoices, scanned forms, images and emails tend to live in shared drives and inboxes, with nothing that ties them to the customer, order or asset they describe.
Older relational databases often keep their real keys only by convention: columns that behave like primary and foreign keys but were never declared. Without reliable identifiers on both sides, files cannot be joined to records, duplicates multiply and every migration starts with guesswork.
Our approach
-
Store every file as an object with its own ID
Raw files move to object storage in a flat structure instead of nested folders. Each object receives a system-generated unique identifier (UUID) that stays with it wherever it is used.
-
Attach metadata to each object
The identifier carries custom metadata with it: file size, timestamp, source system, tags and business categories, so every file can be found, governed and audited.
-
Index content by key and by meaning
A document database records every object under its _id primary key. Where people need to search by meaning rather than by key, a vector index is linked to the same identifier.
-
Extract content with AI and keep the link
Language, vision or LLM-based extraction pipelines read each file and pull out names, dates, amounts and references, always tied back to the file’s identifier.
-
Find the keys your databases already use
Profiling measures how unique, complete and overlapping every column is. AI-assisted analysis of names, formats and values ranks the likely primary keys and the undeclared relationships between tables, and our engineers validate each one before anything depends on it.
-
Link files to records
References extracted from files are matched to the validated keys, so each document points to the record it belongs to. Matches below an agreed confidence level go to a review queue instead of being linked automatically.
What you receive
- Identifier and metadata standard for unstructured content
- Object storage and indexing architecture
- Extraction pipeline design with confidence thresholds and a review queue
- Key discovery report: candidate primary and foreign keys, the evidence for each and whether it was confirmed
- Validated map linking files to relational records
How we measure success
- Share of files with a unique identifier and complete metadata
- Share of extracted references matched to a validated key
- Candidate keys confirmed or rejected by engineers
- Time to find every document related to a record
We report these measures throughout the engagement. Figures are published only with the client’s approval.
Platforms
- Amazon S3
- Azure Blob Storage
- Google Cloud Storage
- MongoDB
- Vector databases