GraphRAG-Benchmark
GraphRAG-Benchmark copied to clipboard
Redundancy in Example code
There is a lot of duplicate code in all of the run_
- changes only need to be done once
- implementing a new framework can begin more easily
I already started on this because I will use it locally to evaluate my own frameworks anyway. My approach just leaves the init and query function to be implemented for every method.
Will open a merge request once my last merge request is handled.
Hello, your suggestion is very helpful. We also encountered this issue when writing the test code, as different frameworks have variations in their codes. Thank you for sharing your idea!