mirror of
https://github.com/microsoft/graphrag.git
synced 2026-01-14 09:07:20 +08:00
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:
parent
d66901e67e
commit
d4a0a590f4
@ -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}"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user