fix score_threshold_enabled name (#1626)

Co-authored-by: jyong <jyong@dify.ai>
This commit is contained in:
Jyong
2023-11-27 15:34:45 +08:00
committed by GitHub
parent 603e55f252
commit 74b2260ba6
8 changed files with 19 additions and 19 deletions

View File

@@ -22,7 +22,7 @@ dataset_retrieval_model_fields = {
'reranking_enable': fields.Boolean,
'reranking_model': fields.Nested(reranking_model_fields),
'top_k': fields.Integer,
'score_threshold_enable': fields.Boolean,
'score_threshold_enabled': fields.Boolean,
'score_threshold': fields.Float
}