init
This commit is contained in:
+395
@@ -0,0 +1,395 @@
|
||||
{
|
||||
"request_id": "req-20260724101300-2ae416",
|
||||
"conversation_id": "conv-6c870550-6f12-40f8-bc43-9e879c123de4",
|
||||
"conversation_turn": 0,
|
||||
"status": "needs_confirmation",
|
||||
"provider_requested": "local",
|
||||
"execution_mode": "dry_run",
|
||||
"hardware_execution_allowed": false,
|
||||
"decision_summary": [
|
||||
"识别为座椅热舒适单域请求。"
|
||||
],
|
||||
"deferred_requests": [],
|
||||
"model_requests": [],
|
||||
"intent_ir": {
|
||||
"apiVersion": "cognitive-agent/v1alpha1",
|
||||
"kind": "IntentIR",
|
||||
"metadata": {
|
||||
"id": "intent-req-20260724101300-2ae416",
|
||||
"name": "Seat function intent",
|
||||
"version": "1.0.0",
|
||||
"request_id": "req-20260724101300-2ae416",
|
||||
"generated_at": "2026-07-24T10:13:00.098867Z",
|
||||
"labels": {
|
||||
"provider": "local_rules"
|
||||
}
|
||||
},
|
||||
"spec": {
|
||||
"utterance": "进入观影状态:空调24度、风量2档,天幕调暗,氛围灯换成暖橙色",
|
||||
"language": "zh-CN",
|
||||
"mode": "single_domain",
|
||||
"detected_domains": [
|
||||
"seat"
|
||||
],
|
||||
"requests": [],
|
||||
"ambiguities": [
|
||||
{
|
||||
"field": "capability",
|
||||
"question": "当前仅支持主/副驾座椅通风或加热的打开与关闭。"
|
||||
}
|
||||
],
|
||||
"confidence": 0.45,
|
||||
"requires_confirmation": true
|
||||
}
|
||||
},
|
||||
"function_config": null,
|
||||
"function_configs": {},
|
||||
"scene_config": null,
|
||||
"preset_config": null,
|
||||
"validation": [
|
||||
{
|
||||
"severity": "error",
|
||||
"code": "AMBIGUOUS_INTENT",
|
||||
"path": "capability",
|
||||
"message": "当前仅支持主/副驾座椅通风或加热的打开与关闭。"
|
||||
},
|
||||
{
|
||||
"severity": "warning",
|
||||
"code": "VIRTUAL_EXECUTION_ONLY",
|
||||
"path": "platform.reference_vehicle",
|
||||
"message": "CAN 元数据不完整,当前仅允许虚拟执行,禁止实车下发。"
|
||||
}
|
||||
],
|
||||
"command_plan": null,
|
||||
"command_plans": {},
|
||||
"execution_report": null,
|
||||
"actuator_state": {
|
||||
"driver": {
|
||||
"ventilation": {
|
||||
"state": "off",
|
||||
"level": 0
|
||||
},
|
||||
"heating": {
|
||||
"state": "off",
|
||||
"level": 0
|
||||
},
|
||||
"position": {
|
||||
"longitudinal": {
|
||||
"position_pct": 50,
|
||||
"motion_state": "stopped",
|
||||
"fault": false
|
||||
},
|
||||
"cushion_tilt": {
|
||||
"position_pct": 50,
|
||||
"motion_state": "stopped",
|
||||
"fault": false
|
||||
},
|
||||
"backrest_recline": {
|
||||
"position_pct": 20,
|
||||
"motion_state": "stopped",
|
||||
"fault": false,
|
||||
"angle_deg": 104.0
|
||||
},
|
||||
"legrest_height": {
|
||||
"position_pct": 0,
|
||||
"motion_state": "stopped",
|
||||
"fault": false,
|
||||
"angle_deg": 95.0
|
||||
},
|
||||
"legrest_extension": {
|
||||
"position_pct": 0,
|
||||
"motion_state": "stopped",
|
||||
"fault": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"passenger": {
|
||||
"ventilation": {
|
||||
"state": "off",
|
||||
"level": 0
|
||||
},
|
||||
"heating": {
|
||||
"state": "off",
|
||||
"level": 0
|
||||
},
|
||||
"position": {
|
||||
"longitudinal": {
|
||||
"position_pct": 50,
|
||||
"motion_state": "stopped",
|
||||
"fault": false
|
||||
},
|
||||
"cushion_tilt": {
|
||||
"position_pct": 50,
|
||||
"motion_state": "stopped",
|
||||
"fault": false
|
||||
},
|
||||
"backrest_recline": {
|
||||
"position_pct": 20,
|
||||
"motion_state": "stopped",
|
||||
"fault": false,
|
||||
"angle_deg": 104.0
|
||||
},
|
||||
"legrest_height": {
|
||||
"position_pct": 0,
|
||||
"motion_state": "stopped",
|
||||
"fault": false,
|
||||
"angle_deg": 95.0
|
||||
},
|
||||
"legrest_extension": {
|
||||
"position_pct": 0,
|
||||
"motion_state": "stopped",
|
||||
"fault": false
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"domain_state": {
|
||||
"climate": {
|
||||
"power": "off",
|
||||
"ac": "off",
|
||||
"fan_level": 0,
|
||||
"cycle_mode": "external",
|
||||
"front_defrost": "off",
|
||||
"zones": {
|
||||
"vehicle": {
|
||||
"power": "off",
|
||||
"temperature_c": 24,
|
||||
"outlet_mode": "face"
|
||||
},
|
||||
"front_row": {
|
||||
"power": "off",
|
||||
"temperature_c": 24,
|
||||
"outlet_mode": "face"
|
||||
},
|
||||
"rear_row": {
|
||||
"power": "off",
|
||||
"temperature_c": 24,
|
||||
"outlet_mode": "face"
|
||||
},
|
||||
"driver": {
|
||||
"power": "off",
|
||||
"temperature_c": 24,
|
||||
"outlet_mode": "face"
|
||||
},
|
||||
"passenger": {
|
||||
"power": "off",
|
||||
"temperature_c": 24,
|
||||
"outlet_mode": "face"
|
||||
},
|
||||
"rear_left": {
|
||||
"power": "off",
|
||||
"temperature_c": 24,
|
||||
"outlet_mode": "face"
|
||||
},
|
||||
"rear_right": {
|
||||
"power": "off",
|
||||
"temperature_c": 24,
|
||||
"outlet_mode": "face"
|
||||
}
|
||||
}
|
||||
},
|
||||
"roof": {
|
||||
"shade_position_pct": 0,
|
||||
"transmittance_pct": 100,
|
||||
"automatic_dimming": "off",
|
||||
"motion_state": "stopped",
|
||||
"fault": false
|
||||
},
|
||||
"ambient_light": {
|
||||
"power": "off",
|
||||
"color_hex": "#74D9FF",
|
||||
"brightness_pct": 0,
|
||||
"mode": "off"
|
||||
}
|
||||
},
|
||||
"saved_presets": [],
|
||||
"trace_events": [
|
||||
{
|
||||
"apiVersion": "cognitive-agent/v1alpha1",
|
||||
"kind": "TraceEvent",
|
||||
"event_id": "evt-01-req-20260724101300-2ae416",
|
||||
"request_id": "req-20260724101300-2ae416",
|
||||
"timestamp": "2026-07-24T10:13:00.098845Z",
|
||||
"stage": "intent_parse",
|
||||
"status": "succeeded",
|
||||
"domain": "seat",
|
||||
"summary": "使用 local_rules 完成结构化意图抽取。",
|
||||
"details": {
|
||||
"provider": "local_rules",
|
||||
"confidence": 0.45,
|
||||
"conversation_turn": 0
|
||||
},
|
||||
"duration_ms": 0
|
||||
},
|
||||
{
|
||||
"apiVersion": "cognitive-agent/v1alpha1",
|
||||
"kind": "TraceEvent",
|
||||
"event_id": "evt-02-req-20260724101300-2ae416",
|
||||
"request_id": "req-20260724101300-2ae416",
|
||||
"timestamp": "2026-07-24T10:13:00.098856Z",
|
||||
"stage": "context_resolve",
|
||||
"status": "succeeded",
|
||||
"domain": "seat",
|
||||
"summary": "已将会话 conv-6c870550-6f12-40f8-bc43-9e879c123de4 的第 0 轮执行状态和域能力注册表作为模型上下文;本地层不改写 GPT 动作。",
|
||||
"details": {
|
||||
"conversation_id": "conv-6c870550-6f12-40f8-bc43-9e879c123de4",
|
||||
"turn_count": 0,
|
||||
"last_target": null,
|
||||
"state_before": {
|
||||
"driver": {
|
||||
"ventilation": {
|
||||
"state": "off",
|
||||
"level": 0
|
||||
},
|
||||
"heating": {
|
||||
"state": "off",
|
||||
"level": 0
|
||||
},
|
||||
"position": {
|
||||
"longitudinal": {
|
||||
"position_pct": 50,
|
||||
"motion_state": "stopped",
|
||||
"fault": false
|
||||
},
|
||||
"cushion_tilt": {
|
||||
"position_pct": 50,
|
||||
"motion_state": "stopped",
|
||||
"fault": false
|
||||
},
|
||||
"backrest_recline": {
|
||||
"position_pct": 20,
|
||||
"motion_state": "stopped",
|
||||
"fault": false,
|
||||
"angle_deg": 104.0
|
||||
},
|
||||
"legrest_height": {
|
||||
"position_pct": 0,
|
||||
"motion_state": "stopped",
|
||||
"fault": false,
|
||||
"angle_deg": 95.0
|
||||
},
|
||||
"legrest_extension": {
|
||||
"position_pct": 0,
|
||||
"motion_state": "stopped",
|
||||
"fault": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"passenger": {
|
||||
"ventilation": {
|
||||
"state": "off",
|
||||
"level": 0
|
||||
},
|
||||
"heating": {
|
||||
"state": "off",
|
||||
"level": 0
|
||||
},
|
||||
"position": {
|
||||
"longitudinal": {
|
||||
"position_pct": 50,
|
||||
"motion_state": "stopped",
|
||||
"fault": false
|
||||
},
|
||||
"cushion_tilt": {
|
||||
"position_pct": 50,
|
||||
"motion_state": "stopped",
|
||||
"fault": false
|
||||
},
|
||||
"backrest_recline": {
|
||||
"position_pct": 20,
|
||||
"motion_state": "stopped",
|
||||
"fault": false,
|
||||
"angle_deg": 104.0
|
||||
},
|
||||
"legrest_height": {
|
||||
"position_pct": 0,
|
||||
"motion_state": "stopped",
|
||||
"fault": false,
|
||||
"angle_deg": 95.0
|
||||
},
|
||||
"legrest_extension": {
|
||||
"position_pct": 0,
|
||||
"motion_state": "stopped",
|
||||
"fault": false
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"capability_domains": [
|
||||
"ambient_light",
|
||||
"climate",
|
||||
"roof",
|
||||
"seat"
|
||||
]
|
||||
},
|
||||
"duration_ms": 0
|
||||
},
|
||||
{
|
||||
"apiVersion": "cognitive-agent/v1alpha1",
|
||||
"kind": "TraceEvent",
|
||||
"event_id": "evt-03-req-20260724101300-2ae416",
|
||||
"request_id": "req-20260724101300-2ae416",
|
||||
"timestamp": "2026-07-24T10:13:00.098861Z",
|
||||
"stage": "domain_route",
|
||||
"status": "succeeded",
|
||||
"domain": "seat",
|
||||
"summary": "仅识别到 seat 领域,使用已验证的座椅单域闭环。",
|
||||
"details": {
|
||||
"domains": [
|
||||
"seat"
|
||||
],
|
||||
"mode": "single_domain"
|
||||
},
|
||||
"duration_ms": 0
|
||||
},
|
||||
{
|
||||
"apiVersion": "cognitive-agent/v1alpha1",
|
||||
"kind": "TraceEvent",
|
||||
"event_id": "evt-04-req-20260724101300-2ae416",
|
||||
"request_id": "req-20260724101300-2ae416",
|
||||
"timestamp": "2026-07-24T10:13:00.098872Z",
|
||||
"stage": "function_generate",
|
||||
"status": "waiting_confirmation",
|
||||
"domain": "seat",
|
||||
"summary": "没有足够信息生成可执行配置。",
|
||||
"details": {
|
||||
"operation_count": 0,
|
||||
"preset_operation_count": 0
|
||||
},
|
||||
"duration_ms": 0
|
||||
},
|
||||
{
|
||||
"apiVersion": "cognitive-agent/v1alpha1",
|
||||
"kind": "TraceEvent",
|
||||
"event_id": "evt-05-req-20260724101300-2ae416",
|
||||
"request_id": "req-20260724101300-2ae416",
|
||||
"timestamp": "2026-07-24T10:13:00.099598Z",
|
||||
"stage": "schema_validate",
|
||||
"status": "succeeded",
|
||||
"domain": "seat",
|
||||
"summary": "公共与领域 Schema 校验通过。",
|
||||
"details": {
|
||||
"error_count": 0
|
||||
},
|
||||
"duration_ms": 0
|
||||
},
|
||||
{
|
||||
"apiVersion": "cognitive-agent/v1alpha1",
|
||||
"kind": "TraceEvent",
|
||||
"event_id": "evt-06-req-20260724101300-2ae416",
|
||||
"request_id": "req-20260724101300-2ae416",
|
||||
"timestamp": "2026-07-24T10:13:00.099609Z",
|
||||
"stage": "domain_validate",
|
||||
"status": "failed",
|
||||
"domain": "seat",
|
||||
"summary": "座椅语义校验阻止了不受支持的请求。",
|
||||
"details": {
|
||||
"error_count": 1,
|
||||
"warning_count": 1
|
||||
},
|
||||
"duration_ms": 0
|
||||
}
|
||||
],
|
||||
"provider_used": "local_rules",
|
||||
"artifact_path": "artifacts\\runs\\req-20260724101300-2ae416"
|
||||
}
|
||||
Reference in New Issue
Block a user