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