cleaned code

This commit is contained in:
Yannick Stephan
2025-02-19 22:07:25 +01:00
parent 05914213e2
commit 8958046b74
3 changed files with 12 additions and 15 deletions

View File

@@ -687,7 +687,7 @@ class LightRAG:
return
update_storage = True
logger.info(f"[New Docs] inserting {len(new_docs)} docs")
logger.info(f"Inserting {len(new_docs)} docs")
inserting_chunks: dict[str, Any] = {}
for chunk_text in text_chunks:
@@ -914,6 +914,7 @@ class LightRAG:
if storage_inst is not None
]
await asyncio.gather(*tasks)
logger.info("All Insert done")
def insert_custom_kg(self, custom_kg: dict[str, Any]) -> None:
loop = always_get_an_event_loop()