8.3返回結果示例
系統錯誤
{ ????"aiResult":?null, ????"answerTypeId":?1, ????"protocolId":?6, ????"result":?0, ????"sendTime":?1497964097631, ????"serviceLogId":?"6c68e96b486b48a89d291c6f2d5c0771", ????"singleNode":?{ ????????"answerMsg":?"對不起,服務器繁忙,請過會兒再試?。?!", ????????"cmd":?null, ????????"isRichText":?0, ????????"list":?null, ????????"question":?"阿什頓飛", ????????"score":?0, ????????"standardQuestion":?"", ????????"standardQuestionId":?null ????}, ????"vagueNode":?null }
有敏感詞
{ ????"aiResult":?null, ????"answerTypeId":?2, ????"protocolId":?6, ????"result":?0, ????"sendTime":?1497964765250, ????"serviceLogId":?"50389a9eaa2f88705d0963849891191e", ????"singleNode":?{ ????????"answerMsg":?"你的表達太深奧,我很難理解。", ????????"cmd":?null, ????????"isRichText":?0, ????????"list":?null, ????????"question":?"挨了一炮", ????????"score":?0, ????????"standardQuestion":?"", ????????"standardQuestionId":?null ????}, ????"vagueNode":?null }
無法回答
{ ????"aiResult":?"null", ????"answerTypeId":?3, ????"protocolId":?6, ????"result":?0, ????"sendTime":?1497964814512, ????"serviceLogId":?"16e6aa35202653effb105b83211a2c4e?", ????"singleNode":?{ ????????"answerMsg":?"抱歉,機器人無法理解您的意思,請換一種問法試試!", ????????"cmd":?null, ????????"isRichText":?0, ????????"list":?null, ????????"question":?"你好", ????????"score":?0, ????????"standardQuestion":?"", ????????"standardQuestionId":?null ????}, ????"vagueNode":?null }
需要補問
{ ????"aiResult":?null, ????"answerTypeId":?4, ????"protocolId":?6, ????"result":?0, ????"sendTime":?1497964994992, ????"serviceLogId":?"0bf70bf1913913972cbe5f1368969f34", ????"singleNode":?{ ????????"answerMsg":?"你是哪個方向的車次", ????????"cmd":?"", ????????"isRichText":?0, ????????"list":?null, ????????"question":?"中國人壽發展歷史", ????????"score":?100, ????????"standardQuestion":?"中國人壽發展歷史", ????????"standardQuestionId":?"ff8080815cbed5a3015cc0b463d60346" ????}, ????"vagueNode":?{ ????????"endVagueMsg":?"", ????????"itemList":?[], ????????"promptVagueMsg":?"您是否想知道:", ????????"vagueList":?[] ????} }
問題多選
{ ????"aiResult":?"null", ????"answerTypeId":?5, ????"protocolId":?6, ????"result":?0, ????"sendTime":?1497964955383, ????"serviceLogId":?"487ac4e7fd1270fcf195764e89bf2293", ????"singleNode":?{ ????????"answerMsg":?"", ????????"cmd":?null, ????????"isRichText":?0, ????????"list":?null, ????????"question":?"國壽", ????????"score":?0, ????????"standardQuestion":?null, ????????"standardQuestionId":?null ????}, ????"vagueNode":?{ ????????"endVagueMsg":?"", ????????"itemList":?[ ????????????{ ????????????????"id":?"ff8080815cbed5a3015cc0b463d60346", ????????????????"num":?1, ????????????????"question":?"中國人壽發展歷史", ????????????????"score":?44.7655482829892, ????????????????"type":?1 ????????????}, ????????????{ ????????????????"id":?"ff8080815cbed5a3015cc0b464ca04e0", ????????????????"num":?2, ????????????????"question":?"中國人壽企業文化", ????????????????"score":?40.481366108250974, ????????????????"type":?1 ????????????}, ????????????{ ????????????????"id":?"ff8080815cbed5a3015cc0b463027fde", ????????????????"num":?3, ????????????????"question":?"哪些產品具有現金價值", ????????????????"score":?36.199432137705465, ????????????????"type":?1 ????????????} ????????], ????????"promptVagueMsg":?"您是否想知道:", ????????"vagueList":?[ ????????????"中國人壽發展歷史", ????????????"中國人壽企業文化", ????????????"哪些產品具有現金價值" ????????] ????} }
能夠回答
純文本回復
{
? ? "aiResult": null,
? ? "answerTypeId": 6,
? ? "protocolId": 6,
? ? "result": 0,
? ? "sendTime": 1497964994992,
? ? "serviceLogId": "ae12d569d1677ebb837bd87d4e9003dc",
? ? "singleNode": {
? ? ? ? "answerMsg":"
]]>
? ? ? ? "cmd": "",
? ? ? ? "isRichText": 1,
? ? ? ? "list": null,
? ? ? ? "question": "中國人壽發展歷史",
? ? ? ? "score": 100,
? ? ? ? "standardQuestion": "中國人壽發展歷史",
? ? ? ? "standardQuestionId": "ff8080815cbed5a3015cc0b463d60346"
? ? },
? ? "vagueNode": {
? ? ? ? "endVagueMsg": "",
? ? ? ? "itemList": [],
? ? ? ? "promptVagueMsg": "您是否想知道:",
? ? ? ? "vagueList": []
? ? }
}
單圖片回復
{
? ? "aiResult": "null",
? ? "answerTypeId": 6,
? ? "protocolId": 6,
? ? "result": 0,
? ? "sendTime": 1506519369326,
? ? "serviceLogId": "21c0e952168d4eed946b2b3f560761e0",
? ? "singleNode": {
? ? ? ? "answerMsg": "
? ? ? ? "cmd": "",
? ? ? ? "isRichText": 2,
? ? ? ? "list": null,
? ? ? ? "question": "你好",
? ? ? ? "score": 100,
? ? ? ? "sensitiveWord": null,
? ? ? ? "standardQuestion": "你好",
? ? ? ? "standardQuestionId": "ff8080815ec1f3fc015ec2163daa01ff"
? ? },
? ? "vagueNode": null
}
沒有答案
{
? ? "aiResult": null,
? ? "answerTypeId": 1,
? ? "protocolId": 7,
? ? "result": 0,
? ? "sendTime": 1497964097631,
? ? "serviceLogId": "6c68e96b486b48a89d291c6f2d5c0771",
? ? "singleNode": {
? ? ? ? "answerMsg": "沒有答案",
? ? ? ? "cmd": null,
? ? ? ? "isRichText": 0,
? ? ? ? "list": null,
? ? ? ? "question": "阿什",
? ? ? ? "score": 0,
? ? ? ? "standardQuestion": "",
? ? ? ? "standardQuestionId": null
? ? },
? ? "vagueNode": null
}
模式匹配
純文本回復
{
? ? "aiResult": null,
? ? "answerTypeId": 8,
? ? "protocolId": 6,
? ? "result": 0,
? ? "sendTime": 1497965371558,
? ? "serviceLogId": "7f953c60746b36c639fb38e00d6942b3",
? ? "singleNode": {
? ? ? ? "answerMsg": "模式測試111",
? ? ? ? "cmd": "",
? ? ? ? "isRichText": 0,
? ? ? ? "list": null,
? ? ? ? "question": "模式測試",
? ? ? ? "score": 100,
? ? ? ? "standardQuestion": "模式測試",
? ? ? ? "standardQuestionId": "ff8080815cbed5a3015cc5a7cc007b71"
? ? },
? ? "vagueNode": null
}
圖文回復
? ? "aiResult": null,
? ? "answerTypeId": 8,
? ? "protocolId": 6,
? ? "result": 0,
? ? "sendTime": 1497965371558,
? ? "serviceLogId": "2e9c5191d97ddec4e330bcb70eac7b26",
? ? "singleNode": {
? ? ? ? "answerMsg":"
]]>
? ? ? ? "cmd": "",
? ? ? ? "isRichText": 1,
? ? ? ? "list": null,
? ? ? ? "question": "111",
? ? ? ? "score": 100,
? ? ? ? "standardQuestion": "11",
? ? ? ? "standardQuestionId": "9a20dc5f4c5031bef3302e3754c05c25"
? ? },
? ? "vagueNode": null
}
單圖片回復
{
? ? "aiResult": "null",
? ? "answerTypeId": 8,
? ? "protocolId": 6,
? ? "result": 0,
? ? "sendTime": 1506519369326,
? ? "serviceLogId": "21c0e952168d4eed946b2b3f560761e0",
? ? "singleNode": {
? ? ? ? "answerMsg": "
? ? ? ? "cmd": "",
? ? ? ? "isRichText": 2,
? ? ? ? "list": null,
? ? ? ? "question": "你好",
? ? ? ? "score": 100,
? ? ? ? "sensitiveWord": null,
? ? ? ? "standardQuestion": "你好",
? ? ? ? "standardQuestionId": "ff8080815ec1f3fc015ec2163daa01ff"
? ? },
? ? "vagueNode": null
}
訪問攻擊
{
? ? "aiResult": null,
? ? "answerTypeId": 10,
? ? "protocolId": 7,
? ? "result": 0,
? ? "sendTime": 1497964097631,
? ? "serviceLogId": "95e968cdb7867d166f0128f505239792",
? ? "singleNode": {
? ? ? ? "answerMsg": "訪問攻擊",
? ? ? ? "cmd": null,
? ? ? ? "isRichText": 0,
? ? ? ? "list": null,
? ? ? ? "question": "黑客",
? ? ? ? "score": 0,
? ? ? ? "standardQuestion": "",
? ? ? ? "standardQuestionId": null
? ? },
? ? "vagueNode": null
}
聊天過頻
{
? ? "aiResult": "null",
? ? "answerTypeId": 11,
? ? "protocolId": 6,
? ? "result": 0,
? ? "sendTime": 1497965783258,
? ? "serviceLogId": "9a20dc5f4c5031bef3302e3754c05c25",
? ? "singleNode": {
? ? ? ? "answerMsg": "抱歉,您聊天的次數過多,您有需要幫助嗎?非常樂意為您效勞",
? ? ? ? "cmd": null,
? ? ? ? "isRichText": 0,
? ? ? ? "list": null,
? ? ? ? "question": "qq",
? ? ? ? "score": 0,
? ? ? ? "standardQuestion": null,
? ? ? ? "standardQuestionId": null
? ? },
? ? "vagueNode": {
? ? ? ? "endVagueMsg": null,
? ? ? ? "itemList": [],
? ? ? ? "promptVagueMsg": "除了聊天您還可以問我以下業務問題:",
? ? ? ? "vagueList": null
? ? }
}
聊天過頻問題推薦
{
??? "aiResult": "null",
??? "answerTypeId": 11,
??? "protocolId": 6,
??? "result": 0,
??? "sendTime": 1497965783258,
??? "serviceLogId": "3aa2e33995914b29580c9e2413c826ac",
??? "singleNode": {
??????? "answerMsg": "抱歉,您聊天的次數過多,您有需要幫助嗎?非常樂意為您效勞",
??????? "cmd": null,
??????? "isRichText": 0,
??????? "list": null,
??????? "question": "qq",
??????? "score": 0,
??????? "standardQuestion": null,
??????? "standardQuestionId": null
??? },
??? "vagueNode": {
??????? "endVagueMsg": null,
??????? "itemList": [],
??????? "promptVagueMsg": "除了聊天您還可以問我以下業務問題:",
??????? "vagueNode": {
??????????? "questionList": [
??????????????? "你好的",
??????????????? "好啊",
??????????????? "好好好"
??????????? ],
??????????? "promptMultiMsg": "你是否想要知道",
??????????? "endVagueMsg": "結束",
??????????? "itemList": [
??????????????? {
??????????????????? "num": 1,
??????????????????? "id": 10086,
??????????????????? "score": 85,
??????????????????? "question": "你好的",
??????????????????? "type": 1
??????????????? },
??????????????? {
??????????????????? "num": 2,
??????????????????? "id": 10087,
??????????????????? "score": 84,
??????????????????? "question": "好啊",
??????????????????? "type": 1
??????????? ????},
??????????????? {
??????????????????? "num": 3,
??????????????????? "id": 10088,
??????????????????? "score": 87,
??????????????????? "question": "好好好",
??????????????????? "type": 1
??????????????? }
??????????? ]
??????? }
??? }
}
導航知識
{
? ? "aiResult": "null",
? ? "answerTypeId": 12,
? ? "protocolId": 6,
? ? "result": 0,
? ? "sendTime": 1497965662313,
? ? "serviceLogId": "cb4a96b45df792fc4f6315116ca92bb8",
? ? "singleNode": {
? ? ? ? "answerMsg": "",
? ? ? ? "cmd": null,
? ? ? ? "isRichText": 0,
? ? ? ? "list": null,
? ? ? ? "question": "9527",
? ? ? ? "score": 100,
? ? ? ? "standardQuestion": "9527",
? ? ? ? "standardQuestionId": "ff8080815cbed5a3015cbf90c13d5044"
? ? },
? ? "vagueNode": {
? ? ? ? "endVagueMsg": "",
? ? ? ? "itemList": [
? ? ? ? ? ? {
? ? ? ? ? ? ? ? "id": "ff8080815cbed5a3015cbf8b1b01502b",
? ? ? ? ? ? ? ? "num": 1,
? ? ? ? ? ? ? ? "question": "老虎",
? ? ? ? ? ? ? ? "score": 100,
? ? ? ? ? ? ? ? "type": 1
? ? ? ? ? ? },
? ? ? ? ? ? {
? ? ? ? ? ? ? ? "id": "ff8080815cbed5a3015cbf8071605014",
? ? ? ? ? ? ? ? "num": 2,
? ? ? ? ? ? ? ? "question": "今天吃什么",
? ? ? ? ? ? ? ? "score": 100,
? ? ? ? ? ? ? ? "type": 1
? ? ? ? ? ? }
? ? ? ? ],
? ? ? ? "promptVagueMsg": "你的選擇",
? ? ? ? "vagueList": [
? ? ? ? ? ? "老虎",
? ? ? ? ? ? "今天吃什么"
? ? ? ? ]
? ? }
}