feat(openai): 移除第三方接入方式的相关接口模型,并重命名原平台接入方式的相关接口模型

This commit is contained in:
Fu Diwei
2022-11-21 11:30:38 +08:00
parent 922e70f8db
commit 16aaeb3c31
358 changed files with 373 additions and 8040 deletions

View File

@@ -1,3 +0,0 @@
{
"channelId": "sXRdXepMU58WyAV3xgT2F14PzXi4ya"
}

View File

@@ -1,17 +0,0 @@
{
"code": 0,
"data": {
"list": [
{
"source": 1,
"msgType": "text",
"welcomeMsg": "你好",
"msgId": "5248",
"label": "全部",
"newSendInterval": 0
}
],
"total": 1
},
"request_id": "18024ec0-837e-4873-825a-922247d4e57f"
}

View File

@@ -1,9 +0,0 @@
{
"channelId": "sXRdXepMU58WyAV3xgT2F14PzXi4ya",
"msgType": "text",
"newSendInterval": 0,
"source": 1,
"welcomeMsg": "你好",
"lableId": "",
"msgId": "5500"
}

View File

@@ -1,4 +0,0 @@
{
"code": 0,
"request_id": "f9da2eba-98f9-4b51-a68c-5bc7c537e539"
}

View File

@@ -1,10 +0,0 @@
{
"code": 0,
"msg": "",
"data": {
"cost": "22496769ms",
"progress": "100/100",
"state": 2,
"url": "http://openai-75050.gzc.vod.tencent-cloud.com/40238_knowledge1588562918359.csv"
}
}

View File

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

View File

@@ -1,9 +0,0 @@
{
"code": 0,
"msg": "success",
"data": {
"progress": 100,
"status": 1
},
"request_id": "255i0ug8-l9q4-3801-44ft-w7csjn9e5142"
}

View File

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

View File

@@ -1,19 +0,0 @@
{
"code": 0,
"data": {
"default_answer": null,
"default_answer_switch": true,
"id": "3yrw9n5uknsox1pwzyz9ohb2eu4ta4wo",
"name_ch": "测试bot000121",
"name_en": "testBot000121",
"nickname": null,
"similar_question_recommend_num": 5,
"similarity": 0.9,
"similarity_low": 0.7,
"user_feedback": false,
"industry": 2,
"bot_type": 0
},
"msg": "请求成功",
"request_id": "255i0ug8-l9q4-3801-44ft-w7csjn9e5142"
}

View File

@@ -1,6 +0,0 @@
{
"keyword": "测试",
"page": 1,
"size": 10,
"bot_type": -1
}

View File

@@ -1,40 +0,0 @@
{
"code": 0,
"data": {
"count": 4,
"default_bot_count": 3,
"live_bot_count": 1,
"list": [
{
"id": "3yrw9n5uknsox1pwzyz9ohb2eu4ta4wo",
"name_ch": "测试bot000121",
"name_en": "testBot000121",
"auth": 200,
"bot_type": 0
},
{
"id": "sbcvmbvxrdkjg0axix5c9driwfwqbkum",
"name_ch": "测试bot0001211",
"name_en": "testBot0001211",
"auth": 200,
"bot_type": 1
},
{
"id": "td6kko408oo5afll4b7dh3l3ybmtsrgi",
"name_ch": "测试bot000111",
"name_en": "testBot00211",
"auth": 200,
"bot_type": 0
},
{
"id": "81wfgwcjmenfs3kkapwa97hwqfnrbu1z",
"name_ch": "测试bot00013",
"name_en": "testBot00013",
"auth": 200,
"bot_type": 0
}
]
},
"msg": "success",
"request_id": "255i0ug8-l9q4-3801-44ft-w7csjn9e5142"
}

View File

@@ -1,13 +0,0 @@
{
"mode": 0,
"data": [
{
"skill": "吃啥",
"intent": "中午吃什么",
"threshold": "0.9",
"disable": false,
"questions": ["中午吃什么?", "中午吃啥?"],
"answers": ["面条", "包子"]
}
]
}

View File

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

View File

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

View File

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

View File

