okxuewei
commited on
Rollback the update
Browse files- 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"
|
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,
|
|
|
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,
|