LightRAG/lightrag
Rick Battle 83f8a5139c
Only update storage if there was something to insert
Before, the `finally` block would always call `_insert_done()`, which writes out the `vdb_*` and `kv_store_*` files ... even if there was nothing to insert (because all docs had already been inserted).  This was causing the speed of skippable inserts to become very slow as the graph grew.
2024-11-12 09:30:21 -07:00
..
kg fix pre commit 2024-11-12 13:32:40 +08:00
__init__.py Add delete method 2024-11-11 17:48:40 +08:00
base.py fix pre commit 2024-11-12 13:32:40 +08:00
lightrag.py Only update storage if there was something to insert 2024-11-12 09:30:21 -07:00
llm.py fix event loop conflict 2024-11-06 11:18:14 -05:00
operate.py fix pre commit 2024-11-12 13:32:40 +08:00
prompt.py fix bug 2024-11-11 15:19:42 +08:00
storage.py update 2024-11-11 17:54:22 +08:00
utils.py fix event loop conflict 2024-11-06 11:18:14 -05:00