Skip to content

Commit 1b55972

Browse files
authored
Update create_pipeline_config.py (#1108)
* Update create_pipeline_config.py Order switched to ensure that user settings at runtime take precedence. * Updated semversioner.
1 parent 27c5468 commit 1b55972

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type": "minor",
3+
"description": "Update create_pipeline_config.py"
4+
}

graphrag/index/create_pipeline_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ def _get_embedding_settings(
274274
#
275275
strategy = settings.resolved_strategy() # get the default strategy
276276
strategy.update({
277-
"vector_store": {**vector_store_settings, **(vector_store_params or {})}
277+
"vector_store": {**(vector_store_params or {}), **vector_store_settings}
278278
}) # update the default strategy with the vector store settings
279279
# This ensures the vector store config is part of the strategy and not the global config
280280
return {

0 commit comments

Comments
 (0)