|
【Linux】
3308 dueros dcs sdk如何调试
发表于 2018-12-24 15:26:26
浏览:7822
|
回复:3
打印
只看该作者
[复制链接]
楼主
请教3308 dueros dcs sdk如何调试,修改Client_Id “开启技能调试模式” 无响应
ApplicationManager有 onReceivedDirective可获取到Directive信息
如何能获取到技能信息
--___dueros_dcs_v1_boundary___
Content-Disposition: form-data; name="metadata"
Content-Type: application/json; charset=utf-8
{
"debug": {
"bot": {
"id": "0cf69890-8341-849e-c9d9-835fe171c68a",
"request": {
"version": "v2.0",
"session": {
"new": false,
"sessionId": "c76dca4d-128a-4250-8e06-ad3754fd18b1",
"attributes": []
},
"context": {
"System": {
"user": {
"userId": "415452396",
"accessToken": "21.a514c2d44f33a49f4c855c2e2563b03e.2592000.1548213606.269536270-14638257",
"userInfo": {
"account": []
}
},
"application": {
"applicationId": "0cf69890-8341-849e-c9d9-835fe171c68a"
},
"device": {
"deviceId": "9104eb27a00a147adab8d491e3cf7f1b",
"supportedInterfaces": {
"VoiceInput": [],
"VoiceOutput": [],
"AudioPlayer": []
},
"TVControl": {
"controlType": "DCSControl",
"controlStatus": 0
}
},
"apiAccessToken": "tTjGz/QgOmo6Pz3mxwmJzBAIwHvD4cV2MGKdOv7rBlXVitNYtCm+zPrzOTEt/gGuxLpXiJsVQN/mWRwxSZwThO+xEdfo+MLcDT8uqxrc4mcLb+eLY0B5Fncn1SD5LdmNxPIG32Q4JRYZUTbhBrKuYtNmIj8OA1XZyXJ16Stow4cgs90o7WhNu9LjeqFToc3lZX7mpbMS0+gxAPJOkppslc7kUzCrqWO4TyJgJnIL8LxSnGKZzj8G2zpqjrpQWQc51x58dAacrhSnzuk+Q79CGQr19PxkAq5juu56UDzbDuybBSMgUBIVQDf7+xFvp1GO4CYikPlfPkKPjH3yQPRsTOEg531dXTGM05/3uPgiYFIJTS2TrHYXHlIvtsMkPxocgSz5BLMg47yMTL9IOuiXwA==",
"apiEndPoint": "https://xiaodu.baidu.com",
"avaliableApplicationIds": [
"doudi_server",
"phone",
"aries_general",
"ai.dueros.bot.alarm",
"duer_weather",
"sac",
"restaurant_bot",
"o2o_satisfy",
"rent_car",
"travel_server",
"recharge",
"online_shopping",
"hotel",
"baojie",
"nba_search",
"sysprofile_service",
"audio_music",
"ai.dueros.bot.timer",
"audio_unicast",
"audio_live",
"ai.dueros.bot.vocal_joke",
"ai.dueros.bot.smarthome",
"speaker_hardware",
"audio_news"
]
},
"Screen": {
"token": "e5eb0aa4-9ad0-4c5f-855a-c9be460a83da",
"card": {
"content": "请问你想要做什么呢?",
"url": "",
"anchorText": "",
"cueWords": [
"请问你想要做什么呢?"
],
"type": "txt",
"token": "e5eb0aa4-9ad0-4c5f-855a-c9be460a83da"
}
}
},
"request": {
"query": {
"type": "TEXT",
"original": "空调调整到12度"
},
"dialogState": "COMPLETED",
"intents": [
{
"name": "device_command",
"confirmationStatus": "NONE",
"slots": {
"device": {
"name": "device",
"value": "AIR_CONDITION",
"values": [
"AIR_CONDITION"
],
"confirmationStatus": "NONE"
},
"temprature": {
"name": "temprature",
"value": "13",
"values": [
"13"
],
"confirmationStatus": "NONE"
},
"command": {
"name": "command",
"value": "set",
"values": [
"set"
],
"confirmationStatus": "NONE"
}
}
}
],
"queryInfo": [],
"type": "IntentRequest",
"requestId": "eef4ba0e727e4d12987b78009676abec_DCSfdei7680qpt5yq_0#1_0",
"timestamp": "1545635865",
"dialogRequestId": "ccda19bf-4f3d-44fc-972c-d7d7b08190a2"
}
},
"response": {
"context": {
"intent": {
"name": "device_command",
"confirmationStatus": "NONE",
"slots": {
"device": {
"name": "device",
"value": "AIR_CONDITION",
"confirmationStatus": "NONE",
"score": 0,
"values": [
"AIR_CONDITION"
]
},
"temprature": {
"name": "temprature",
"value": "13",
"confirmationStatus": "NONE",
"score": 0,
"values": [
"13"
]
},
"command": {
"name": "command",
"value": "set",
"confirmationStatus": "NONE",
"score": 0,
"values": [
"set"
]
}
},
"score": 0
},
"afterSearchScore": 1,
"expectResponse": []
},
"session": {
"attributes": []
},
"response": {
"needDetermine": false,
"fallBack": false,
"outputSpeech": {
"type": "PlainText",
"text": "空调已经调整到13度",
"ssml": ""
},
"reprompt": {
"outputSpeech": {
"type": "PlainText",
"text": "空调已经调整到13度",
"ssml": ""
}
},
"resource": {
"entities": null
},
"card": {
"type": "txt",
"token": "a81e77d9-9fe4-458f-ba9b-0bd61c49ee69",
"content": "空调已经调整到13度",
"url": "",
"anchorText": "",
"cueWords": [
"空调已经调整到13度"
]
},
"directives": [],
"shouldEndSession": false,
"expectSpeech": false
},
"version": "2.0"
},
"nlu": {
"name": "device_command",
"confirmationStatus": "NONE",
"slots": {
"device": {
"name": "device",
"value": "AIR_CONDITION",
"values": [
"AIR_CONDITION"
],
"confirmationStatus": "NONE"
},
"temprature": {
"name": "temprature",
"value": "13",
"values": [
"13"
],
"confirmationStatus": "NONE"
},
"command": {
"name": "command",
"value": "set",
"values": [
"set"
],
"confirmationStatus": "NONE"
}
},
"dbp_info": {
"dbp_nlu_debug_info": ""
}
},
"output_speech": {
"type": "PlainText",
"text": "空调已经调整到13度"
},
"response_header": "{\"Connection\":\" close\",\"Content-Length\":\" 994\",\"Server\":\" \"}"
}
}
}
--___dueros_dcs_v1_boundary___-- |
|