feat(openai): 新增语义槽相关接口

This commit is contained in:
Fu Diwei
2021-10-08 20:35:50 +08:00
parent 75bb97f2f3
commit 46353f749d
15 changed files with 376 additions and 5 deletions

View File

@@ -0,0 +1,4 @@
{
"id_list": [ 1 ],
"auto_delete_slot": true
}

View File

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

View File

@@ -0,0 +1,23 @@
{
"code": 0,
"data": {
"count": 1,
"list": [
{
"ask_content": [
"你好",
"又是愉快第一天"
],
"dicts": [
"test1",
"test2"
],
"name": "test",
"id": 1,
"type": 1
}
]
},
"msg": "Request succeeded",
"request_id": "255i0ug8-l9q4-3801-44ft-w7csjn9e5142"
}

View File

@@ -0,0 +1,11 @@
{
"data": [
{
"id": 1,
"name": "test",
"dicts": [ "test1", "test2" ],
"ask_content": [ "你好", "又是愉快第一天" ],
"intent_id": 12334
}
]
}

View File

@@ -0,0 +1,11 @@
{
"code": 0,
"data": [
{
"id": 251390,
"name": "test"
}
],
"msg": "",
"request_id": "255i0ug8-l9q4-3801-44ft-w7csjn9e5142"
}