Find answers from the community

Updated 8 months ago

Hello πŸ™‚

Hello πŸ™‚
Is there a way to retrieve all nodes from a documents (or even better retrieve the full document content without the chunkings) ? I guess the docstore might be the only thing needed for this operation πŸ€”
L
A
3 comments
yea, you need to store the full document somewhere then
is there a way to attach this full document as a metadata to the root document nood in the docstore ?
you could attach the full document as metadata yes, but you'd want to be sure to exclude that metadata key from the llm/embed model

https://docs.llamaindex.ai/en/stable/module_guides/loading/documents_and_nodes/usage_documents/?h=customizing#advanced-metadata-customization

This would greatly increase the amount of text/disk space though
Add a reply
Sign up and join the conversation on Discord