graphrag
graphrag copied to clipboard
Refactor storage factory
Description
This PR is not ready for review or to be merged yet.
This PR refactors the storage factory to make it plug-and-play friendly, allowing anyone to implement and register a custom storage provider to use their desired solution (CosmosDB, SQL server, etc).
Proposed Changes
The core functionality was already in the code. We just never explicitly exposed it in a way that was clear to external users. This change should make it a little more clear.
Checklist
- [ ] I have tested these changes locally.
- [ ] I have reviewed the code changes.
- [ ] I have updated the documentation (if necessary).
- [ ] I have added appropriate unit tests (if applicable).