@@ -1,34 +0,0 @@
{
"code": 0,
"data": {
"count": 3,
"list": [
{
"created_time": "2020-08-21 18:00:51",
"description": "",
"id": "65",
"open_id": "123456",
"status": 8,
"sync_status": 0
},
{
"created_time": "2020-08-21 19:00:52",
"description": "",
"id": "79",
"open_id": "123456",
"status": 8,
"sync_status": 1
},
{
"created_time": "2020-08-21 20:00:53",
"description": "",
"id": "555",
"open_id": "123456",
"status": 9,
"sync_status": 2
}
]
},
"msg": "success",
"request_id": "255i0ug8-l9q4-3801-44ft-w7csjn9e5142"
}

View File

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

View File

@@ -1,13 +0,0 @@
{
"name_ch": "中文234",
"name_en": "en134",
"nickname": "测试",
"default_answer": "你好",
"default_answer_switch": true,
"similarity": 0.9,
"similarity_low": 0.7,
"similar_question_recommend_num": 5,
"user_feedback": true,
"industry": 2,
"bot_type": 0
}

View File

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

View File

@@ -1,18 +0,0 @@
{
"code": 0,
"data": {
"ans_node_id": 9620273,
"ans_node_name": "吃啥",
"answer": "包子",
"answer_type": "text",
"bot_state": {
"err_msg": "",
"last_effective_time": "20210827113707"
},
"create_time": "1630035702",
"status": "GENERAL_FAQ",
"title": "中午吃什么"
},
"msg": "",
"request_id": "32482"
}

View File

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

View File

@@ -1,32 +0,0 @@
{
"code": 0,
"data": {
"sys": {
"count": 243,
"list": [
{
"id": 1,
"name_ch": "时间范围类",
"name_en": "$vd_time_range"
}
]
},
"user": {
"count": 19,
"list": [
{
"id": 100765,
"name_ch": "美美美",
"name_en": "mmm"
},
{
"id": 100783,
"name_ch": "测试重复词条",
"name_en": "testduplacte"
}
]
}
},
"msg": "",
"request_id": ""
}

View File

@@ -1,18 +0,0 @@
{
"code": 0,
"data": {
"count": 2,
"list": [
{
"name_ch": "测试词典000411",
"name_en": "testDict000411"
},
{
"name_ch": "中文版但是",
"name_en": "fdfewf"
}
]
},
"msg": "请求成功",
"request_id": "255i0ug8-l9q4-3801-44ft-w7csjn9e5142"
}

View File

@@ -1,5 +0,0 @@
{
"keyword": "",
"page": 1,
"size": 2
}

View File

@@ -1,20 +0,0 @@
{
"code": 0,
"data": {
"count": 19,
"list": [
{
"id": 100765,
"name_ch": "美美美",
"name_en": "mmm"
},
{
"id": 100783,
"name_ch": "测试重复词条",
"name_en": "testduplacte"
}
]
},
"msg": "",
"request_id": ""
}

View File

@@ -1,14 +0,0 @@
{
"data": [
{
"id": 1,
"name_en": "test1",
"name_ch": "测试1"
},
{
"id": 2,
"name_en": "test2",
"name_ch": "测试2"
}
]
}

View File

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

View File

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

View File

