Thai Procurement Intelligence
Bilingual procurement intelligence platform using a governed 250-record official DGA/CGD snapshot.

- Project type
- Public Data / Procurement Analytics
- Core stack
- Python, FastAPI, Next.js
- Delivery
- Demo available
Case Study
The problem, implementation decisions, measured evidence, and next improvements.
Overview
A bilingual public-data analytics workflow spanning official-source ingestion, SHA-256 verification, provenance, validation, evidence views, quality reporting, and source-linked assistant retrieval.
Problem
Procurement analysis needs source provenance, quality checks, bilingual evidence, and clear dataset-state communication before records can support credible comparisons.
Solution
Built provenance-aware ingestion and validation around an official DGA/CGD procurement snapshot, with bilingual evidence views, checksum verification, quality reports, security controls, and CI validation.
Technical Decisions
- Source identifiers and dataset mode remain visible rather than being collapsed into generic records.
- The application preserves a deterministic fallback path when official data is unavailable.
Outcome
The verified production deployment serves 250 official records with record-level provenance, source links, quality evidence, and bounded-snapshot limitations visible in the UI.
What It Proves
Public-data ingestion, provenance design, bilingual UX, quality controls, security checks, and CI-safe analytics delivery.
Key Features
- Production uses a governed 250-record official DGA/CGD snapshot with SHA-256 verification.
- Record detail pages retain source URL, snapshot ID, retrieval date, license, and quality evidence.
- Hybrid retrieval and assistant answers cite source-linked procurement records while keeping limitations visible.
Architecture
- 01
Official DGA/CGD snapshot
- 02
Provenance-aware ingestion
- 03
Checksum verification
- 04
Analytics API
- 05
Bilingual evidence UI
- 06
Quality reports
- 07
CI controls
Tech Stack
- Python
- FastAPI
- Next.js
- Data validation
- Evidence UI
- CI
- Public data analytics
Verification
- Production verified on 24 Jun 2026 at https://thai-procurement-intelligence.vercel.app
- 250 official records, 250 unique source IDs, checksum 413f70c0ef17c17233b99aa42a7f1e25284644948c37bd109c21e9cc0678618b
- Keyword search for ซื้อ returned 142 records; semantic search returned 2 records; assistant returned 3 cited records
- Quality status reports 250 valid records, 0 rejected records, and 0 duplicate records for the bounded snapshot
Security & Privacy
- Only public procurement data belongs in the official dataset path.
- Secrets and environment-specific configuration remain outside the repository.
Limitations
- Coverage is bounded to the approved 250-record snapshot, not complete national procurement coverage.
- The site is not real-time and does not claim evidence of corruption, misconduct, or production-scale accuracy.
- Generated summaries and assistant answers require review and are distinct from official source facts.
Future Improvements
- Add approved incremental official snapshots.
- Expand provenance and quality monitoring across source revisions.
Claims limited to the public repository, official-source metadata, reports, and verified public deployment as of 24 Jun 2026.