graphrag/graphrag
Alonso Guevara d43124e576
Refactor Create Final Community reports to simplify code (#1456)
* Optimize prep claims

* Optimize community hierarchy restore

* Partial optimization of prepare_community_reports

* More optimization code

* Fix context string generation

* Filter community -1

* Fix cache, add more optimization fixes

* Fix local search community ids

* Cleanup

* Format

* Semver

* Remove perf counter

* Unused import

* Format

* Fix edge addition to reports

* Add edge by edge context creation

* Re-org of the optimization code

* Format

* Ruff

* Some Ruff fixes

* More pyright

* More pyright

* Pyright

* Pyright

* Update tests
2024-12-05 17:13:05 -06:00
..
api Update index API + a notebook that provides a general API overview (#1454) 2024-12-05 15:34:21 -06:00
cache Miscellaneous code cleanup procedures (#1452) 2024-11-27 13:27:43 -05:00
callbacks Miscellaneous code cleanup procedures (#1452) 2024-11-27 13:27:43 -05:00
cli Miscellaneous code cleanup procedures (#1452) 2024-11-27 13:27:43 -05:00
config Graph collapse (#1464) 2024-12-05 11:57:26 -06:00
index Refactor Create Final Community reports to simplify code (#1456) 2024-12-05 17:13:05 -06:00
llm Fix vector store logic and refactor audience parameter (#1259) 2024-10-21 16:56:56 -04:00
logging Miscellaneous code cleanup procedures (#1452) 2024-11-27 13:27:43 -05:00
model Improve CLI speed with lazy imports (#1319) 2024-11-15 19:41:10 -05:00
prompt_tune Miscellaneous code cleanup procedures (#1452) 2024-11-27 13:27:43 -05:00
prompts Miscellaneous code cleanup procedures (#1452) 2024-11-27 13:27:43 -05:00
query Refactor Create Final Community reports to simplify code (#1456) 2024-12-05 17:13:05 -06:00
storage Update index API + a notebook that provides a general API overview (#1454) 2024-12-05 15:34:21 -06:00
utils Miscellaneous code cleanup procedures (#1452) 2024-11-27 13:27:43 -05:00
vector_stores Miscellaneous code cleanup procedures (#1452) 2024-11-27 13:27:43 -05:00
__init__.py Initial Release 2024-07-01 15:25:30 -06:00
__main__.py Improve CLI speed with lazy imports (#1319) 2024-11-15 19:41:10 -05:00