HKUDS / LightRAG

"LightRAG: Simple and Fast Retrieval-Augmented Generation"
https://arxiv.org/abs/2410.05779
MIT License
9.64k stars 1.2k forks source link

Any plan to support deleting or updating existing nodes? #155

Closed hejingkan2005 closed 3 weeks ago

hejingkan2005 commented 4 weeks ago

It's great to know LightRAG supports incremental updates now, which is not supported by GraphRAG. However, we do really need to support modifying, deleting nodes, do you have any plan to support this in upcoming future?

LarFii commented 4 weeks ago

We do have plans to support this feature, but we haven't yet decided on the approach. It could either be based on the original text or involve directly deleting nodes, which might be easier.

yilanhu commented 4 weeks ago

Thank you @LarFii for the reply! We're also interested in how to solve the issue: LLM can generate different nodes/relationships every time even for the same text.

LarFii commented 3 weeks ago

For LightRAG, the LLM responses for the same query are cached. Therefore, if the query is already in the cache, it will directly return the cached answer.

bode135 commented 2 weeks ago

GraphRAG is suported