mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-12 12:29:00 +08:00
fix: external dataset missing score_threshold_enabled (#10943)
This commit is contained in:
parent
cb0c55daa7
commit
01014a6a84
@ -41,6 +41,7 @@ dataset_retrieval_model_fields = {
|
|||||||
external_retrieval_model_fields = {
|
external_retrieval_model_fields = {
|
||||||
"top_k": fields.Integer,
|
"top_k": fields.Integer,
|
||||||
"score_threshold": fields.Float,
|
"score_threshold": fields.Float,
|
||||||
|
"score_threshold_enabled": fields.Boolean,
|
||||||
}
|
}
|
||||||
|
|
||||||
tag_fields = {"id": fields.String, "name": fields.String, "type": fields.String}
|
tag_fields = {"id": fields.String, "name": fields.String, "type": fields.String}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user