fix: external dataset missing score_threshold_enabled (#10943)

This commit is contained in:
cooper.wu 2024-11-21 18:01:47 +08:00 committed by GitHub
parent cb0c55daa7
commit 01014a6a84
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -41,6 +41,7 @@ dataset_retrieval_model_fields = {
external_retrieval_model_fields = {
"top_k": fields.Integer,
"score_threshold": fields.Float,
"score_threshold_enabled": fields.Boolean,
}
tag_fields = {"id": fields.String, "name": fields.String, "type": fields.String}