diff --git a/cookbook/pageindex_RAG_simple.ipynb b/cookbook/pageindex_RAG_simple.ipynb index fed785c..c1fee4c 100644 --- a/cookbook/pageindex_RAG_simple.ipynb +++ b/cookbook/pageindex_RAG_simple.ipynb @@ -33,26 +33,26 @@ "id": "Ebvn5qfpcG1K" }, "source": [ - "# 🧠 Simple Vectorless RAG with PageIndex\n", - "\n", - "PageIndex generates a searchable tree structure of documents, enabling reasoning-based retrieval through tree search — without vectors.\n", - "\n", - "- **No Vectors Needed**: Uses document structure and LLM reasoning for retrieval.\n", - "- **No Chunking Needed**: Documents are organized into natural sections rather than artificial chunks.\n", - "- **Human-like Retrieval**: Simulates how human experts navigate and extract knowledge from complex documents. \n", - "- **Transparent Retrieval Process**: Retrieval based on reasoning — say goodbye to approximate semantic search ('vibe retrieval')." + "# 🧠 Simple Vectorless RAG with PageIndex" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ + "PageIndex generates a searchable tree structure of documents, enabling reasoning-based retrieval through tree search — without vectors.\n", + "\n", + "- **No Vectors Needed**: Uses document structure and LLM reasoning for retrieval.\n", + "- **No Chunking Needed**: Documents are organized into natural sections rather than artificial chunks.\n", + "- **Human-like Retrieval**: Simulates how human experts navigate and extract knowledge from complex documents. \n", + "- **Transparent Retrieval Process**: Retrieval based on reasoning — say goodbye to approximate semantic search (\"vibe retrieval\").\n", + "\n", "## 📝 About this Notebook\n", "\n", "This notebook demonstrates a simple example of **vectorless RAG** with PageIndex. You will learn:\n", - "- [x] How to build a PageIndex tree structure of a document.\n", - "- [x] How to perform reasoning-based retrieval with tree search.\n", - "- [x] How to generate the answer based on the retrieved context." + "- [x] Build a PageIndex tree structure of a document.\n", + "- [x] Perform reasoning-based retrieval with tree search.\n", + "- [x] Generate answers based on the retrieved context." ] }, { @@ -335,9 +335,14 @@ "id": "USoCLOiQcG1O" }, "source": [ - "## Step 2: Reasoning-Based Retrieval with Tree Search\n", - "\n", - "### Use LLM for tree search and decide which nodes might contain relevant context" + "## Step 2: Reasoning-Based Retrieval with Tree Search" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### Use LLM for tree search and identify nodes that might contain relevant context" ] }, { @@ -457,8 +462,13 @@ "id": "10wOZDG_cG1O" }, "source": [ - "## Step 3: Answer Generation\n", - "\n", + "## Step 3: Answer Generation" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ "### Extract relevant context from retrieved nodes" ] },