2024-09-18 16:36:50 -07:00
|
|
|
# Config Breaking Changes
|
|
|
|
|
|
2024-11-05 12:05:19 -06:00
|
|
|
## New required Embeddings
|
|
|
|
|
|
|
|
|
|
### Change
|
|
|
|
|
|
|
|
|
|
- Added new required embeddings for `DRIFTSearch` and base RAG capabilities.
|
|
|
|
|
|
|
|
|
|
### Migration
|
|
|
|
|
|
|
|
|
|
- Run a new index, leveraging existing cache.
|
|
|
|
|
|
|
|
|
|
## Vector Store required by default
|
|
|
|
|
|
|
|
|
|
### Change
|
|
|
|
|
|
|
|
|
|
- Vector store is now required by default for all search methods.
|
|
|
|
|
|
|
|
|
|
### Migration
|
|
|
|
|
|
|
|
|
|
- Run graphrag init command to generate a new settings.yaml file with the vector store configuration.
|
|
|
|
|
- Run a new index, leveraging existing cache.
|
|
|
|
|
|
2024-09-18 16:36:50 -07:00
|
|
|
## Deprecate timestamp paths
|
|
|
|
|
|
|
|
|
|
### Change
|
|
|
|
|
|
2024-11-05 12:05:19 -06:00
|
|
|
- Remove support for timestamp paths, those using `${timestamp}` directory nesting.
|
2024-09-18 16:36:50 -07:00
|
|
|
- Use the same directory for storage output and reporting output.
|
|
|
|
|
|
|
|
|
|
### Migration
|
|
|
|
|
|
2024-11-05 12:05:19 -06:00
|
|
|
- Ensure output directories no longer use `${timestamp}` directory nesting.
|
2024-09-18 16:36:50 -07:00
|
|
|
|
|
|
|
|
**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`
|
|
|
|
|
|
2024-10-22 08:24:17 +09:00
|
|
|
[Full docs on using environment variables for configuration](https://microsoft.github.io/graphrag/config/env_vars/).
|
2024-09-18 16:36:50 -07:00
|
|
|
|
|
|
|
|
**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"
|
|
|
|
|
```
|
|
|
|
|
|
2024-11-15 14:33:26 -08:00
|
|
|
[Full docs on using YAML files for configuration](https://microsoft.github.io/graphrag/config/yaml/).
|