Find answers from the community

Updated 9 months ago

Is it possible to retrieve a list of ind...

I've added documents to an index, while specifying a custom doc_id for each document
a) how do i determine if a doc_id already exists within the index?
b) How do I get a list of all documents within an index?
c) how do I delete a document from the index?
I've tried looking it up (https://github.com/run-llama/llama_index/issues/3255) but it seems the api has changed and the answers are obsolete
h
2 comments
kk, i think i've found the docs for deleting/updating a document:
https://docs.llamaindex.ai/en/stable/module_guides/indexing/document_management.html
need to test it
I can confirm update/delete works for doc_id. However I can’t yet determine if a particular doc_id exists in the first place.
Add a reply
Sign up and join the conversation on Discord