Ad

PageIndex: Vectorless RAG for Long Documents

PageIndex enables reasoning-based RAG for long documents, using a tree index and LLMs for context-aware retrieval, overcoming limitations of traditional vector databases.
Screenshot of VectifyAI/PageIndex homepage

PageIndex is a vectorless RAG system designed to address the limitations of traditional vector database-based approaches, particularly when dealing with long, complex documents. It builds a hierarchical tree index from documents and leverages LLMs to reason over this index, achieving more relevant and explainable retrieval. Unlike conventional methods relying on semantic similarity, PageIndex focuses on reasoning and logical structure to identify the most pertinent information. It's inspired by human experts who navigate documents through a table of contents, providing a fundamentally different approach to information retrieval.

PageIndex distinguishes itself through its vectorless and chunk-free approach, representing a significant departure from standard RAG systems. Its tree-based index allows for human-like navigation and retrieval, enhancing explainability and traceability. The framework achieves state-of-the-art accuracy on FinanceBench, demonstrating its superior performance over vector-based RAG. It offers flexible deployment options including a cloud platform, self-hosting, and API access.

  • Vectorless Retrieval: Retrieval is performed using reasoning and document structure, eliminating the need for vector embeddings and similarity searches.
  • No Chunking: Documents are processed as whole, preserving context and avoiding information loss between artificial chunks.
  • Human-like Navigation: PageIndex simulates human expert navigation through a tree structure, enabling more accurate and interpretable retrieval.
  • Explainable Results: Retrieval is traceable to specific document sections, providing insights into the reasoning process.
  • Scalability: Tree-based indexing and reasoning are designed to handle very large documents and extensive knowledge bases.
  • Flexibility: Implementations are available via a chat platform, self-hosted code, and API for integration into existing workflows.
  • Accuracy: Achieves high accuracy on datasets like FinanceBench, surpassing traditional vector-based approaches.

PageIndex is an active project with a growing community and regular updates. The project features a clear roadmap and a well-maintained GitHub repository with comprehensive documentation and example notebooks. Recent commits and ongoing development suggest active maintenance and a commitment to improvement. The availability of a chat platform and API further supports ease of use and integration.

PageIndex benefits professionals and researchers working with large, complex documents, such as legal filings, financial reports, and technical manuals. By providing a reasoning-based RAG system, it offers improved accuracy, explainability, and efficiency compared to traditional methods. Users can leverage the open-source code, cloud platform, or API to integrate PageIndex into their workflows, gaining valuable insights from extensive document collections without the limitations of vector databases.

Summarize:
Share:
Stars
33,803
Forks
2,962
Issues
133
Created
1 year ago
Commit
19 days ago
License
MIT
Archived
No
Updated 11 days ago

Similar Repositories