This commit is contained in:
LarFii
2024-11-19 16:52:26 +08:00
parent 14cd7bad24
commit bcaaaad959
3 changed files with 8 additions and 5 deletions

View File

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

View File

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