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 last year
0
Follow
Thread
Thread
Inactive
0
Follow
i
isaackogan
last year
ยท
Attachment
L
i
29 comments
Share
Open in Discord
L
Logan M
last year
So that entire
_note_content
field is what gets used to re-create the node
L
Logan M
last year
I'd be really surprsied if the retrieved nodes don't include all that info
L
Logan M
last year
https://github.com/run-llama/llama_index/blob/36c6f75466e3ba46e7b0cade0a6782f4e210138b/llama_index/vector_stores/qdrant.py#L398
L
Logan M
last year
metadata_dict_to_node()
should be converting the whole thing
L
Logan M
last year
unless it's silently hitting the try/except for some reason
i
isaackogan
last year
oh..
i
isaackogan
last year
there's no metadata in there in the actual db..
i
isaackogan
last year
i wonder how i'm making my text nodes..
L
Logan M
last year
Hmmm your screenshot definitely has metadata (file_name and answer fields) -- unless thats from a different db lol
i
isaackogan
last year
in the relationship it has the metadata
L
Logan M
last year
oh right!
i
isaackogan
last year
i think
L
Logan M
last year
You can still access that on the source nodes, just less intuitive
L
Logan M
last year
I agree it should be on the actual nodes
i
isaackogan
last year
yeah, but the actual node itself should have it
i
isaackogan
last year
i don't think that's a llama issue though
i
isaackogan
last year
it's strange
Attachment
i
isaackogan
last year
because both the node in question and its related node were made in the exact same way
i
isaackogan
last year
solved @Logan M
i
isaackogan
last year
using a helper function called
build_nodes_from_splits
to generate my nodes
i
isaackogan
last year
unless i'm missing something, it does not add the metadata from the document
i
isaackogan
last year
https://github.com/run-llama/llama_index/blob/main/llama_index/node_parser/node_utils.py
i
isaackogan
last year
Attachment
L
Logan M
last year
ah yea, that's an option in the node parser class (for some reason)
L
Logan M
last year
https://github.com/run-llama/llama_index/blob/bfe10674f096df9da5d0bca31d46fc5f9876745c/llama_index/node_parser/interface.py#L63
i
isaackogan
last year
rip
i
isaackogan
last year
ty
i
isaackogan
last year
(as always)
L
Logan M
last year
:dotsCATJAM:
Add a reply
Sign up and join the conversation on Discord
Join on Discord