LarFii
commited on
Commit
·
05d6152
1
Parent(s):
5811198
Update
Browse files- README.md +6 -2
- lightrag/kg/neo4j_impl.py +1 -1
- 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 |
-

|
41 |
+
*Figure 1: LightRAG Indexing Flowchart*
|
42 |
+

|
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
|