Spaces:
Sleeping
Sleeping
Omar Solano
commited on
Commit
β’
0def817
1
Parent(s):
2e72503
Add manual setting of node/chunk ids
Browse files
notebooks/06-Evaluate_RAG.ipynb
CHANGED
@@ -241,6 +241,7 @@
|
|
241 |
" )\n",
|
242 |
" for row in rows\n",
|
243 |
"]\n",
|
|
|
244 |
"for idx, doc in enumerate(documents):\n",
|
245 |
" doc.id_ = f\"doc_{idx}\""
|
246 |
]
|
|
|
241 |
" )\n",
|
242 |
" for row in rows\n",
|
243 |
"]\n",
|
244 |
+
"# By default, the node/chunks ids are set to random uuids. To ensure same id's per run, we manually set them.\n",
|
245 |
"for idx, doc in enumerate(documents):\n",
|
246 |
" doc.id_ = f\"doc_{idx}\""
|
247 |
]
|
notebooks/07-RAG_Improve_Chunking.ipynb
CHANGED
The diff for this file is too large to render.
See raw diff
|
|