diff --git a/lazyllm/tools/rag/milvus_store.py b/lazyllm/tools/rag/milvus_store.py index 5a4ab571..eec82763 100644 --- a/lazyllm/tools/rag/milvus_store.py +++ b/lazyllm/tools/rag/milvus_store.py @@ -299,7 +299,6 @@ def _deserialize_node_partial(self, result: Dict) -> DocNode: if k.startswith(self._embedding_key_prefix): doc.embedding[k[len(self._embedding_key_prefix):]] = v elif k.startswith(self._global_metadata_key_prefix): - if doc.parent: - doc._global_metadata[k[len(self._global_metadata_key_prefix):]] = v + doc.global_metadata[k[len(self._global_metadata_key_prefix):]] = v return doc