I've developed a custom MetadataAwareTextSplitter, for precise control over the content segmentation into chunks. This splitter processes JSON data, extracting various elements like title, description, component status, search tags, and different section types. I've successfully saved the generated nodes in a Postgres-based Vector DB.
However, I'm facing a challenge with metadata association for each node. Currently, it seems that the nodes only inherit metadata from their parent document instance. Is there a way to assign unique metadata to each node, reflecting their specific content and characteristics, rather than just inheriting from the parent document?