gusye1234 / nano-graphrag

A simple, easy-to-hack GraphRAG implementation
MIT License
1.66k stars 160 forks source link

How to remove a document from the database? #33

Open Dorbmon opened 2 months ago

Dorbmon commented 2 months ago

Thanks for your great work. I wonder if there is any way to remove a existing document from the graph?

gusye1234 commented 2 months ago

nano-graphrag doesn't support delete right now, sorry. Maybe you can move the llm-cache file to a new working dir and re-insert the docs you want, so that no duplicated LLM calling will perform.

kksasa commented 2 months ago

Confused me as well. How does graphrag for db management. such as add/insert/delete