mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-14 18:45:56 +08:00
fix: missed rerank_mode when convert to DatasetEntity (#7269)
This commit is contained in:
parent
ba79088ffc
commit
101db126c8
@ -93,6 +93,7 @@ class DatasetConfigManager:
|
|||||||
reranking_model=dataset_configs.get('reranking_model'),
|
reranking_model=dataset_configs.get('reranking_model'),
|
||||||
weights=dataset_configs.get('weights'),
|
weights=dataset_configs.get('weights'),
|
||||||
reranking_enabled=dataset_configs.get('reranking_enabled', True),
|
reranking_enabled=dataset_configs.get('reranking_enabled', True),
|
||||||
|
rerank_mode=dataset_configs["reranking_mode"],
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user