async def collapsed_retrieval(self, query_str: str) -> Response:
        """Query the index as a collapsed tree -- i.e. a single pool of nodes."""
        return await self.index.as_retriever(
            similarity_top_k=self.similarity_top_k
        ).aretrieve(query_str)
Query the index as a collapsed tree -- i.e. a single pool of nodes.
llama-index-packs/llama-index-packs-raptor/llama_index/packs/raptor/base.py