@@ -1,129 +0,0 @@
{
"code": 0,
"msg": "请求成功",
"request_id": "255i0ug8-l9q4-3801-44ft-w7csjn9e5142",
"data": {
"slots": [
{
"name": "城市",
"dicts": ["建筑", "公路"],
"keep_ask": true,
"ask_content": ["建筑1", "公路1"]
}
],
"pre": [
{
"skill": "音乐",
"intent": "点播"
}
],
"next": [
{
"skill": "天气",
"intent": "询问"
}
],
"keep_ask": true,
"keep_ask_num": 10,
"answer_config_type": 4,
"dynamic_ask_answer_config": {
"api": "_dynamic_list_selection_{}",
"question": "AskAnswerConfigQuestion",
"result": [
{
"code": "0",
"desc": "",
"answer_config_type": 3,
"answer": "",
"ask_answer_config": {
"api": "_bot_ask_{}",
"question": "AskAnswerConfigQuestion",
"result": [
{
"code": "0",
"desc": "",
"answer_config_type": 2,
"answer": "",
"ask_slot_answer_config": {
"api": "_bot_getinfo_{}",
"arguments": [
{
"name": "",
"slot": "Slot",
"ask_content": ["111", "222"]
}
],
"result": [
{
"code": "0",
"desc": "",
"answer_config_type": 1,
"answer": "",
"api_answer_config": {
"api": "_http_service_{}",
"need_confirm": true,
"need_confirm_response": "城市好啊",
"http_method": "get",
"http_url": "HttpUrl111",
"arguments": {
"input": [
{
"name": "InputName",
"input": true,
"desc": "Inputdesc",
"slot": "InputSlot",
"default_value": "defa",
"ask_content": [
"ask"
]
}
],
"output": [
{
"name": "OutputName",
"input": false,
"desc": "desc",
"slot": "OutputSlot",
"default_value": ""
}
]
},
"result": [
{
"code": "0",
"desc": "",
"answer_config_type": 0,
"answer": "",
"normal_answer_config": {
"merge_answer": true,
"answer": [
{
"type": 0,
"content": "我在哪"
},
{
"type": 1,
"content": {
"title": "我是h5",
"description": "我是Description",
"url": "我是Url",
"pic_url": "我是PicUrl",
"type": "h5"
}
}
]
}
}
]
}
}
]
}
}
]
}
}
]
}
}
}

View File

@@ -1,113 +0,0 @@
{
"intent_id": 9617433,
"skill_id": 1549251,
"slots": [
{
"name": "城市",
"dicts": ["建筑", "公路"],
"keep_ask": true,
"ask_content": ["建筑1", "公路1"]
}
],
"pre": [
{
"skill": "音乐",
"intent": "点播"
}
],
"next": [
{
"skill": "天气",
"intent": "询问"
}
],
"keep_ask": true,
"keep_ask_num": 10,
"answer_config_type": 4,
"dynamic_ask_answer_config": {
"api": "_dynamic_list_selection_{}",
"question": "AskAnswerConfig Question",
"result": [
{
"code": "0",
"desc": "",
"answer_config_type": 3,
"answer": "",
"ask_answer_config": {
"api": "_bot_ask_{}",
"question": "AskAnswerConfig Question",
"result": [
{
"code": "0",
"desc": "",
"answer_config_type": 2,
"answer": "",
"ask_slot_answer_config": {
"api": "_bot_getinfo_{}",
"arguments": [
{
"name": "",
"slot": "Slot",
"ask_content": ["111", "222"]
}
],
"result": [
{
"code": "0",
"desc": "",
"answer_config_type": 1,
"answer": "",
"api_answer_config": {
"api": "_http_service_{}",
"need_confirm": true,
"need_confirm_response": "城市好啊",
"http_method": "get",
"http_url": "HttpUrl111",
"arguments": {
"input": [
{
"name": "Input Name",
"input": true,
"desc": "Input desc",
"slot": "Input Slot",
"default_value": "defa",
"ask_content": ["ask"]
}
],
"output": [
{
"name": "Output Name",
"input": false,
"desc": "desc",
"slot": "Output Slot",
"default_value": ""
}
]
},
"result": [
{
"code": "0",
"desc": "",
"answer_config_type": 0,
"answer": "",
"normal_answer_config": {
"merge_answer": true,
"answer": [
{
"content": "我在哪"
}
]
}
}
]
}
}
]
}
}
]
}
}
]
}
}

View File

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

View File

@@ -1,3 +0,0 @@
{
"id_list": [1205882, 1205883, 1205884]
}

View File

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

View File

@@ -1,24 +0,0 @@
{
"code": 0,
"data": {
"id": 6326248,
"name": "温度bab1",
"questions": [
{
"counter_example": true,
"id": 92,
"question": "今天温度怎么样e",
"rank_level": 1,
"threshold": 0.9
}
],
"rank_level": 1,
"skill_id": 1205882,
"switch": false,
"threshold": 0.9,
"frequency": 0,
"updated_time": 1588931008
},
"msg": "请求成功",
"request_id": "255i0ug8-l9q4-3801-44ft-w7csjn9e5142"
}

View File

@@ -1,4 +0,0 @@
{
"skill_id": 1548171,
"intent_name": "温度"
}

