gusye1234 / nano-graphrag

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

Removing vdb_chunks.json whens starting a new run in the same WORKING_DIR #103

Open yagneshgooglegithub opened 1 week ago

yagneshgooglegithub commented 1 week ago

I think WORKING_DIR/vdb_chunks.json should also be removed while starting a new run in the same directory. I had issues when querying because a specific chunk ID was not present in kv_chunks_text_units.json, but was there in vdb_chunks.json. Maybe new additions are appended, and old ones are getting referred?