LarFii commited on
Commit
05d6152
·
1 Parent(s): 5811198
Files changed (3) hide show
  1. README.md +6 -2
  2. lightrag/kg/neo4j_impl.py +1 -1
  3. lightrag/lightrag.py +1 -2
README.md CHANGED
@@ -8,7 +8,9 @@
8
  <a href='https://lightrag.github.io'><img src='https://img.shields.io/badge/Project-Page-Green'></a>
9
  <a href='https://youtu.be/oageL-1I0GE'><img src='https://badges.aleen42.com/src/youtube.svg'></a>
10
  <a href='https://arxiv.org/abs/2410.05779'><img src='https://img.shields.io/badge/arXiv-2410.05779-b31b1b'></a>
 
11
  <a href='https://discord.gg/E4HgTnck'><img src='https://discordapp.com/api/guilds/1296348098003734629/widget.png?style=shield'></a>
 
12
  </p>
13
  <p>
14
  <img src='https://img.shields.io/github/stars/hkuds/lightrag?color=green&style=social' />
@@ -35,8 +37,10 @@ This repository hosts the code of LightRAG. The structure of this code is based
35
 
36
  ## Algorithm Flowchart
37
 
38
- ![LightRAG_Self excalidraw](https://github.com/user-attachments/assets/aa5c4892-2e44-49e6-a116-2403ed80a1a3)
39
-
 
 
40
 
41
  ## Install
42
 
 
8
  <a href='https://lightrag.github.io'><img src='https://img.shields.io/badge/Project-Page-Green'></a>
9
  <a href='https://youtu.be/oageL-1I0GE'><img src='https://badges.aleen42.com/src/youtube.svg'></a>
10
  <a href='https://arxiv.org/abs/2410.05779'><img src='https://img.shields.io/badge/arXiv-2410.05779-b31b1b'></a>
11
+ <a href='https://learnopencv.com/lightrag'><img src='https://img.shields.io/badge/LearnOpenCV-blue'></a>
12
  <a href='https://discord.gg/E4HgTnck'><img src='https://discordapp.com/api/guilds/1296348098003734629/widget.png?style=shield'></a>
13
+ <a href='https://github.com/HKUDS/LightRAG/issues/285'><img src='https://img.shields.io/badge/群聊-wechat-green'></a>
14
  </p>
15
  <p>
16
  <img src='https://img.shields.io/github/stars/hkuds/lightrag?color=green&style=social' />
 
37
 
38
  ## Algorithm Flowchart
39
 
40
+ ![LightRAG Indexing Flowchart](https://learnopencv.com/wp-content/uploads/2024/11/LightRAG-VectorDB-Json-KV-Store-Indexing-Flowchart-scaled.jpg)
41
+ *Figure 1: LightRAG Indexing Flowchart*
42
+ ![LightRAG Retrieval and Querying Flowchart](https://learnopencv.com/wp-content/uploads/2024/11/LightRAG-Querying-Flowchart-Dual-Level-Retrieval-Generation-Knowledge-Graphs-scaled.jpg)
43
+ *Figure 2: LightRAG Retrieval and Querying Flowchart*
44
 
45
  ## Install
46
 
lightrag/kg/neo4j_impl.py CHANGED
@@ -214,7 +214,7 @@ class Neo4JStorage(BaseGraphStorage):
214
  neo4jExceptions.ServiceUnavailable,
215
  neo4jExceptions.TransientError,
216
  neo4jExceptions.WriteServiceUnavailable,
217
- neo4jExceptions.ClientError
218
  )
219
  ),
220
  )
 
214
  neo4jExceptions.ServiceUnavailable,
215
  neo4jExceptions.TransientError,
216
  neo4jExceptions.WriteServiceUnavailable,
217
+ neo4jExceptions.ClientError,
218
  )
219
  ),
220
  )
lightrag/lightrag.py CHANGED
@@ -173,8 +173,7 @@ class LightRAG:
173
  embedding_func=self.embedding_func,
174
  )
175
  self.chunk_entity_relation_graph = self.graph_storage_cls(
176
- namespace="chunk_entity_relation",
177
- global_config=asdict(self)
178
  )
179
  ####
180
  # add embedding func by walter over
 
173
  embedding_func=self.embedding_func,
174
  )
175
  self.chunk_entity_relation_graph = self.graph_storage_cls(
176
+ namespace="chunk_entity_relation", global_config=asdict(self)
 
177
  )
178
  ####
179
  # add embedding func by walter over