View File

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

View File

@@ -1,20 +0,0 @@
{
"intent_list": [
{
"intent_id": 0,
"skill_id": 1,
"name": "测试创建意图1",
"rank_level": 0.65,
"threshold": 0.7,
"switch": false
},
{
"intent_id": 0,
"skill_id": 1,
"name": "测试创建意图2",
"rank_level": 0.75,
"threshold": 0.7,
"switch": true
}
]
}

View File

@@ -1,18 +0,0 @@
{
"code": 0,
"msg": "success",
"request_id": "255i0ug8-l9q4-3801-44ft-w7csjn9e5142",
"data": {
"count": 2,
"list": [
{
"intent_id": 45,
"intent_name": "测试创建意图1"
},
{
"intent_id": 20,
"intent_name": "测试创建意图2"
}
]
}
}

View File

@@ -1,5 +0,0 @@
{
"keyword": "测试",
"page": 1,
"size": 10
}

View File

@@ -1,28 +0,0 @@
{
"code": 0,
"data": {
"count": 3,
"list": [
{
"intent_id": 1516,
"intent_name": "笑什么?",
"skill_id": 7895,
"skill_name": "测试技能4"
},
{
"intent_id": 1517,
"intent_name": "测试意图333",
"skill_id": 7899,
"skill_name": "技能5"
},
{
"intent_id": 2,
"intent_name": "测试意图666",
"skill_id": 7899,
"skill_name": "技能5"
}
]
},
"msg": "请求成功",
"request_id": "255i0ug8-l9q4-3801-44ft-w7csjn9e5142"
}

View File

@@ -1,12 +0,0 @@
{
"switch_list": [
{
"id": 1205882,
"switch": true
},
{
"id": 1205883,
"switch": false
}
]
}

View File

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

View File

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

View File

@@ -1,23 +0,0 @@
{
"mode": 0,
"skill_id": 16579,
"skill_name": "",
"intent_id": 1205882,
"intent_name": "",
"data": [
{
"id": 0,
"question": "天气",
"rank_level": 0.9,
"threshold": 0.8,
"counter_example": false
},
{
"id": 0,
"question": "温度",
"rank_level": 0.8,
"threshold": 0.8,
"counter_example": false
}
]
}

View File

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

View File

@@ -1,7 +0,0 @@
{
"name": "张三",
"phone": "18833008888",
"wechat": "aaaa",
"email": "123@qq.com",
"address": "北京市海淀区中国技术交易大厦F7"
}

View File

@@ -1,10 +0,0 @@
{
"code": 0,
"msg": "请求成功",
"request_id": "255i0ug8-l9q4-3801-44ft-w7csjn9e5142",
"data": {
"appid": "5i2YaWnq56844yh",
"token": "d9tvK4Z3jHp0SW3758x89550oj789k",
"aes_key": "lKq5xB3W675330C6ftaLm3n3gb450Iz4ee880K2Hz16"
}
}

View File

@@ -1,10 +0,0 @@
{
"code": 0,
"msg": "请求成功",
"request_id": "255i0ug8-l9q4-3801-44ft-w7csjn9e5142",
"data": {
"appid": "5i2YaWnq56844yh",
"token": "d9tvK4Z3jHp0SW3758x89550oj789k",
"aes_key": "lKq5xB3W675330C6ftaLm3n3gb450Iz4ee880K2Hz16"
}
}

View File

@@ -1,10 +0,0 @@
{
"code": 0,
"msg": "请求成功",
"request_id": "255i0ug8-l9q4-3801-44ft-w7csjn9e5142",
"data": {
"appid": "5i2YaWnq56844yh",
"token": "d9tvK4Z3jHp0SW3758x89550oj789k",
"aes_key": "lKq5xB3W675330C6ftaLm3n3gb450Iz4ee880K2Hz16"
}
}

View File

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

View File

@@ -1,6 +0,0 @@
{
"skill_id": 1243671,
"keyword": "",
"page": 1,
"size": 1
}

View File

