yangdx
commited on
Commit
·
04f74ef
1
Parent(s):
33d79e1
Adjust storage position in STORAGE_IMPLEMENTATIONS
Browse files- lightrag/kg/__init__.py +5 -5
lightrag/kg/__init__.py
CHANGED
@@ -2,10 +2,10 @@ STORAGE_IMPLEMENTATIONS = {
|
|
2 |
"KV_STORAGE": {
|
3 |
"implementations": [
|
4 |
"JsonKVStorage",
|
5 |
-
"MongoKVStorage",
|
6 |
"RedisKVStorage",
|
7 |
-
# "TiDBKVStorage",
|
8 |
"PGKVStorage",
|
|
|
|
|
9 |
],
|
10 |
"required_methods": ["get_by_id", "upsert"],
|
11 |
},
|
@@ -13,11 +13,11 @@ STORAGE_IMPLEMENTATIONS = {
|
|
13 |
"implementations": [
|
14 |
"NetworkXStorage",
|
15 |
"Neo4JStorage",
|
|
|
|
|
16 |
# "MongoGraphStorage",
|
17 |
# "TiDBGraphStorage",
|
18 |
-
"AGEStorage",
|
19 |
# "GremlinStorage",
|
20 |
-
"PGGraphStorage",
|
21 |
],
|
22 |
"required_methods": ["upsert_node", "upsert_edge"],
|
23 |
},
|
@@ -26,11 +26,11 @@ STORAGE_IMPLEMENTATIONS = {
|
|
26 |
"NanoVectorDBStorage",
|
27 |
"MilvusVectorDBStorage",
|
28 |
"ChromaVectorDBStorage",
|
29 |
-
# "TiDBVectorDBStorage",
|
30 |
"PGVectorStorage",
|
31 |
"FaissVectorDBStorage",
|
32 |
"QdrantVectorDBStorage",
|
33 |
"MongoVectorDBStorage",
|
|
|
34 |
],
|
35 |
"required_methods": ["query", "upsert"],
|
36 |
},
|
|
|
2 |
"KV_STORAGE": {
|
3 |
"implementations": [
|
4 |
"JsonKVStorage",
|
|
|
5 |
"RedisKVStorage",
|
|
|
6 |
"PGKVStorage",
|
7 |
+
"MongoKVStorage",
|
8 |
+
# "TiDBKVStorage",
|
9 |
],
|
10 |
"required_methods": ["get_by_id", "upsert"],
|
11 |
},
|
|
|
13 |
"implementations": [
|
14 |
"NetworkXStorage",
|
15 |
"Neo4JStorage",
|
16 |
+
"PGGraphStorage",
|
17 |
+
"AGEStorage",
|
18 |
# "MongoGraphStorage",
|
19 |
# "TiDBGraphStorage",
|
|
|
20 |
# "GremlinStorage",
|
|
|
21 |
],
|
22 |
"required_methods": ["upsert_node", "upsert_edge"],
|
23 |
},
|
|
|
26 |
"NanoVectorDBStorage",
|
27 |
"MilvusVectorDBStorage",
|
28 |
"ChromaVectorDBStorage",
|
|
|
29 |
"PGVectorStorage",
|
30 |
"FaissVectorDBStorage",
|
31 |
"QdrantVectorDBStorage",
|
32 |
"MongoVectorDBStorage",
|
33 |
+
# "TiDBVectorDBStorage",
|
34 |
],
|
35 |
"required_methods": ["query", "upsert"],
|
36 |
},
|