@@ -100,7 +100,7 @@ def _initialize_cli(
100100 ],
101101):
102102 """Generate a default configuration file."""
103- from .initialize import initialize_project_at
103+ from graphrag . cli .initialize import initialize_project_at
104104
105105 initialize_project_at (path = root )
106106
@@ -165,7 +165,7 @@ def _index_cli(
165165 ] = None ,
166166):
167167 """Build a knowledge graph index."""
168- from .index import index_cli
168+ from graphrag . cli .index import index_cli
169169
170170 index_cli (
171171 root_dir = root ,
@@ -234,7 +234,7 @@ def _update_cli(
234234
235235 Applies a default storage configuration (if not provided by config), saving the new index to the local file system in the `update_output` folder.
236236 """
237- from .index import update_cli
237+ from graphrag . cli .index import update_cli
238238
239239 update_cli (
240240 root_dir = root ,
@@ -337,7 +337,7 @@ def _prompt_tune_cli(
337337 """Generate custom graphrag prompts with your own data (i.e. auto templating)."""
338338 import asyncio
339339
340- from .prompt_tune import prompt_tune
340+ from graphrag . cli .prompt_tune import prompt_tune
341341
342342 loop = asyncio .get_event_loop ()
343343 loop .run_until_complete (
@@ -422,7 +422,7 @@ def _query_cli(
422422 ] = False ,
423423):
424424 """Query a knowledge graph index."""
425- from .query import run_drift_search , run_global_search , run_local_search
425+ from graphrag . cli .query import run_drift_search , run_global_search , run_local_search
426426
427427 match method :
428428 case SearchType .LOCAL :
0 commit comments