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"]`

ce71bcf7fb/graphrag/config/config_file_loader.py (L15)

Co-authored-by: Alonso Guevara <alonsog@microsoft.com>
This commit is contained in:
JunHo Kim (김준호) 2024-10-10 06:20:18 +09:00 committed by GitHub
parent d66901e67e
commit d4a0a590f4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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}"