A developer's workstation with code visualizing vector embeddings

Build a From-Scratch IVF-Flat Vector Index with Exact Reconstruction and Greedy Search in Pure Python

Learn how to construct a minimal yet functional IVF-Flat index, implement greedy search, and verify exact reconstruction — all in pure Python, ready to showcase on your CV.

October 19, 2026 · 7 min · 1454 words · martinuke0
A diagram of a vector index

Building a Pure-Python IVF-PQ Vector Index with On-Disk Storage for RAG Pipelines

This guide walks through implementing an IVF‑PQ index in pure Python, storing data on disk and integrating it into a RAG pipeline for sub‑second similarity search.

September 19, 2026 · 2 min · 358 words · martinuke0
Cover image depicting a vector index architecture

Building a Pure-Python IVF-PQ Vector Index with On-Disk Inverted Files

A hands-on guide to implementing an IVF-PQ vector index in pure Python, with on-disk inverted files and product quantization for scalable similarity search.

September 18, 2026 · 6 min · 1178 words · martinuke0
Feedback