fix score_threshold_enabled name (#1626)
Co-authored-by: jyong <jyong@dify.ai>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user