From e6a7dc94f31e7641f26d2b25ee98b8697ce9f6de Mon Sep 17 00:00:00 2001 From: okxuewei <48642811+okxuewei@users.noreply.github.com> Date: Thu, 17 Jul 2025 12:09:16 +0800 Subject: [PATCH] Rollback the update --- lightrag/lightrag.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lightrag/lightrag.py b/lightrag/lightrag.py index 0d072e61..092e06eb 100644 --- a/lightrag/lightrag.py +++ b/lightrag/lightrag.py @@ -457,13 +457,13 @@ class LightRAG: namespace=NameSpace.VECTOR_STORE_ENTITIES, workspace=self.workspace, embedding_func=self.embedding_func, - meta_fields={"entity_name", "source_id", "content", "file_path", "entity_type"}, + meta_fields={"entity_name", "source_id", "content", "file_path"}, ) self.relationships_vdb: BaseVectorStorage = self.vector_db_storage_cls( # type: ignore namespace=NameSpace.VECTOR_STORE_RELATIONSHIPS, workspace=self.workspace, embedding_func=self.embedding_func, - meta_fields={"src_id", "tgt_id", "source_id", "content", "file_path", "weight"}, + meta_fields={"src_id", "tgt_id", "source_id", "content", "file_path"}, ) self.chunks_vdb: BaseVectorStorage = self.vector_db_storage_cls( # type: ignore namespace=NameSpace.VECTOR_STORE_CHUNKS,