From d4a0a590f4db059ae8e7bdd8c293cedd15ec741a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?JunHo=20Kim=20=28=EA=B9=80=EC=A4=80=ED=98=B8=29?= Date: Thu, 10 Oct 2024 06:20:18 +0900 Subject: [PATCH] Change config.json references to settings.json in the configuration document. (#1221) Updated the configuration documentation to reflect the default filename for configuration file. Default config files are `["settings.yaml", "settings.yml", "settings.json"]` https://github.com/microsoft/graphrag/blob/ce71bcf7fbe9811058f6bbc1eb725c4a1d960e7e/graphrag/config/config_file_loader.py#L15 Co-authored-by: Alonso Guevara --- docsite/posts/config/json_yaml.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docsite/posts/config/json_yaml.md b/docsite/posts/config/json_yaml.md index 8c2e5701..394b4b2d 100644 --- a/docsite/posts/config/json_yaml.md +++ b/docsite/posts/config/json_yaml.md @@ -6,7 +6,7 @@ layout: page date: 2023-01-03 --- -The default configuration mode may be configured by using a `config.json` or `config.yml` file in the data project root. If a `.env` file is present along with this config file, then it will be loaded, and the environment variables defined therein will be available for token replacements in your configuration document using `${ENV_VAR}` syntax. +The default configuration mode may be configured by using a `settings.json` or `settings.yml` file in the data project root. If a `.env` file is present along with this config file, then it will be loaded, and the environment variables defined therein will be available for token replacements in your configuration document using `${ENV_VAR}` syntax. For example: @@ -14,7 +14,7 @@ For example: # .env API_KEY=some_api_key -# config.json +# settings.json { "llm": { "api_key": "${API_KEY}"