added tigergraph as graph storage
This commit is contained in:
parent
bd62bb3024
commit
d0734b119a
4 changed files with 1179 additions and 0 deletions
|
|
@ -35,3 +35,9 @@ ivfflat_lists = 100
|
|||
|
||||
[memgraph]
|
||||
uri = bolt://localhost:7687
|
||||
|
||||
[tigergraph]
|
||||
uri = http://localhost:9000
|
||||
username = tigergraph
|
||||
password = your_password
|
||||
graph_name = lightrag
|
||||
|
|
|
|||
|
|
@ -395,6 +395,13 @@ MEMGRAPH_PASSWORD=
|
|||
MEMGRAPH_DATABASE=memgraph
|
||||
# MEMGRAPH_WORKSPACE=forced_workspace_name
|
||||
|
||||
### TigerGraph Configuration
|
||||
TIGERGRAPH_URI=http://localhost:9000
|
||||
TIGERGRAPH_USERNAME=tigergraph
|
||||
TIGERGRAPH_PASSWORD='your_password'
|
||||
TIGERGRAPH_GRAPH_NAME=lightrag
|
||||
# TIGERGRAPH_WORKSPACE=forced_workspace_name
|
||||
|
||||
############################
|
||||
### Evaluation Configuration
|
||||
############################
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ STORAGE_IMPLEMENTATIONS = {
|
|||
"PGGraphStorage",
|
||||
"MongoGraphStorage",
|
||||
"MemgraphStorage",
|
||||
"TigerGraphStorage",
|
||||
],
|
||||
"required_methods": ["upsert_node", "upsert_edge"],
|
||||
},
|
||||
|
|
@ -53,6 +54,11 @@ STORAGE_ENV_REQUIREMENTS: dict[str, list[str]] = {
|
|||
"Neo4JStorage": ["NEO4J_URI", "NEO4J_USERNAME", "NEO4J_PASSWORD"],
|
||||
"MongoGraphStorage": [],
|
||||
"MemgraphStorage": ["MEMGRAPH_URI"],
|
||||
"TigerGraphStorage": [
|
||||
"TIGERGRAPH_URI",
|
||||
"TIGERGRAPH_USERNAME",
|
||||
"TIGERGRAPH_PASSWORD",
|
||||
],
|
||||
"AGEStorage": [
|
||||
"AGE_POSTGRES_DB",
|
||||
"AGE_POSTGRES_USER",
|
||||
|
|
@ -101,6 +107,7 @@ STORAGES = {
|
|||
"FaissVectorDBStorage": ".kg.faiss_impl",
|
||||
"QdrantVectorDBStorage": ".kg.qdrant_impl",
|
||||
"MemgraphStorage": ".kg.memgraph_impl",
|
||||
"TigerGraphStorage": ".kg.tigergraph_impl",
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
1159
lightrag/kg/tigergraph_impl.py
Normal file
1159
lightrag/kg/tigergraph_impl.py
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue