mirror of
https://github.com/microsoft/graphrag.git
synced 2025-11-11 23:54:57 +00:00
36 lines
1.1 KiB
Markdown
36 lines
1.1 KiB
Markdown
|
|
# Config Breaking Changes
|
||
|
|
|
||
|
|
## Deprecate timestamp paths
|
||
|
|
|
||
|
|
### Change
|
||
|
|
|
||
|
|
- Remove support for timestamp paths, those using `${timestamp}` directory nesting.
|
||
|
|
- Use the same directory for storage output and reporting output.
|
||
|
|
|
||
|
|
### Migration
|
||
|
|
|
||
|
|
- Ensure output directories no longer use `${timestamp}` directory nesting.
|
||
|
|
|
||
|
|
**Using Environment Variables**
|
||
|
|
|
||
|
|
- Ensure `GRAPHRAG_STORAGE_BASE_DIR` is set to a static directory, e.g., `output` instead of `output/${timestamp}/artifacts`.
|
||
|
|
- Ensure `GRAPHRAG_REPORTING_BASE_DIR` is set to a static directory, e.g., `output` instead of `output/${timestamp}/reports`
|
||
|
|
|
||
|
|
[Full docs on using environment variables for configuration](https://microsoft.github.io/graphrag/posts/config/env_vars/).
|
||
|
|
|
||
|
|
**Using Configuration File**
|
||
|
|
|
||
|
|
```yaml
|
||
|
|
# rest of settings.yaml file
|
||
|
|
# ...
|
||
|
|
|
||
|
|
storage:
|
||
|
|
type: file
|
||
|
|
base_dir: "output" # changed from "output/${timestamp}/artifacts"
|
||
|
|
|
||
|
|
reporting:
|
||
|
|
type: file
|
||
|
|
base_dir: "output" # changed from "output/${timestamp}/reports"
|
||
|
|
```
|
||
|
|
|
||
|
|
[Full docs on using JSON or YAML files for configuration](https://microsoft.github.io/graphrag/posts/config/json_yaml/).
|