okxuewei commited on
Commit
7b700ba
·
unverified ·
1 Parent(s): cbca883

Rollback the update

Browse files
Files changed (1) hide show
  1. lightrag/lightrag.py +2 -2
lightrag/lightrag.py CHANGED
@@ -457,13 +457,13 @@ class LightRAG:
457
  namespace=NameSpace.VECTOR_STORE_ENTITIES,
458
  workspace=self.workspace,
459
  embedding_func=self.embedding_func,
460
- meta_fields={"entity_name", "source_id", "content", "file_path", "entity_type"},
461
  )
462
  self.relationships_vdb: BaseVectorStorage = self.vector_db_storage_cls( # type: ignore
463
  namespace=NameSpace.VECTOR_STORE_RELATIONSHIPS,
464
  workspace=self.workspace,
465
  embedding_func=self.embedding_func,
466
- meta_fields={"src_id", "tgt_id", "source_id", "content", "file_path", "weight"},
467
  )
468
  self.chunks_vdb: BaseVectorStorage = self.vector_db_storage_cls( # type: ignore
469
  namespace=NameSpace.VECTOR_STORE_CHUNKS,
 
457
  namespace=NameSpace.VECTOR_STORE_ENTITIES,
458
  workspace=self.workspace,
459
  embedding_func=self.embedding_func,
460
+ meta_fields={"entity_name", "source_id", "content", "file_path"},
461
  )
462
  self.relationships_vdb: BaseVectorStorage = self.vector_db_storage_cls( # type: ignore
463
  namespace=NameSpace.VECTOR_STORE_RELATIONSHIPS,
464
  workspace=self.workspace,
465
  embedding_func=self.embedding_func,
466
+ meta_fields={"src_id", "tgt_id", "source_id", "content", "file_path"},
467
  )
468
  self.chunks_vdb: BaseVectorStorage = self.vector_db_storage_cls( # type: ignore
469
  namespace=NameSpace.VECTOR_STORE_CHUNKS,