Find answers from the community

Updated 2 years ago

Is there a way to view the existing

Is there a way to view the existing documents in an index? I'd like to periodically check to see if the existing documents in the directory match the ones loaded in the index. If they don't remove from the index. The docs don't seem to be loaded in index.storage_context.docstore.docs
d
J
3 comments
hey @Joie , index.storage_context.docstore.docs should be correct. But right now it only keeps the processed Nodes, not the original documents.

Are you looking for the original documents instead?
@disiok Yes
Hello @disiok . Do you perhaps have an answer for this?
Add a reply
Sign up and join the conversation on Discord