gusye1234 / nano-graphrag

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

[Query about a concept] What is "occurrence" in Community Schema? #101

Open yagneshgooglegithub opened 1 week ago

yagneshgooglegithub commented 1 week ago

The code is too complex to make something out of. A quick simple description with a small example would be of a great help. The line is v["occurrence"] = len(v["chunk_ids"]) / max_num_ids in gdb_networx.py