mirror of
https://github.com/langgenius/dify.git
synced 2026-10-04 13:47:55 +08:00
fix:weight_type missing when create document in dataset (#16503)
This commit is contained in:
1 parent
1907d2a90a
commit
ae5d2ecf48
3 files changed
+5
No files matched your search
@@ -24,6 +24,7 @@ vector_setting_fields = {
|
||||
}
|
||||
|
||||
weighted_score_fields = {
|
||||
"weight_type": fields.String,
|
||||
"keyword_setting": fields.Nested(keyword_setting_fields),
|
||||
"vector_setting": fields.Nested(vector_setting_fields),
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user