feat(openai): 新增 v2 版机器人配置相关接口

This commit is contained in:
Fu Diwei
2024-06-05 17:49:28 +08:00
parent a92a602a71
commit ea25c0bf24
25 changed files with 546 additions and 19 deletions

View File

@@ -0,0 +1,10 @@
{
"code": 0,
"data": {
"end_time": "",
"progress": 100,
"status": 1
},
"msg": "success",
"request_id": "7df42cb2-e776-40ac-b0c4-8542aad2b0ec"
}

View File

@@ -0,0 +1,18 @@
{
"mode": 0,
"data": [
{
"skill": "AAA",
"intent": "BBC",
"threshold": "0.9",
"disable": true,
"questions": [
"q",
"q2"
],
"answers": [
"a"
]
}
]
}

View File

@@ -0,0 +1,8 @@
{
"code": 0,
"data": {
"task_id": "179ba14fae5f4028b7c00a180cf709e3"
},
"msg": "",
"request_id": "test123"
}