bugfix
This commit is contained in:
parent
f4c8252c52
commit
5bf16f60ec
@ -5,7 +5,7 @@
|
||||
"title":"向知识库添加文件",
|
||||
"description":"可以添加的文件类型有:文本文件(.txt),数据文件(.csv),excel文件(.xlsx, .xls),word文件(.doc, .docx), 演示文件(.ppt, .pptx), pdf文件",
|
||||
"method":"POST",
|
||||
"submit_url":"{{entire_url('api/add')}}",
|
||||
"submit_url":"{{entire_url('v1/add')}}",
|
||||
"fields":[
|
||||
{
|
||||
"name":"file_path",
|
||||
|
@ -15,7 +15,7 @@
|
||||
"title":"添加播音员",
|
||||
"method":"POST",
|
||||
"description":"通过输入播音员id,录音和录音文字说明,来添加播音员",
|
||||
"submit_url":"{{entire_url('/api/addvoice')}}",
|
||||
"submit_url":"{{entire_url('/v1/addvoice')}}",
|
||||
"fields":[
|
||||
{
|
||||
"name":"speaker",
|
||||
|
@ -2,7 +2,7 @@
|
||||
"widgettype":"Form",
|
||||
"options":{
|
||||
"height":"70%",
|
||||
"submit_url":"{{entire_url('api/query')}}",
|
||||
"submit_url":"{{entire_url('v1/query')}}",
|
||||
"fields":[
|
||||
{
|
||||
"name":"prompt",
|
||||
|
@ -12,7 +12,7 @@
|
||||
"widgettype":"Form",
|
||||
"id":"form",
|
||||
"options":{
|
||||
"submit_url":"{{entire_url('/api/inference')}}",
|
||||
"submit_url":"{{entire_url('/v1/inference')}}",
|
||||
"fields":[
|
||||
{
|
||||
"name":"speaker",
|
||||
|
@ -13,7 +13,7 @@
|
||||
"id":"form",
|
||||
"options":{
|
||||
"title":"流式返回",
|
||||
"submit_url":"{{entire_url('/api/infer_stream')}}",
|
||||
"submit_url":"{{entire_url('/v1/infer_stream')}}",
|
||||
"fields":[
|
||||
{
|
||||
"name":"speaker",
|
||||
|
Loading…
Reference in New Issue
Block a user