HKUDS / LightRAG

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

Some questions about graph output comparison with GraphRAG #202

Closed WinstonCHEN1 closed 2 weeks ago

WinstonCHEN1 commented 2 weeks ago

While reproducing, I noticed that the graph in the output file was slightly different from GraphRAG.

Are the steps for building a graph in LightRAG the same as those for building a graph in GraphRAG? For example, are the same interfaces or logic used?

If so, how should I use the outputs generated by the two projects with each other? Is it possible?

If not, what is the difference?

Could you please give me more details? Thanks a lot.

LarFii commented 2 weeks ago

The main difference between LightRAG and GraphRAG in the extraction process is that LightRAG omits communities and instead introduces keywords, making them incompatible with each other. For more details, please refer to our paper.

WinstonCHEN1 commented 2 weeks ago

Thanks a lot!!!