Ray (@rejojer) header
Ray (@rejojer) profile picture

Co-founder @PageIndexAI. AI × DB. Make databases great again!

Oxford
Joined July 2010
Search like a human does - by semantically traversing a hierarchy with jev
Inspired by @EGafni’s Twitter thread on combining Jev with PageIndex. We show how to build long-document search with @typesafeai Jev + PageIndex. No vector database. No embeddings. Open source: github.com/VectifyAI/jev-doc… 🧵👇
4
3
3
37
4,581
Ray retweeted
Jev can’t do any of these: 1. Image inputs 2. String, integer, and number types 3. Dependency execution in a single call TypeLLM can. Try it: github.com/TypeLLM/TypeLLM
45
264
17
2,837
198,061
Excited to see PageIndex featured in next week's Frontier of AI Search. Thanks @softwaredoug for organizing and bringing together all these great developments across AI search and retrieval.
2
7
1,081
As a DB guy, this means a lot. The analogy holds: routing summaries at internal nodes, content at the leaves, bounded fan-out for shallow, accurate routing. We swap key comparison for LLM reasoning, so retrieval becomes inference, not lookup. Same skeleton. New brain.
PageIndex seems to be able to become an industry standard index method in the AI era, which is similar position as B-tree earned in the RDBMS era. Standing on the shoulders of giants is the right way to build something new.
1
1
2
181
PageIndex crossed 30K stars on GitHub ⭐, now at 31.9K and still climbing fast. With our recently launched PageIndex File System, we are building the long-context AI knowledge infra for vectorless, reasoning-based retrieval at scale. Thanks to everyone who starred, tried, shared feedback, and built with PageIndex. More to come.
1
1
11
618
We solved the biggest problem with @karpathy’s LLM Wiki. He pointed out the hard part: long PDFs and books don’t work well unless you process them carefully in stages. That’s exactly what OpenKB fixes. With PageIndex, OpenKB scales to long PDFs by turning them into a hierarchical tree for better wiki generation.
4
5
2
30
2,123
You need reasoning for retrieval. “You don’t need a trillion tokens at once, you need the right million.”
3 takeaways from @JeffDean at @nvidia GTC (March 2026) on long context & retrieval: 1. “Models are very good when you put the right information in the context window” → Retrieval isn’t optional; it’s the bottleneck. 2. “The attention window is never big enough” → Scaling context ≠ solving retrieval. 3. “The right approach is staged retrieval” → Hierarchical retrieval is the future. How do we design a hierarchical retrieval mechanism? 👇
2
3
186
Thrilled to see PageIndex covered by VentureBeat!
2
209
Researchers built a new RAG approach that: - does not need a vector DB. - does not embed data. - involves no chunking. - performs no similarity search. And it hit 98.7% accuracy on a financial benchmark (SOTA). Here's the core problem with RAG that this new approach solves: Traditional RAG chunks documents, embeds them into vectors, and retrieves based on semantic similarity. But similarity ≠ relevance. When you ask "What were the debt trends in 2023?", a vector search returns chunks that look similar. But the actual answer might be buried in some Appendix, referenced on some page, in a section that shares zero semantic overlap with your query. Traditional RAG would likely never find it. PageIndex (open-source) solves this. Instead of chunking and embedding, PageIndex builds a hierarchical tree structure from your documents, like an intelligent table of contents. Then it uses reasoning to traverse that tree. For instance, the model doesn't ask: "What text looks similar to this query?" Instead, it asks: "Based on this document's structure, where would a human expert look for this answer?" That's a fundamentally different approach with: - No arbitrary chunking that breaks context. - No vector DB infrastructure to maintain. - Traceable retrieval to see exactly why it chose a specific section. - The ability to see in-document references ("see Table 5.3") the way a human would. But here's the deeper issue that it solves. Vector search treats every query as independent. But documents have structure and logic, like sections that reference other sections and context that builds across pages. PageIndex respects that structure instead of flattening it into embeddings. Do note that this approach may not make sense in every use case since traditional vector search is still fast, simple, and works well for many applications. But for professional documents that require domain expertise and multi-step reasoning, this tree-based, reasoning-first approach shines. For instance, PageIndex achieved 98.7% accuracy on FinanceBench, significantly outperforming traditional vector-based RAG systems on complex financial document analysis. Everything is fully open-source, so you can see the full implementation in GitHub and try it yourself. I have shared the GitHub repo in the replies!
161
526
63
4,405
974,417
Vectorless RAG - yet with higher accuracy.
🚀 A simple Python tutorial of Vectorless RAG with PageIndex: docs.pageindex.ai/cookbook/v…
1
2
208
Tired of the poor accuracy of vector-based RAG on long documents? Time to say goodbye to "Vibe Retrieval"👋 🚀 We are excited to announce PageIndex — the next-generation, reasoning-based RAG without any Vector DBs. #RAG #LLM #retrieval
3
7
553
🚀 Frustrated with current PDF-to-Markdown tools that always produce the wrong heading levels? We introduce PageIndex OCR—the first long-context OCR model designed to preserve the global structure of your documents. pageindex.ai/blog/ocr
1
4
9
570
❌ No vectors, no chunking 🧠 Reasoning-based RAG Most RAG retrieves by similarity, but similarity ≠ relevance. Relevance needs reasoning 💡 📄 PageIndex turns PDFs into search trees your AI agents can reason through — like a smart table of contents. github.com/VectifyAI/PageInd…
4
1
8
884
Introducing Mafin2, your next-gen AI financial copilot from Vectify AI. Learn more on our website: vectify.ai/. #AI #Fintech #FinancialAssistant #Mafin2
1
1
4
2,788
Stay tuned!
How to improve OpenAI embeddings in your RAG pipeline? Introducing the Fine-Tuning Augmented Embedding (FAE)! 🚀 A method that can ''fine-tune'' the black box @OpenAI's text embedding model on your data and boost retrieval performance. See vectify.ai/blog/HowToImprove… for details.
5
131
How to choose the right chunk size when summarizing large documents with LLM? We've developed a method to automatically determine the optimal chunk size for large document summarization, improving the quality of the summary. See our blog vectify.ai/blog/LargeDocumen… for details.
1
3
1
5
1,852