New handler added to allow the deletion of the generated files. #177
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added a new Handler that allows the deletion of the generated "physical" (disk, blob...) files after a document has been imported.
Motivation and Context (Why the change? What's the scenario?)
This should address this question: https://github.com/microsoft/kernel-memory/issues/107
High level description (Approach, Design)
This new handler as not been added to any default pipeline, so nothing changes for current clients. However, the Handler is not present, so it can be passed as step when calling any of the current ```ImportDocumentAsync````
i.e:
@dluc this solution would give us the functionality we need, as would avoid any compliance issue with having enterprise docs out of M365. It's not a perfect solution, and I'm happy to make any changes if providing guidance.
Note: There's still the pipeline_status.json file, but that's ok for us, and can be addressed with a container policy.
Thanks.