Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions config.ini.example
Original file line number Diff line number Diff line change
Expand Up @@ -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
7 changes: 7 additions & 0 deletions env.example
Original file line number Diff line number Diff line change
Expand Up @@ -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
############################
Expand Down
7 changes: 7 additions & 0 deletions lightrag/kg/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"PGGraphStorage",
"MongoGraphStorage",
"MemgraphStorage",
"TigerGraphStorage",
],
"required_methods": ["upsert_node", "upsert_edge"],
},
Expand Down Expand Up @@ -53,6 +54,11 @@
"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",
Expand Down Expand Up @@ -101,6 +107,7 @@
"FaissVectorDBStorage": ".kg.faiss_impl",
"QdrantVectorDBStorage": ".kg.qdrant_impl",
"MemgraphStorage": ".kg.memgraph_impl",
"TigerGraphStorage": ".kg.tigergraph_impl",
}


Expand Down
Loading