def post_process_nodes(
        self,
        nodes: List[BaseNode],
        contexts: List[str],
    ) -> List[BaseNode]:
        """
        Attach slide_context metadata to each node based on the provided contexts.
        """
        for node, context in zip(nodes, contexts):
            # Preserve any existing metadata, then add our slide context
            node.metadata["local_context"] = context
        return nodes

        Attach slide_context metadata to each node based on the provided contexts.
        
llama-index-integrations/node_parser/llama-index-node-parser-slide/llama_index/node_parser/slide/base.py