-
Notifications
You must be signed in to change notification settings - Fork 3k
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Do you need to file an issue?
- I have searched the existing issues and this feature is not already filed.
- My model is hosted on OpenAI or Azure. If not, please look at the "model providers" issue and don't file a new one here.
- I believe this is a legitimate feature request, not just a question. If this is a question, please use the Discussions area.
Is your feature request related to a problem? Please describe.
I’m planning to extend GraphRAG to support delete operations by introducing a custom workflow.
Proposed Approach
- Delete the target document.
- Delete its associated text_units.
- Remove references to those text_units from entities and relationships.
-
If an entity/relationship has other text_unit references, update it accordingly. -
If the entity/relationship is only linked to the deleted text_units, remove it entirely.
-
- Re-run community generation and community summarization to ensure consistency.
Questions
- Would this approach be sufficient to properly handle deletes?
- Are there any pitfalls or edge cases I should watch out for?
- Do you have any alternative suggestions or best practices for implementing deletes in GraphRAG?
I would deeply appreciate any inputs, suggestions, and thoughts from maintainers and community.
Thanks for your input!
@natoverse @AlonsoGuevara @darthtrevino
Describe the solution you'd like
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request