I Replaced My Vector Database With Boring Algorithms
I recently removed a vector database from a few parts of my software. Not because vector databases are bad. Not because embeddings stopped being useful. And definitely not because I suddenly decided that AI infrastructure is overhyped. The reason was much more boring: I was using the wrong tool for some of the jobs. One of those jobs was source-code retrieval for RAG. The original version worked the way most first versions work: split the repository into chunks, embed each chunk, store the embeddings, and retrieve the chunks that looked closest to the user’s query....