fix neo4j bug

This commit is contained in:
Richard
2024-11-15 13:11:43 +08:00
parent 2022578323
commit 6bdf693b85
2 changed files with 2 additions and 2 deletions

View File

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

View File

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