cleaned code

This commit is contained in:
Yannick Stephan
2025-02-09 11:36:33 +01:00
parent 4acf92dfd9
commit 572a75b141

View File

@@ -500,10 +500,7 @@ class LightRAG:
return return
# 4. Store original document # 4. Store original document
for doc_id, doc in new_docs.items(): await self.full_docs.upsert(new_docs)
await self.full_docs.upsert(
{doc_id: doc}
)
logger.info(f"Stored {len(new_docs)} new unique documents") logger.info(f"Stored {len(new_docs)} new unique documents")
async def apipeline_process_chunks( async def apipeline_process_chunks(