f5tts/wwwroot/add.ui

32 lines
684 B
Plaintext
Raw Normal View History

2024-12-25 16:04:39 +08:00
{
"widgettype":"Form",
"options":{
"height":"70%",
"title":"向知识库添加文件",
"description":"可以添加的文件类型有:文本文件(.txt数据文件(.csv)excel文件.xlsx, .xls)word文件.doc, .docx), 演示文件(.ppt, .pptx), pdf文件",
"method":"POST",
"submit_url":"{{entire_url('api/add')}}",
"fields":[
{
"name":"file_path",
"uitype":"file",
"required":true
},
{
"name":"userid",
"uitype":"str",
"label":"用户id",
"value":"user1",
"required":true
},
{
"name":"kdbname",
"uitype":"str",
"label":"知识库名",
"required":true,
"value":"testdb"
}
]
}
}