is basically the same of the tutorial yet, the service context is : service_context = ServiceContext.from_defaults( llm=self.llm, embed_model=self.embed_model, callback_manager=self.callback_manager, )
the problem is that when i run len(nodes) and len(base_nodes) the number is the same, and the nodes retrieved too. The automerging retriever not merging or another thing. Someone can help me please?
aah okay, make sense, i m just follow the tutorial and there the top-k is 6 for both, but my document is different so probably with just 6 the automerging not get the neighboring nodes
if a try change the chunk sizes of hierarchy maybe can i get i merge with less top_k? chunk_sizes = [2048, 512, 128] node_parser = HierarchicalNodeParser.from_defaults(chunk_sizes=chunk_sizes)