@@ -1,38 +0,0 @@
{
"code": 0,
"data": {
"intents": {
"count": 4559,
"list": [
{
"created_time": 1604308818,
"id": 7541523,
"name": "什么是正教?",
"rank_level": 0.8,
"skill_id": 1243671,
"switch": true,
"threshold": 0.8,
"updated_time": 1604309309
}
]
},
"skill": {
"awaken_answer": [],
"awaken_word": "",
"cancel_answer": [],
"cancel_intent_operation": false,
"exist_answer": [],
"exist_word": "",
"id": 1243671,
"intent_count": 0,
"max_round": 10,
"name": "知识图谱",
"no_cancel_answer": [],
"switch": true,
"type": 0,
"wake_open": false
}
},
"msg": "success",
"request_id": "255i0ug8-l9q4-3801-44ft-w7csjn9e5142"
}

View File

@@ -1,4 +0,0 @@
{
"skill_type": 0,
"keyword": "天气"
}

View File

@@ -1,26 +0,0 @@
{
"code": 0,
"data": {
"count": 2,
"list": [
{
"id": 1205880,
"intent_count": 0,
"no_answer_intent_count": 0,
"type": 1,
"name": "天气询问",
"max_round": 10,
"wake_open": true,
"awaken_word": "你好",
"awaken_answer": ["有什么可以帮忙的吗"],
"exist_word": "再见",
"exist_answer": ["祝您好运"],
"cancel_intent_operation": true,
"cancel_answer": ["已取消"],
"no_cancel_answer": ["没有可以取消的内容"]
}
]
},
"msg": "请求成功",
"request_id": "255i0ug8-l9q4-3801-44ft-w7csjn9e5142"
}

View File

@@ -1,14 +0,0 @@
{
"id": 1205880,
"type": 1,
"name": "天气询问",
"max_round": 10,
"wake_open": true,
"awaken_word": "你好",
"awaken_answer": ["有什么可以帮忙的吗"],
"exist_word": "再见",
"exist_answer": ["祝您好运"],
"cancel_intent_operation": true,
"cancel_answer": ["已取消"],
"no_cancel_answer": ["没有可以取消的内容"]
}

View File

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

View File

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

View File

@@ -1,11 +0,0 @@
{
"skill_id": "21c705957fc5af9fc32e",
"on_bot_id_list": [
"1dzcmrij0zyvexs4llblxepwclfvnq3fv",
"2dzcmrij0zyvexs4llblxepwclfvnq3fv"
],
"off_bot_id_list": [
"dzcmrij0zyvexs4llblxepwclfvnq3fv",
"3dzcmrij0zyvexs4llblxepwclfvnq3fv"
]
}

View File

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

View File

@@ -1,11 +0,0 @@
{
"skill_name": "天气",
"on_bot_id_list": [
"1dzcmrij0zyvexs4llblxepwclfvnq3fv",
"2dzcmrij0zyvexs4llblxepwclfvnq3fv"
],
"off_bot_id_list": [
"dzcmrij0zyvexs4llblxepwclfvnq3fv",
"3dzcmrij0zyvexs4llblxepwclfvnq3fv"
]
}

View File

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

View File

@@ -1,7 +0,0 @@
{
"category": "",
"keyword": "",
"order": 1,
"page": 1,
"size": 10
}

View File

@@ -1,27 +0,0 @@
{
"code": 0,
"data": {
"count": 6,
"list": [
{
"acquired": false,
"bot_info": {
"count": 2,
"on_num": 1
},
"bot_name": "讲笑话机器人",
"category": "游戏",
"desc": "提供多种娱乐技能,具体包括:讲情话、夸夸我、讲笑话、玩成语接龙等互动娱乐技能。其中擅长讲笑话,尤其是冷笑话;擅长讲情话,尤其是土味情话;还能提供花式夸人,玩成语接龙游戏等技能。",
"hot": 0,
"skill_id": "buarvgld1evpg4faxacg",
"skill_name": "小微欢乐多",
"state": 0,
"statement_case_list": ["讲笑话", "讲情话"],
"switch": true,
"update_time": "2020-07-29 11:38:39"
}
]
},
"msg": "success",
"request_id": "255i0ug8-l9q4-3801-44ft-w7csjn9e5142"
}

View File

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

View File

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

Some files were not shown because too many files have changed in this diff Show More