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

Clarity on adding/removing documetns in a LocalDoc folder #2546

Open
ceramicv opened this issue Jul 3, 2024 · 2 comments
Open

Clarity on adding/removing documetns in a LocalDoc folder #2546

ceramicv opened this issue Jul 3, 2024 · 2 comments

Comments

@ceramicv
Copy link

ceramicv commented Jul 3, 2024

It looks like when you add a new document to that LocalDocs folder it gets indexed automatically - without having to rebuild the index. However what happens to documents you remove from that folder. Do the contents get removed from the index so that outdated information is removed or does that require a rebuild of the index

@AndriyMulyar
Copy link
Contributor

@mcembalest thoughts on where this goes in the docs?

@manyoso
Copy link
Collaborator

manyoso commented Jul 3, 2024

Yes, if you remove a file from the folder it gets removed from the collection and all its embeddings/chunks are deleted/removed. All this happens automatically, but the 'rebuild' button is there to add peace of mind.

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

No branches or pull requests

3 participants