cleaned docs
Browse files- lightrag/lightrag.py +6 -8
lightrag/lightrag.py
CHANGED
@@ -467,16 +467,14 @@ class LightRAG:
|
|
467 |
await self._insert_done()
|
468 |
|
469 |
async def apipeline_enqueue_documents(self, string_or_strings: str | list[str]):
|
470 |
-
"""
|
471 |
-
|
|
|
472 |
1. Remove duplicate contents from the list
|
473 |
2. Generate document IDs and initial status
|
474 |
-
3. Filter out already
|
475 |
-
4.
|
476 |
-
|
477 |
-
Args:
|
478 |
-
string_or_strings: Single document string or list of document strings
|
479 |
-
"""
|
480 |
if isinstance(string_or_strings, str):
|
481 |
string_or_strings = [string_or_strings]
|
482 |
|
|
|
467 |
await self._insert_done()
|
468 |
|
469 |
async def apipeline_enqueue_documents(self, string_or_strings: str | list[str]):
|
470 |
+
"""
|
471 |
+
Pipeline for Processing Documents
|
472 |
+
|
473 |
1. Remove duplicate contents from the list
|
474 |
2. Generate document IDs and initial status
|
475 |
+
3. Filter out already processed documents
|
476 |
+
4. Enqueue document in status
|
477 |
+
"""
|
|
|
|
|
|
|
478 |
if isinstance(string_or_strings, str):
|
479 |
string_or_strings = [string_or_strings]
|
480 |
|