|
本帖最后由 33201 于 2019-7-8 17:22 编辑
昨天小爱音箱突然失灵,无奈下就升级了下系统,采用的@sangood 不拆机升级办法,确实很方便啊
升级后发现新系统的NLP日志文件增加了意图的识别结果,这样可玩性就更高了哦
{
"intention": {
"query": "关闭二楼客厅的电视",
"action": "operate",
"score": 0.83,
"domain": "smartMiot",
"complete": true,
"dialog_status": "FINISH",
"dialog_ask_round": 0,
"entity": "television",
"debug_info": {},
"to_operate_devices": [],
"to_operate_alias_devices": [],
"alias_rooms": [
{
"name": "客厅",
"id": "727001008606",
"uname": "客厅",
"source": "DEFAULT"
},
{
"name": "客厅",
"id": "727001082502",
"uname": "客厅",
"source": "DEFAULT"
}
],
"is_all_to_operate": false,
"slot_ratio": 0.7777777777777778,
"is_device_list_empty": false,
"is_device_extended": false,
"device_request_timeout": false,
"source": "parser",
"target_device_category": "none",
"i_target_cn": "电视",
"scene_names": [],
"context_number": 1,
"num_target_device": 0,
"intention_source": "OH_BASED",
"status_code": 200,
"func": "device_control.smart_device.television.on",
"on": false,
"scene_type": "SCENE_MATCH_FAIL",
"caller_device": {
"name": "小米AI音箱",
"type": "",
"category": "",
"did": "",
"is_shared": false,
"cloud_id": 10,
"online": true,
"rid": "727001008606"
},
"exec_infos": [],
"tactics": [],
"sample": false,
"domain_judge": "judge",
"intent_arbitrator_info": {
"score_domains": {
"default": 0.05
},
"arbitrator_level": "L4:xgboost"
},
"rewrite_infos": {}
}
}
{
"intention": {
"query": "电视声音大一点",
"action": "operate",
"score": 0.83,
"domain": "smartMiot",
"complete": true,
"dialog_status": "FINISH",
"dialog_ask_round": 0,
"entity": "television",
"debug_info": {},
"to_operate_devices": [],
"to_operate_alias_devices": [],
"alias_rooms": [],
"is_all_to_operate": false,
"slot_ratio": 0.7142857142857143,
"is_device_list_empty": false,
"is_device_extended": false,
"device_request_timeout": false,
"source": "parser",
"target_device_category": "none",
"i_target_cn": "电视",
"scene_names": [],
"context_number": 1,
"num_target_device": 0,
"intention_source": "OH_BASED",
"status_code": 200,
"func": "device_control.smart_device.television.volume",
"volume": "up",
"scene_type": "SCENE_MATCH_FAIL",
"caller_device": {
"name": "小米AI音箱",
"type": "",
"category": "",
"did": "",
"is_shared": false,
"cloud_id": 10,
"online": true,
"rid": "727001008606"
},
"exec_infos": [],
"tactics": [],
"sample": false,
"domain_judge": "judge",
"intent_arbitrator_info": {
"score_domains": {
"voice": 0.3438698649406433,
"default": 0.05
},
"arbitrator_level": "L4:xgboost"
},
"rewrite_infos": {}
}
}
电视这块我目前用的讯飞的语义识别API,还是有点麻烦,现在有小米现成的识别结果,利用起来就更方便了 |
评分
-
参与人数 1 | 金钱 +20 |
HASS币 +10 |
收起
理由
|
囧
| + 20 |
+ 10 |
我都有点忘记了,原来没有解析吗?咋转发的. |
查看全部评分
|