refactor(openai): 重新实现请求加密 XML 序列化的方式

This commit is contained in:
Fu Diwei
2022-11-21 15:56:59 +08:00
parent 154eea7ac2
commit 9741b34642
40 changed files with 312 additions and 136 deletions

View File

@@ -0,0 +1,28 @@
{
"managerid": "平台管理员ID",
"skill": [
{
"skillname": "技能名称1",
"title": "标准问题2",
"question": [
"相似问题1",
"相似问题2",
"相似问题3"
],
"answer": [
"1",
"2"
]
},
{
"skillname": "技能名称1",
"title": "标准问题3",
"question": [
"相似问题1"
],
"answer": [
"1"
]
}
]
}

View File

@@ -0,0 +1,12 @@
{
"appid": "wxxxxx",
"category": "完件",
"label": "完成",
"desc": "在 app 中完成了用户信息",
"list": {
"openid": [
"openid_1",
"openid_2"
]
}
}

View File

@@ -0,0 +1,3 @@
{
"managerid": "平台管理员ID"
}

View File

@@ -0,0 +1,10 @@
{
"errcode": 1001,
"errmsg": "TOKEN is not valid",
"code": 0,
"data": {
"progress": 100,
"status": 1
},
"msg": "success"
}

View File

@@ -0,0 +1,3 @@
{
"managerid": "平台管理员ID"
}

View File

@@ -0,0 +1,12 @@
{
"managerid": "平台管理员ID",
"skillname": "技能名称",
"title": "标准问题",
"content": "自动回答的内容",
"list": {
"question": [
"相似问题1",
"相似问题2"
]
}
}

View File

@@ -0,0 +1,5 @@
{
"msgid": "WtxsA9ENwZtFdjK",
"feedbackResult": 1,
"updateAt": 1653496004
}

View File

@@ -0,0 +1,11 @@
{
"pageNo": 1,
"pageSize": 10,
"matchType": 0,
"cluesType": 0,
"reportType": 0,
"date": "2021-07-19",
"openid": "abcdasdf123123asldjfalsjdf",
"clusterId": "10971,10971,openaiquerycluster_10971_a32bfe917bbae4b6d09b90482c33c4b6",
"hotQuesCluster": "遇到难以解决问题,请<a href=\"weixin://dl/help\">轻按此处</a>反馈给我们,我们会第一时间处理。"
}

View File

@@ -0,0 +1,9 @@
{
"pageNo": 1,
"pageSize": 10,
"matchType": 0,
"cluesType": 0,
"reportType": 0,
"date": "2021-07-19",
"openid": "abcdasdf123123asldjfalsjdf"
}

View File

@@ -0,0 +1,3 @@
{
"userid": "xxxxx"
}

View File

@@ -0,0 +1,3 @@
{
"redirectlink": "https://xxx.com/xxx"
}

View File

@@ -0,0 +1,3 @@
{
"title": "xxx客服"
}

View File

@@ -0,0 +1,3 @@
{
"authorizer_appid": "https://xxx.com/xxx"
}

View File

@@ -0,0 +1,5 @@
{
"appid": "wxxxxx",
"openid": "xxxxx",
"kefustate": "needperson"
}

View File

@@ -0,0 +1,4 @@
{
"appid": "wxxxxx",
"openid": "xxxxx"
}

View File

@@ -0,0 +1,9 @@
{
"appid": "wxxxxx",
"openid": "xxxxx",
"msg": "您好,请问需要什么帮助",
"channel": 0,
"kefuname": "客服昵称",
"kefuavatar": "客服头像图片 URL 地址",
"ans_node_name": "分类或技能名称"
}