HKUDS / LightRAG

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

Find most related text unit from entities #304

Open syf0119 opened 2 days ago

syf0119 commented 2 days ago

This is the code that find most related text unit from entities,Method name is _find_most_related_text_unit_from_entities. If it is the total number of times a text unit is referenced by neighboring nodes, why use continue, see lines 580,581. Can someone explain this part of the code? Thank you for your help.

image