diff --git a/README.md b/README.md index b62f01a1..d7e3d418 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,9 @@ + +

@@ -35,8 +37,10 @@ This repository hosts the code of LightRAG. The structure of this code is based ## Algorithm Flowchart -![LightRAG_Self excalidraw](https://github.com/user-attachments/assets/aa5c4892-2e44-49e6-a116-2403ed80a1a3) - +![LightRAG Indexing Flowchart](https://learnopencv.com/wp-content/uploads/2024/11/LightRAG-VectorDB-Json-KV-Store-Indexing-Flowchart-scaled.jpg) +*Figure 1: LightRAG Indexing Flowchart* +![LightRAG Retrieval and Querying Flowchart](https://learnopencv.com/wp-content/uploads/2024/11/LightRAG-Querying-Flowchart-Dual-Level-Retrieval-Generation-Knowledge-Graphs-scaled.jpg) +*Figure 2: LightRAG Retrieval and Querying Flowchart* ## Install diff --git a/lightrag/kg/neo4j_impl.py b/lightrag/kg/neo4j_impl.py index 32bfbe2e..f9fcb46d 100644 --- a/lightrag/kg/neo4j_impl.py +++ b/lightrag/kg/neo4j_impl.py @@ -214,7 +214,7 @@ class Neo4JStorage(BaseGraphStorage): neo4jExceptions.ServiceUnavailable, neo4jExceptions.TransientError, neo4jExceptions.WriteServiceUnavailable, - neo4jExceptions.ClientError + neo4jExceptions.ClientError, ) ), ) diff --git a/lightrag/lightrag.py b/lightrag/lightrag.py index ce27e76d..7fafadcf 100644 --- a/lightrag/lightrag.py +++ b/lightrag/lightrag.py @@ -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