29 lines
435 B
XML
29 lines
435 B
XML
{
|
|
"widgettype":"Form",
|
|
"options":{
|
|
"height":"70%",
|
|
"submit_url":"{{entire_url('api/query')}}",
|
|
"fields":[
|
|
{
|
|
"name":"prompt",
|
|
"uitype":"text",
|
|
"required":true
|
|
},
|
|
{
|
|
"name":"userid",
|
|
"uitype":"str",
|
|
"label":"用户id",
|
|
"value":"user1",
|
|
"required":true
|
|
},
|
|
{
|
|
"name":"kdbname",
|
|
"uitype":"str",
|
|
"label":"知识库名",
|
|
"required":true,
|
|
"value":"testdb"
|
|
}
|
|
]
|
|
}
|
|
}
|