Find answers from the community

Updated 2 months ago

Doc ids

the Hi! Trying to use VectorIndexRetriever to retrieve the text from the index. My index has several doc_ids, but when I pass the specific doc_ids, no matter trying different doc_ids, it's not fetching and still outputs from entire index.
Attachment
Screenshot_2023-09-08_at_10.47.53_AM.png
L
M
4 comments
Huh, doc id filtering is straight up not implemented on the base vector store. The query only looks at node ids.

I could have sworn I added this πŸ˜…
Thanks for the quick response! So, what would you recommend for my case? Do I have to use node_ids instead of doc_ids?
Also, do you have a plan to update this? thx again!
yea I would probably want to update this πŸ˜… For now, you'd have to use node_ids yea (which you can get from ref_doc_info thankfully)
Sounds good. Thx!
Add a reply
Sign up and join the conversation on Discord