Skip to content

Commit

Permalink
fix: external dataset missing score_threshold_enabled (#10943)
Browse files Browse the repository at this point in the history
  • Loading branch information
hanqingwu authored Nov 21, 2024
1 parent cb0c55d commit 01014a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/fields/dataset_fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
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}
Expand Down

0 comments on commit 01014a6

Please sign in to comment.