mirror of
https://github.com/langgenius/dify.git
synced 2026-10-04 13:47:55 +08:00
support rename document (#4915)
This commit is contained in:
1 parent
b6631cd878
commit
4e3b0c5aea
3 files changed
+47
No files matched your search
@@ -8,6 +8,7 @@ document_fields = {
|
||||
'position': fields.Integer,
|
||||
'data_source_type': fields.String,
|
||||
'data_source_info': fields.Raw(attribute='data_source_info_dict'),
|
||||
'data_source_detail_dict': fields.Raw(attribute='data_source_detail_dict'),
|
||||
'dataset_process_rule_id': fields.String,
|
||||
'name': fields.String,
|
||||
'created_from': fields.String,
|
||||
@@ -31,6 +32,7 @@ document_with_segments_fields = {
|
||||
'position': fields.Integer,
|
||||
'data_source_type': fields.String,
|
||||
'data_source_info': fields.Raw(attribute='data_source_info_dict'),
|
||||
'data_source_detail_dict': fields.Raw(attribute='data_source_detail_dict'),
|
||||
'dataset_process_rule_id': fields.String,
|
||||
'name': fields.String,
|
||||
'created_from': fields.String,
|
||||
|
||||
Reference in new issue
Block a user