microsoft / graphrag

A modular graph-based Retrieval-Augmented Generation (RAG) system
https://microsoft.github.io/graphrag/
MIT License
19.24k stars 1.9k forks source link

Reorganize python package structure #1214

Closed jgbradley1 closed 1 month ago

jgbradley1 commented 1 month ago

Description

This PR is the first of what we expect to be several PRs that attempts to cleanup some of the package organization/design to allow for better flexibility. The general goal we are shooting for is to have a decoupled design made up of multiple components where each component can be swapped out for future solutions if the need arises. Some design choices are inspired by other popular OSS projects such as mmdetection.

Proposed Changes

Checklist

Notes

Some of the logging code should be cleaned up and consolidated in a future PR. Changes in this PR are mostly focused on high-level package organization first.