cleaned code
This commit is contained in:
parent
4acf92dfd9
commit
572a75b141
1 changed files with 1 additions and 4 deletions
|
|
@ -500,10 +500,7 @@ class LightRAG:
|
|||
return
|
||||
|
||||
# 4. Store original document
|
||||
for doc_id, doc in new_docs.items():
|
||||
await self.full_docs.upsert(
|
||||
{doc_id: doc}
|
||||
)
|
||||
await self.full_docs.upsert(new_docs)
|
||||
logger.info(f"Stored {len(new_docs)} new unique documents")
|
||||
|
||||
async def apipeline_process_chunks(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue