Merge pull request #286 from Sucran/main

fix neo4j bug
This commit is contained in:
zrguo
2024-11-19 15:25:49 +08:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -214,6 +214,7 @@ class Neo4JStorage(BaseGraphStorage):
neo4jExceptions.ServiceUnavailable,
neo4jExceptions.TransientError,
neo4jExceptions.WriteServiceUnavailable,
neo4jExceptions.ClientError
)
),
)

View File

@@ -174,8 +174,7 @@ class LightRAG:
)
self.chunk_entity_relation_graph = self.graph_storage_cls(
namespace="chunk_entity_relation",
global_config=asdict(self),
embedding_func=self.embedding_func,
global_config=asdict(self)
)
####
# add embedding func by walter over