mirror of
https://github.com/microsoft/graphrag.git
synced 2026-02-10 04:54:17 +08:00
* Migrate towards using static output directories
- Fixes load_config eagering resolving directories.
Directories are only resolved when the output
directories are local.
- Add support for `--output` and `--reporting` flags
for index CLI. To achieve previous output structure
`index --output run1/artifacts --reports run1/reports`.
- Use static output directories when initializing
a new project.
- Maintains backward compatibility for those using
timestamp outputs locally.
* fix smoke tests
* update query cli to work with static directories
* remove eager path resolution from load_config. Support CLI overrides that can be resolved.
* add docs and output logs/artifacts to same directory
* use match statement
* switch back to if statement
---------
Co-authored-by: Alonso Guevara <alonsog@microsoft.com>
32 lines
846 B
YAML
32 lines
846 B
YAML
claim_extraction:
|
|
enabled: true
|
|
|
|
embeddings:
|
|
vector_store:
|
|
type: "azure_ai_search"
|
|
url: ${AZURE_AI_SEARCH_URL_ENDPOINT}
|
|
api_key: ${AZURE_AI_SEARCH_API_KEY}
|
|
collection_name: "simple_text_ci"
|
|
query_collection_name: "simple_text_ci_query"
|
|
store_in_table: True
|
|
|
|
entity_name_description:
|
|
title_column: "name"
|
|
|
|
community_reports:
|
|
prompt: "prompts/community_report.txt"
|
|
max_length: 2000
|
|
max_input_length: 8000
|
|
|
|
|
|
storage:
|
|
type: file # or blob
|
|
base_dir: "output/${timestamp}/artifacts"
|
|
# connection_string: <azure_blob_storage_connection_string>
|
|
# container_name: <azure_blob_storage_container_name>
|
|
|
|
reporting:
|
|
type: file # or console, blob
|
|
base_dir: "output/${timestamp}/reports"
|
|
# connection_string: <azure_blob_storage_connection_string>
|
|
# container_name: <azure_blob_storage_container_name> |