Skip to content

Commit

Permalink
docs(backend XML): do not delete temp file in notebook
Browse files Browse the repository at this point in the history
Signed-off-by: Cesar Berrospi Ramis <[email protected]>
  • Loading branch information
ceberam committed Jan 27, 2025
1 parent 5332755 commit 740872c
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions docs/examples/backend_xml_rag.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
" - [Fetch the data](#fetch-the-data) from USPTO and PubMed Central® sites, using Docling custom backends\n",
" - [Parse, chunk, and index](#parse-chunk-and-index) the documents in a vector database\n",
" - [Perform RAG](#question-answering-with-rag) using [LlamaIndex Docling extension](../../integrations/llamaindex/)\n",
" - [Delete the temporary files](#delete-temporary-files) used in notebook\n",
"\n",
"For more details on document chunking with Docling, refer to the [Chunking](../../concepts/chunking/) documentation. For RAG with Docling and LlamaIndex, also check the example [RAG with LlamaIndex](../rag_llamaindex/)."
]
Expand Down Expand Up @@ -1032,26 +1031,6 @@
" )\n",
")"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Delete temporary files\n",
"\n",
"The XML files used in this notebook, as well as the Milvus local database will be removed."
]
},
{
"cell_type": "code",
"execution_count": 18,
"metadata": {},
"outputs": [],
"source": [
"import shutil\n",
"\n",
"shutil.rmtree(TEMP_DIR)"
]
}
],
"metadata": {
Expand Down

0 comments on commit 740872c

Please sign in to comment.