async def abuild_slide_nodes_from_documents(
        self,
        documents: Sequence[Document],
        show_progress: bool = False,
    ) -> List[BaseNode]:
        """
        Asynchronously build nodes enriched with localized context using a sliding window approach.
        """
        all_nodes: List[BaseNode] = []
        for document in documents:
            # Split into sentences and base chunks
            doctext = document.get_content()
            sentences = self.sentence_splitter(doctext)
            chunks = self.create_individual_chunks(sentences)

            # get localized splits using an async function
            splits = await self.abuild_localised_splits(chunks, show_progress)
            texts = [s["text"] for s in splits]
            contexts = [s["context"] for s in splits]

            # build and annotate nodes
            nodes = build_nodes_from_splits(
                text_splits=texts, document=document, id_func=self.id_func
            )

            nodes = self.post_process_nodes(nodes, contexts)
            all_nodes.extend(nodes)

        return all_nodes

        Asynchronously build nodes enriched with localized context using a sliding window approach.
        
llama-index-integrations/node_parser/llama-index-node-parser-slide/llama_index/node_parser/slide/base.py