PKE
Trace de abstração
Frase → JSON da LLM → claims → primitivos. Até onde o James desceu nesta fala.
PKE · 20260919214554_617e2b65441515858eb5c93e018c4d41.log
=== 2026-09-20T00:45:54.275670Z stage=discourse_input ===
client_request_id: 617e2b65441515858eb5c93e018c4d41
pke_request_id: req_01M2Y4DNPVY71S39ZWZAR42K1S
conversation_id: conv_01M2Y4DNKSYBQY08GWKR90YZ02
---
{
"conversation_id": "conv_01M2Y4DNKSYBQY08GWKR90YZ02",
"active_focus": null,
"recent_referents": [],
"allowed_entity_ids": [],
"pending_intent": null
}
=== 2026-09-20T00:45:56.181894Z stage=llm_response ===
client_request_id: 617e2b65441515858eb5c93e018c4d41
pke_request_id: req_01M2Y4DNPVY71S39ZWZAR42K1S
interpreter_request_id: f00e57c8-f220-4cec-b228-e95a6650f0e6
conversation_id: conv_01M2Y4DNKSYBQY08GWKR90YZ02
user_text: onde moro?
provider_request_id: a86e6c66-eafd-4b6d-91d4-38b16fd896de
attempt: 1
model: deepseek-flash
latency_ms: 1891
---
{
"ir_kind": "semantic_query",
"ir": {
"raw_input": "onde moro?",
"utterance_kind": "query",
"primitive_hint": "attribute",
"subject": {
"text": "self",
"kind_hint": "person",
"reference_kind": "contextual"
},
"attribute_expression": "local de residência",
"stable_property_semantics": true,
"temporal": {
"original_text": "",
"occurrence_aspect": "ongoing",
"selection": "current"
},
"discourse_decision": "none"
}
}
=== 2026-09-20T00:45:56.189731Z stage=normalize ===
client_request_id: 617e2b65441515858eb5c93e018c4d41
pke_request_id: req_01M2Y4DNPVY71S39ZWZAR42K1S
interpreter_request_id: f00e57c8-f220-4cec-b228-e95a6650f0e6
conversation_id: conv_01M2Y4DNKSYBQY08GWKR90YZ02
user_text: onde moro?
route: semantic_v3
notes: []
---
{
"ir_kind": "semantic_query",
"ir": {
"raw_input": "onde moro?",
"utterance_kind": "query",
"primitive_hint": "attribute",
"subject": {
"text": "self",
"kind_hint": "person",
"reference_kind": "contextual"
},
"attribute_expression": "local de residência",
"stable_property_semantics": true,
"temporal": {
"original_text": "",
"occurrence_aspect": "ongoing",
"selection": "current"
},
"discourse_decision": "none"
}
}
=== 2026-09-20T00:45:56.198420Z stage=proposal ===
client_request_id: 617e2b65441515858eb5c93e018c4d41
pke_request_id: req_01M2Y4DNPVY71S39ZWZAR42K1S
interpreter_request_id: f00e57c8-f220-4cec-b228-e95a6650f0e6
conversation_id: conv_01M2Y4DNKSYBQY08GWKR90YZ02
user_text: onde moro?
ir_kind: semantic_query
---
{
"raw_input": "onde moro?",
"utterance_kind": "query",
"primitive_hint": "attribute",
"subject": {
"text": "self",
"kind_hint": "person",
"reference_kind": "contextual",
"confidence": 1.0
},
"participants": [],
"entities_mentioned": [],
"attribute_expression": "local de residência",
"temporal": {
"original_text": "",
"occurrence_aspect": "ongoing",
"selection": "current"
},
"negation": false,
"change_semantics": false,
"condition_semantics": false,
"link_semantics": false,
"stable_property_semantics": true,
"classification_semantics": false,
"measurement_semantics": false,
"domain_hints": [],
"confidence": 1.0,
"assertion_confidence": {},
"claims": [],
"correction_semantics": false,
"discourse_decision": "none"
}
=== 2026-09-20T00:45:56.207005Z stage=repair ===
client_request_id: 617e2b65441515858eb5c93e018c4d41
pke_request_id: req_01M2Y4DNPVY71S39ZWZAR42K1S
interpreter_request_id: f00e57c8-f220-4cec-b228-e95a6650f0e6
conversation_id: conv_01M2Y4DNKSYBQY08GWKR90YZ02
user_text: onde moro?
utterance_kind: query
primitive_hint: attribute
---
{
"raw_input": "onde moro?",
"utterance_kind": "query",
"primitive_hint": "attribute",
"subject": {
"text": "self",
"kind_hint": "person",
"reference_kind": "contextual",
"confidence": 1.0
},
"participants": [],
"entities_mentioned": [],
"attribute_expression": "local de residência",
"temporal": {
"original_text": "",
"occurrence_aspect": "ongoing",
"selection": "current"
},
"negation": false,
"change_semantics": false,
"condition_semantics": false,
"link_semantics": false,
"stable_property_semantics": true,
"classification_semantics": false,
"measurement_semantics": false,
"domain_hints": [],
"confidence": 1.0,
"assertion_confidence": {},
"claims": [],
"correction_semantics": false,
"discourse_decision": "none"
}
=== 2026-09-20T00:45:56.215762Z stage=assessment ===
client_request_id: 617e2b65441515858eb5c93e018c4d41
pke_request_id: req_01M2Y4DNPVY71S39ZWZAR42K1S
interpreter_request_id: f00e57c8-f220-4cec-b228-e95a6650f0e6
conversation_id: conv_01M2Y4DNKSYBQY08GWKR90YZ02
user_text: onde moro?
---
{
"status": "actionable",
"routed_primitive": "attribute",
"decision_source": "semantic_flags",
"evidence": [
"stable_property_semantics"
],
"ignored_fallbacks": [],
"missing_semantic_roles": [],
"conflicting_signals": [],
"notes": [
"query utterance — primitive resolved downstream",
"stable property query → ATTRIBUTE"
]
}
=== 2026-09-20T00:45:56.225903Z stage=query_resolution ===
client_request_id: 617e2b65441515858eb5c93e018c4d41
pke_request_id: req_01M2Y4DNPVY71S39ZWZAR42K1S
interpreter_request_id: f00e57c8-f220-4cec-b228-e95a6650f0e6
conversation_id: conv_01M2Y4DNKSYBQY08GWKR90YZ02
user_text: onde moro?
---
{
"status": "insufficient",
"primitive": "attribute",
"notes": [
"attribute_dimension_unresolved"
]
}
=== 2026-09-20T00:45:56.234694Z stage=canonical ===
client_request_id: 617e2b65441515858eb5c93e018c4d41
pke_request_id: req_01M2Y4DNPVY71S39ZWZAR42K1S
interpreter_request_id: f00e57c8-f220-4cec-b228-e95a6650f0e6
conversation_id: conv_01M2Y4DNKSYBQY08GWKR90YZ02
user_text: onde moro?
wire_stage: unresolved
failure_stage: CONCEPT_RESOLUTION
execution_reasons: []
primitive: attribute
concepts_status: unresolved
concepts_notes: ["attribute — no safe dimension/value"]
---
null
=== 2026-09-20T00:45:56.295999Z stage=presenter_request ===
request_id: req_01M2Y4DNPVY71S39ZWZAR42K1S
client_request_id: 617e2b65441515858eb5c93e018c4d41
conversation_id: 36e43969-ffe2-4911-a35d-d355f4e0da48
user_message_id: msg_01M2Y4DNPBYHZ58FEBHP8VZWDG
operation: none
status: unsupported
---
{
"user_text": "onde moro?",
"structured_result": {
"status": "unsupported",
"operation": "none",
"kind": "interpretation",
"value": null,
"values": [],
"relation_answer": null,
"matched_entities": [],
"candidates": [],
"reason": null,
"error_code": null,
"items": [],
"dimension": null,
"unit": null,
"entity": null,
"claims": null
},
"conversation_context": [],
"presenter_provider": "deepseek",
"presenter_model": "deepseek-chat",
"attempt": 1
}
=== 2026-09-20T00:45:57.435122Z stage=presenter_response ===
request_id: req_01M2Y4DNPVY71S39ZWZAR42K1S
client_request_id: 617e2b65441515858eb5c93e018c4d41
conversation_id: 36e43969-ffe2-4911-a35d-d355f4e0da48
user_message_id: msg_01M2Y4DNPBYHZ58FEBHP8VZWDG
provider_request_id: 560beb55-8b94-438e-92ee-1944283b26ff
status: ok
---
{
"text": "Não entendi o que você quis dizer com isso. Pode reformular?",
"presenter_provider": "deepseek",
"presenter_model": "deepseek-flash",
"provider": "deepseek",
"model": "deepseek-flash",
"fallback_used": false,
"latency_ms": 1129,
"attempt": 1,
"provider_request_id": "560beb55-8b94-438e-92ee-1944283b26ff",
"status": "ok"
}