feat(openai): 拆分平台接入和第三方接入的相关接口

This commit is contained in:
Fu Diwei
2021-10-11 22:53:34 +08:00
parent 1ca9cae514
commit 1df35b5d3a
372 changed files with 2024 additions and 1871 deletions

View File

@@ -0,0 +1,3 @@
{
"id_list": [ 1, 2, 3 ]
}

View File

@@ -0,0 +1,5 @@
{
"code": 0,
"msg": "请求成功",
"request_id": "255i0ug8-l9q4-3801-44ft-w7csjn9e5142"
}

View File

@@ -0,0 +1,8 @@
{
"code": 0,
"msg": "请求成功",
"data": {
"task_id": "337cd9d9-210c-4a59-972e-1c8df8c18adb"
},
"request_id": "255i0ug8-l9q4-3801-44ft-w7csjn9e5142"
}

View File

@@ -0,0 +1,10 @@
{
"mode": 0,
"dict_id": 1,
"data": [
{
"word": "AAA",
"synonyms": [ "AA", "A" ]
}
]
}

View File

@@ -0,0 +1,8 @@
{
"code": 0,
"data": {
"task_id": "255i0ug8-l9q4-3801-44ft-w7csjn9e5142"
},
"msg": "",
"request_id": "255i0ug8-l9q4-3801-44ft-w7csjn9e5142"
}

View File

@@ -0,0 +1,5 @@
{
"dict_id": 1,
"file_key": "fe48940d7310e79d6bf0a4aced56d522",
"cover": false
}

View File

@@ -0,0 +1,8 @@
{
"code": 0,
"msg": "请求成功",
"data": {
"task_id": "337cd9d9-210c-4a59-972e-1c8df8c18adb"
},
"request_id": "255i0ug8-l9q4-3801-44ft-w7csjn9e5142"
}

View File

@@ -0,0 +1,12 @@
{
"dict_id": 1,
"data": [
{
"id": 1,
"name": "test",
"weight": 0.8,
"switch": true,
"synonyms": [ "你好", "又是愉快第一天" ]
}
]
}

View File

@@ -0,0 +1,5 @@
{
"code": 0,
"msg": "请求成功",
"request_id": "255i0ug8-l9q4-3801-44ft-w7csjn9e5142"
}