Find answers from the community

Updated 3 months ago

Please advise

Please advise
L
S
5 comments
Thats how it works actually -- it takes the first X number of nodes (3 in this case) generates a title, then generates a common title for all nodes based on those
If you need something different, it's very easy to build your own πŸ‘
on this context

document.excluded_embed_metadata_keys = ["creation_date", "last_modified_date", "file_size", "file_path", "file_extension"]

still these attributes are present in metadata.
how can i skip this
they will be included in the metadata yes.

This setting just means that they won't be included when you send nodes to the embedding model
Plain Text
from llama_index.schema import MetadataMode

print(document.get_content(metadata_mode=MetadataMode.EMBED))


That is what the embedding model will see
Add a reply
Sign up and join the conversation on Discord