init
This commit is contained in:
+33
@@ -0,0 +1,33 @@
|
||||
apiVersion: cognitive-agent/v1alpha1
|
||||
kind: IntentIR
|
||||
metadata:
|
||||
id: intent-req-20260723014159-7d0336
|
||||
name: Seat thermal intent
|
||||
version: 1.0.0
|
||||
request_id: req-20260723014159-7d0336
|
||||
generated_at: '2026-07-23T01:42:11.868898Z'
|
||||
labels:
|
||||
provider: openai:gpt-5.6-sol
|
||||
spec:
|
||||
utterance: 车上太闷了
|
||||
language: zh-CN
|
||||
mode: single_domain
|
||||
detected_domains:
|
||||
- climate
|
||||
requests:
|
||||
- domain: climate
|
||||
goal: set climate.set_fan_level
|
||||
target:
|
||||
device: climate
|
||||
zone: vehicle
|
||||
parameters:
|
||||
capability: climate.set_fan_level
|
||||
desired_change: set
|
||||
requested_value: 25
|
||||
requested_parameters:
|
||||
fan_level_pct: 25
|
||||
availability: catalog_only
|
||||
source_span: 车上太闷了
|
||||
ambiguities: []
|
||||
confidence: 0.9
|
||||
requires_confirmation: false
|
||||
+255
@@ -0,0 +1,255 @@
|
||||
{
|
||||
"request_id": "req-20260723014159-7d0336",
|
||||
"conversation_id": "conv-verify-generic-vehicle",
|
||||
"conversation_turn": 0,
|
||||
"status": "capability_unavailable",
|
||||
"provider_requested": "openai",
|
||||
"execution_mode": "dry_run",
|
||||
"hardware_execution_allowed": false,
|
||||
"decision_summary": [
|
||||
"将车内风量设为较低的25%,作为强度未指定时的最小可逆调整。",
|
||||
"该能力为目录能力,请求将交由运行时路由处理。"
|
||||
],
|
||||
"deferred_requests": [
|
||||
{
|
||||
"domain": "climate",
|
||||
"capability": "climate.set_fan_level",
|
||||
"target_scope": "vehicle",
|
||||
"desired_change": "set",
|
||||
"requested_value": 25,
|
||||
"parameters": {
|
||||
"fan_level_pct": 25
|
||||
},
|
||||
"reason": "用户表示车内闷,需要增加适度空气流动。"
|
||||
}
|
||||
],
|
||||
"model_requests": [
|
||||
{
|
||||
"domain": "climate",
|
||||
"capability": "climate.set_fan_level",
|
||||
"target_scope": "vehicle",
|
||||
"operation": "set",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "fan_level_pct",
|
||||
"value": 25
|
||||
}
|
||||
],
|
||||
"reason": "用户表示车内闷,需要增加适度空气流动。"
|
||||
}
|
||||
],
|
||||
"intent_ir": {
|
||||
"apiVersion": "cognitive-agent/v1alpha1",
|
||||
"kind": "IntentIR",
|
||||
"metadata": {
|
||||
"id": "intent-req-20260723014159-7d0336",
|
||||
"name": "Seat thermal intent",
|
||||
"version": "1.0.0",
|
||||
"request_id": "req-20260723014159-7d0336",
|
||||
"generated_at": "2026-07-23T01:42:11.868898Z",
|
||||
"labels": {
|
||||
"provider": "openai:gpt-5.6-sol"
|
||||
}
|
||||
},
|
||||
"spec": {
|
||||
"utterance": "车上太闷了",
|
||||
"language": "zh-CN",
|
||||
"mode": "single_domain",
|
||||
"detected_domains": [
|
||||
"climate"
|
||||
],
|
||||
"requests": [
|
||||
{
|
||||
"domain": "climate",
|
||||
"goal": "set climate.set_fan_level",
|
||||
"target": {
|
||||
"device": "climate",
|
||||
"zone": "vehicle"
|
||||
},
|
||||
"parameters": {
|
||||
"capability": "climate.set_fan_level",
|
||||
"desired_change": "set",
|
||||
"requested_value": 25,
|
||||
"requested_parameters": {
|
||||
"fan_level_pct": 25
|
||||
},
|
||||
"availability": "catalog_only"
|
||||
},
|
||||
"source_span": "车上太闷了"
|
||||
}
|
||||
],
|
||||
"ambiguities": [],
|
||||
"confidence": 0.9,
|
||||
"requires_confirmation": false
|
||||
}
|
||||
},
|
||||
"function_config": null,
|
||||
"validation": [
|
||||
{
|
||||
"severity": "error",
|
||||
"code": "UNAVAILABLE_DOMAIN",
|
||||
"path": "deferred_requests[0]",
|
||||
"message": "已理解 climate.set_fan_level 目标,但 climate 域当前仅有能力目录,未接入执行器。"
|
||||
},
|
||||
{
|
||||
"severity": "warning",
|
||||
"code": "VIRTUAL_EXECUTION_ONLY",
|
||||
"path": "platform.reference_vehicle",
|
||||
"message": "CAN 元数据不完整,当前仅允许虚拟执行,禁止实车下发。"
|
||||
}
|
||||
],
|
||||
"command_plan": null,
|
||||
"execution_report": null,
|
||||
"actuator_state": {
|
||||
"driver": {
|
||||
"ventilation": {
|
||||
"state": "off",
|
||||
"level": 0
|
||||
},
|
||||
"heating": {
|
||||
"state": "off",
|
||||
"level": 0
|
||||
}
|
||||
},
|
||||
"passenger": {
|
||||
"ventilation": {
|
||||
"state": "off",
|
||||
"level": 0
|
||||
},
|
||||
"heating": {
|
||||
"state": "off",
|
||||
"level": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
"trace_events": [
|
||||
{
|
||||
"apiVersion": "cognitive-agent/v1alpha1",
|
||||
"kind": "TraceEvent",
|
||||
"event_id": "evt-01-req-20260723014159-7d0336",
|
||||
"request_id": "req-20260723014159-7d0336",
|
||||
"timestamp": "2026-07-23T01:42:11.868813Z",
|
||||
"stage": "intent_parse",
|
||||
"status": "succeeded",
|
||||
"domain": "seat",
|
||||
"summary": "使用 openai:gpt-5.6-sol 完成结构化意图抽取。",
|
||||
"details": {
|
||||
"provider": "openai:gpt-5.6-sol",
|
||||
"confidence": 0.9,
|
||||
"conversation_turn": 0
|
||||
},
|
||||
"duration_ms": 12125
|
||||
},
|
||||
{
|
||||
"apiVersion": "cognitive-agent/v1alpha1",
|
||||
"kind": "TraceEvent",
|
||||
"event_id": "evt-02-req-20260723014159-7d0336",
|
||||
"request_id": "req-20260723014159-7d0336",
|
||||
"timestamp": "2026-07-23T01:42:11.868864Z",
|
||||
"stage": "context_resolve",
|
||||
"status": "succeeded",
|
||||
"domain": "seat",
|
||||
"summary": "已将会话 conv-verify-generic-vehicle 的第 0 轮执行状态和域能力注册表作为模型上下文;本地层不改写 GPT 动作。",
|
||||
"details": {
|
||||
"conversation_id": "conv-verify-generic-vehicle",
|
||||
"turn_count": 0,
|
||||
"last_target": null,
|
||||
"state_before": {
|
||||
"driver": {
|
||||
"ventilation": {
|
||||
"state": "off",
|
||||
"level": 0
|
||||
},
|
||||
"heating": {
|
||||
"state": "off",
|
||||
"level": 0
|
||||
}
|
||||
},
|
||||
"passenger": {
|
||||
"ventilation": {
|
||||
"state": "off",
|
||||
"level": 0
|
||||
},
|
||||
"heating": {
|
||||
"state": "off",
|
||||
"level": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
"capability_domains": [
|
||||
"ambient_light",
|
||||
"climate",
|
||||
"roof",
|
||||
"seat"
|
||||
]
|
||||
},
|
||||
"duration_ms": 0
|
||||
},
|
||||
{
|
||||
"apiVersion": "cognitive-agent/v1alpha1",
|
||||
"kind": "TraceEvent",
|
||||
"event_id": "evt-03-req-20260723014159-7d0336",
|
||||
"request_id": "req-20260723014159-7d0336",
|
||||
"timestamp": "2026-07-23T01:42:11.868882Z",
|
||||
"stage": "domain_route",
|
||||
"status": "succeeded",
|
||||
"domain": "seat",
|
||||
"summary": "识别到 climate 领域,当前 seat 单域服务不会错误代执行。",
|
||||
"details": {
|
||||
"domains": [
|
||||
"climate"
|
||||
],
|
||||
"mode": "single_domain"
|
||||
},
|
||||
"duration_ms": 0
|
||||
},
|
||||
{
|
||||
"apiVersion": "cognitive-agent/v1alpha1",
|
||||
"kind": "TraceEvent",
|
||||
"event_id": "evt-04-req-20260723014159-7d0336",
|
||||
"request_id": "req-20260723014159-7d0336",
|
||||
"timestamp": "2026-07-23T01:42:11.868913Z",
|
||||
"stage": "function_generate",
|
||||
"status": "waiting_confirmation",
|
||||
"domain": "seat",
|
||||
"summary": "没有足够信息生成可执行配置。",
|
||||
"details": {
|
||||
"operation_count": 0
|
||||
},
|
||||
"duration_ms": 0
|
||||
},
|
||||
{
|
||||
"apiVersion": "cognitive-agent/v1alpha1",
|
||||
"kind": "TraceEvent",
|
||||
"event_id": "evt-05-req-20260723014159-7d0336",
|
||||
"request_id": "req-20260723014159-7d0336",
|
||||
"timestamp": "2026-07-23T01:42:11.872056Z",
|
||||
"stage": "schema_validate",
|
||||
"status": "succeeded",
|
||||
"domain": "seat",
|
||||
"summary": "公共与领域 Schema 校验通过。",
|
||||
"details": {
|
||||
"error_count": 0
|
||||
},
|
||||
"duration_ms": 3
|
||||
},
|
||||
{
|
||||
"apiVersion": "cognitive-agent/v1alpha1",
|
||||
"kind": "TraceEvent",
|
||||
"event_id": "evt-06-req-20260723014159-7d0336",
|
||||
"request_id": "req-20260723014159-7d0336",
|
||||
"timestamp": "2026-07-23T01:42:11.872098Z",
|
||||
"stage": "domain_validate",
|
||||
"status": "failed",
|
||||
"domain": "seat",
|
||||
"summary": "座椅语义校验阻止了不受支持的请求。",
|
||||
"details": {
|
||||
"error_count": 1,
|
||||
"warning_count": 1
|
||||
},
|
||||
"duration_ms": 0
|
||||
}
|
||||
],
|
||||
"provider_used": "openai:gpt-5.6-sol",
|
||||
"artifact_path": "artifacts/runs/req-20260723014159-7d0336"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{"apiVersion": "cognitive-agent/v1alpha1", "kind": "TraceEvent", "event_id": "evt-01-req-20260723014159-7d0336", "request_id": "req-20260723014159-7d0336", "timestamp": "2026-07-23T01:42:11.868813Z", "stage": "intent_parse", "status": "succeeded", "domain": "seat", "summary": "使用 openai:gpt-5.6-sol 完成结构化意图抽取。", "details": {"provider": "openai:gpt-5.6-sol", "confidence": 0.9, "conversation_turn": 0}, "duration_ms": 12125}
|
||||
{"apiVersion": "cognitive-agent/v1alpha1", "kind": "TraceEvent", "event_id": "evt-02-req-20260723014159-7d0336", "request_id": "req-20260723014159-7d0336", "timestamp": "2026-07-23T01:42:11.868864Z", "stage": "context_resolve", "status": "succeeded", "domain": "seat", "summary": "已将会话 conv-verify-generic-vehicle 的第 0 轮执行状态和域能力注册表作为模型上下文;本地层不改写 GPT 动作。", "details": {"conversation_id": "conv-verify-generic-vehicle", "turn_count": 0, "last_target": null, "state_before": {"driver": {"ventilation": {"state": "off", "level": 0}, "heating": {"state": "off", "level": 0}}, "passenger": {"ventilation": {"state": "off", "level": 0}, "heating": {"state": "off", "level": 0}}}, "capability_domains": ["ambient_light", "climate", "roof", "seat"]}, "duration_ms": 0}
|
||||
{"apiVersion": "cognitive-agent/v1alpha1", "kind": "TraceEvent", "event_id": "evt-03-req-20260723014159-7d0336", "request_id": "req-20260723014159-7d0336", "timestamp": "2026-07-23T01:42:11.868882Z", "stage": "domain_route", "status": "succeeded", "domain": "seat", "summary": "识别到 climate 领域,当前 seat 单域服务不会错误代执行。", "details": {"domains": ["climate"], "mode": "single_domain"}, "duration_ms": 0}
|
||||
{"apiVersion": "cognitive-agent/v1alpha1", "kind": "TraceEvent", "event_id": "evt-04-req-20260723014159-7d0336", "request_id": "req-20260723014159-7d0336", "timestamp": "2026-07-23T01:42:11.868913Z", "stage": "function_generate", "status": "waiting_confirmation", "domain": "seat", "summary": "没有足够信息生成可执行配置。", "details": {"operation_count": 0}, "duration_ms": 0}
|
||||
{"apiVersion": "cognitive-agent/v1alpha1", "kind": "TraceEvent", "event_id": "evt-05-req-20260723014159-7d0336", "request_id": "req-20260723014159-7d0336", "timestamp": "2026-07-23T01:42:11.872056Z", "stage": "schema_validate", "status": "succeeded", "domain": "seat", "summary": "公共与领域 Schema 校验通过。", "details": {"error_count": 0}, "duration_ms": 3}
|
||||
{"apiVersion": "cognitive-agent/v1alpha1", "kind": "TraceEvent", "event_id": "evt-06-req-20260723014159-7d0336", "request_id": "req-20260723014159-7d0336", "timestamp": "2026-07-23T01:42:11.872098Z", "stage": "domain_validate", "status": "failed", "domain": "seat", "summary": "座椅语义校验阻止了不受支持的请求。", "details": {"error_count": 1, "warning_count": 1}, "duration_ms": 0}
|
||||
Reference in New Issue
Block a user