TGViewer
Data eXplore : Data Science, ML, Big Data, LLMs and AI Security Data eXplore : Data Science, ML, Big Data, LLMs and AI Security @dataxplore · 579 subscribers
Post #2111 195
Building a Vectorless RAG System

(Without Embeddings & a Vector Database)

The construction of a Vectorless, Reasoning-Based RAG system using hierarchical page indexing.

➡️ What's inside?
The document is transformed into a tree, and the LLM traverses this tree to find an answer. Without embeddings. Without searching for similarity.

This is very similar to how we search for information in real life. When we need to find something in a textbook, we don't read all the pages in a row. First, we open the table of contents, find the needed chapter, then browse the sections and go directly to the required one.

PageIndex works similarly. You pass it a document, and it builds a tree where each branch is a section, and each leaf is the text itself. When you ask a question, the LLM traverses the tree level by level to find the correct answer.


Full code: GitHub

••••••••••••••••••••••••••••••••••••••
🤖 Data & ML | @DataXplore
More from @dataxplore
  1. Sep 18, 2026Am going to announce something big (for me, it's really big) on October 11, 2026.
  2. Sep 14, 2026Post #2188
  3. Aug 31, 2026I joined a Russian community on Telegram. They share some Russian startup and technology u…
  4. Aug 22, 2026Post #2185
  5. Aug 21, 2026Deep systemic analysis of AI constraints from context to internal weight editing. 📂 PDF #…
  6. Aug 17, 2026Adaptive Gradient Thresholding Why Fixed Gradient Clipping Kills Deep RecSys When Feedback…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →