GraphRAG

Query CLI

The GraphRAG query CLI allows for no-code usage of the GraphRAG Query engine.

python -m graphrag.query --config <config_file.yml> --data <path-to-data> --community_level <comunit-level> --response_type <response-type> --method <"local"|"global"> <query>

CLI Arguments

Env Variables

Required environment variables to execute:

You can further customize the execution by providing these environment variables: