Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deletion of chunks on upload #515

Merged
merged 4 commits into from
Feb 29, 2024
Merged

Conversation

georearl
Copy link
Contributor

This PR deletes chunks , if they exists, when a file is first up0loaded, regardless of if PDF or non-pdf. This is needed in case a large file is processed, then a newer version of that file is processed which is smaller. Prior to this functionality, residual chunks from the first processing run would still exist, and could be returned as part of RAG

@georearl georearl changed the title deletion os chunks on upload deletion of chunks on upload Feb 27, 2024
Copy link
Contributor

@dayland dayland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This only deletes from blob storage. The contents have to be deleted from the search index as well

@georearl
Copy link
Contributor Author

This only deletes from blob storage. The contents have to be deleted from the search index as well

Boom! completely slipped past me.

@georearl georearl merged commit e9085af into vNext-Dev Feb 29, 2024
6 checks passed
@georearl georearl deleted the geearl/7078-delete-residual-chunks branch February 29, 2024 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants