fix notebook

This commit is contained in:
Ray 2025-08-22 15:58:24 +08:00
parent 82b5dbbb8d
commit df637598e8

View file

@ -85,7 +85,7 @@
"id": "edTfrizMFK4c" "id": "edTfrizMFK4c"
}, },
"source": [ "source": [
"### Install dependencies" "#### Install dependencies"
] ]
}, },
{ {
@ -106,7 +106,7 @@
"id": "WVEWzPKGcG1M" "id": "WVEWzPKGcG1M"
}, },
"source": [ "source": [
"### Setup environment" "#### Setup environment"
] ]
}, },
{ {
@ -134,7 +134,7 @@
"id": "AR7PLeVbcG1N" "id": "AR7PLeVbcG1N"
}, },
"source": [ "source": [
"### Define utility functions" "#### Define utility functions"
] ]
}, },
{ {
@ -198,7 +198,7 @@
"id": "Mzd1VWjwMUJL" "id": "Mzd1VWjwMUJL"
}, },
"source": [ "source": [
"### Submit a document for PageIndex tree generation" "#### Submit a document for PageIndex tree generation"
] ]
}, },
{ {
@ -244,7 +244,7 @@
"id": "4-Hrh0azcG1N" "id": "4-Hrh0azcG1N"
}, },
"source": [ "source": [
"### Get the generated PageIndex tree structure" "#### Get the generated PageIndex tree structure"
] ]
}, },
{ {
@ -356,7 +356,7 @@
"cell_type": "markdown", "cell_type": "markdown",
"metadata": {}, "metadata": {},
"source": [ "source": [
"### Use LLM for tree search and identify nodes that might contain relevant context" "#### Use LLM for tree search and identify nodes that might contain relevant context"
] ]
}, },
{ {
@ -396,7 +396,7 @@
"cell_type": "markdown", "cell_type": "markdown",
"metadata": {}, "metadata": {},
"source": [ "source": [
"### Print retrieved nodes and reasoning process" "#### Print retrieved nodes and reasoning process"
] ]
}, },
{ {
@ -455,7 +455,7 @@
"cell_type": "markdown", "cell_type": "markdown",
"metadata": {}, "metadata": {},
"source": [ "source": [
"### Extract relevant context from retrieved nodes" "#### Extract relevant context from retrieved nodes"
] ]
}, },
{ {
@ -507,7 +507,7 @@
"cell_type": "markdown", "cell_type": "markdown",
"metadata": {}, "metadata": {},
"source": [ "source": [
"### Generate answer based on retrieved context" "#### Generate answer based on retrieved context"
] ]
}, },
{ {