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

Allow updating existing documents #36

Open
3 tasks
sinedied opened this issue Apr 9, 2024 · 1 comment
Open
3 tasks

Allow updating existing documents #36

sinedied opened this issue Apr 9, 2024 · 1 comment
Assignees
Labels
backend enhancement New feature or request Stale

Comments

@sinedied
Copy link
Contributor

sinedied commented Apr 9, 2024

Currently if you upload the same document twice, it will create duplicated chunks of the same documents.
Before add a document to the database, we should remove all chunks related to the document using its filename as ID to avoid duplication and allow updates.

Tasks

  • Remove all chunks with the same filename of uploaded document in POST /documents
    • for Azure ComosDB for MongoDB vCore path
    • for FAISS path when running locally
@sinedied sinedied added enhancement New feature or request backend labels Apr 9, 2024
@sinedied sinedied self-assigned this Apr 9, 2024
Copy link

github-actions bot commented Jun 9, 2024

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this issue will be closed.

@github-actions github-actions bot added the Stale label Jun 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend enhancement New feature or request Stale
Projects
None yet
Development

No branches or pull requests

1 participant