Log in
Log into community
Find answers from the community
View all posts
Related posts
Did this answer your question?
๐
๐
๐
Powered by
Hall
Inactive
Updated 3 months ago
0
Follow
If I have the doc id is there a way to
If I have the doc id is there a way to
Inactive
0
Follow
M
Milkman
2 years ago
ยท
If I have the doc_id, is there a way to access the doc text using the doc_id?
L
M
4 comments
Share
Open in Discord
L
Logan M
2 years ago
kinda?
Do you have the doc_id of a node or ingested document?
If you have the node doc_id, you can do
index.docstore.docs[node_doc_id]
Otherwise, you can do
index.ref_doc_info[document_doc_id]
to get the id's of all nodes belonging to that document
L
Logan M
2 years ago
Big caveat here is that this doesn't work right now if you are using a vector store integration
M
Milkman
2 years ago
This works!
L
Logan M
2 years ago
nice!
Add a reply
Sign up and join the conversation on Discord
Join on Discord