Menu

1 / 3

Your LLM Wiki Doesn't Need a Vector Database. It Needs a Link Graph.

DEV Community: python·Vincent·8 days ago
#IeYEOeF7
#devtopython#devto#dev#wiki#sources
Long article (2908 words) — no AI summary yet.
Reading 0:00
15s threshold

Most LLM wiki setups I see pick up a vector database on day two.

I understand why. Karpathy's LLM Wiki pattern — raw sources stay untouched, the model maintains linked Markdown pages, answers come back with citations — sounds like a retrieval problem, and retrieval has meant embeddings for a few years now. So people chunk the wiki, embed the chunks, and ask an index to find "similar" passages.

This week's feed was doing something older, and it worked well enough that I wanted a version I could unit-test.

An Obsidian plugin for Karpathy's LLM Wiki was being passed around that uses lexical search plus PageRank over [[wiki-links]] instead of chunking notes into a vector database.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.