graphrag icon indicating copy to clipboard operation
graphrag copied to clipboard

Refactor storage factory

Open jgbradley1 opened this issue 8 months ago • 0 comments

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).

jgbradley1 avatar Apr 24 '25 13:04 jgbradley1