docs(backend XML): do not delete temp file in notebook (#817)
Signed-off-by: Cesar Berrospi Ramis <75900930+ceberam@users.noreply.github.com>
This commit is contained in:
parent
a112d7a035
commit
4d41db3f7a
@ -49,7 +49,6 @@
|
|||||||
" - [Fetch the data](#fetch-the-data) from USPTO and PubMed Central® sites, using Docling custom backends\n",
|
" - [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",
|
" - [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",
|
" - [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",
|
"\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/)."
|
"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/)."
|
||||||
]
|
]
|
||||||
@ -1032,26 +1031,6 @@
|
|||||||
" )\n",
|
" )\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": {
|
"metadata": {
|
||||||
|
Loading…
Reference in New Issue
Block a user