fix neo4j bug

This commit is contained in:
Richard
2024-11-15 13:11:43 +08:00
parent 186cd34a03
commit 5661d76860
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