File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 25
25
except Exception :
26
26
KH_APP_VERSION = "local"
27
27
28
- KH_ENABLE_FIRST_SETUP = True
28
+ KH_ENABLE_FIRST_SETUP = config ( "KH_ENABLE_FIRST_SETUP" , default = False , cast = bool )
29
29
KH_DEMO_MODE = config ("KH_DEMO_MODE" , default = False , cast = bool )
30
30
KH_OLLAMA_URL = config ("KH_OLLAMA_URL" , default = "http://localhost:11434/v1/" )
31
31
303
303
304
304
USE_NANO_GRAPHRAG = config ("USE_NANO_GRAPHRAG" , default = False , cast = bool )
305
305
USE_LIGHTRAG = config ("USE_LIGHTRAG" , default = True , cast = bool )
306
+ USE_MS_GRAPHRAG = config ("USE_MS_GRAPHRAG" , default = False , cast = bool )
306
307
307
- GRAPHRAG_INDEX_TYPES = ["ktem.index.file.graph.GraphRAGIndex" ]
308
+ GRAPHRAG_INDEX_TYPES = []
308
309
310
+ if USE_MS_GRAPHRAG :
311
+ GRAPHRAG_INDEX_TYPES .append ("ktem.index.file.graph.GraphRAGIndex" )
309
312
if USE_NANO_GRAPHRAG :
310
313
GRAPHRAG_INDEX_TYPES .append ("ktem.index.file.graph.NanoGraphRAGIndex" )
311
314
if USE_LIGHTRAG :
You can’t perform that action at this time.
0 commit comments