cleaned code
This commit is contained in:
@@ -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(
|
||||||
|
Reference in New Issue
Block a user