mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 11:42:29 +08:00
Merge branch 'fix/rerank-validation-issue' into deploy/dev
This commit is contained in:
commit
4c73bef12d
|
@ -49,8 +49,8 @@ const ParamsConfig = ({
|
|||
let errMsg = ''
|
||||
if (tempDataSetConfigs.retrieval_model === RETRIEVE_TYPE.multiWay) {
|
||||
if (tempDataSetConfigs.reranking_enable
|
||||
&& !tempDataSetConfigs.reranking_model?.reranking_model_name
|
||||
&& tempDataSetConfigs.reranking_mode === RerankingModeEnum.RerankingModel
|
||||
&& !isRerankDefaultModelValid
|
||||
)
|
||||
errMsg = t('appDebug.datasetConfig.rerankModelRequired')
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user