HLAB field notes

Vector Search

Stories and analysis filed under Vector Search.

01 stories
Terminal screenshot of the Claude RAG CLI answering a question and citing local source files

Build and search a vector index

Build a small exact vector index that stores L2-normalized vectors, ranks results by cosine similarity, and rejects vectors from an incompatible model or dimension.