PKE
Trace de abstração
Frase → JSON da LLM → claims → primitivos. Até onde o James desceu nesta fala.
PKE · 20260919175650_14bac45d3a5e46fdfbd95ce0d1b806f2.log
=== 2026-09-19T20:56:50.973484Z stage=discourse_input ===
client_request_id: 14bac45d3a5e46fdfbd95ce0d1b806f2
pke_request_id: req_01M2XQA8GNT1W9PT4124KAYRJH
conversation_id: conv_01M2XQ74DJWGGEJPJZP6YNVA7V
---
{
"conversation_id": "conv_01M2XQ74DJWGGEJPJZP6YNVA7V",
"active_focus": {
"primitive": "measurement",
"relation_type": null,
"target_type": "entity.learned.cat",
"entity_ids": [
"01M2B33EC2QNC9PZGG784ET9VK"
],
"display_name": "Luna"
},
"recent_referents": [
{
"entity_id": "01M2B33EC2QNC9PZGG784ET9VK",
"type_key": "entity.learned.cat",
"display_name": "Luna",
"role": "active_focus",
"salience": 1.0
}
],
"allowed_entity_ids": [
"01M2B33EC2QNC9PZGG784ET9VK"
],
"pending_intent": null
}
=== 2026-09-19T20:56:52.435980Z stage=llm_response ===
client_request_id: 14bac45d3a5e46fdfbd95ce0d1b806f2
pke_request_id: req_01M2XQA8GNT1W9PT4124KAYRJH
interpreter_request_id: e6776bed-150f-4379-9331-0cf4f752ebb2
conversation_id: conv_01M2XQ74DJWGGEJPJZP6YNVA7V
user_text: qual minha idade?
provider_request_id: eab8bc40-0c1c-4243-822f-705988ce1bc0
attempt: 1
model: deepseek-flash
latency_ms: 1453
---
{
"ir_kind": "semantic_query",
"ir": {
"raw_input": "qual minha idade?",
"utterance_kind": "query",
"primitive_hint": "attribute",
"subject": {
"text": "eu",
"kind_hint": "person",
"reference_kind": "contextual"
},
"attribute_expression": "idade",
"stable_property_semantics": true,
"discourse_decision": "new_topic"
}
}
=== 2026-09-19T20:56:52.445651Z stage=normalize ===
client_request_id: 14bac45d3a5e46fdfbd95ce0d1b806f2
pke_request_id: req_01M2XQA8GNT1W9PT4124KAYRJH
interpreter_request_id: e6776bed-150f-4379-9331-0cf4f752ebb2
conversation_id: conv_01M2XQ74DJWGGEJPJZP6YNVA7V
user_text: qual minha idade?
route: semantic_v3
notes: []
---
{
"ir_kind": "semantic_query",
"ir": {
"raw_input": "qual minha idade?",
"utterance_kind": "query",
"primitive_hint": "attribute",
"subject": {
"text": "eu",
"kind_hint": "person",
"reference_kind": "contextual"
},
"attribute_expression": "idade",
"stable_property_semantics": true,
"discourse_decision": "new_topic"
}
}
=== 2026-09-19T20:56:52.453192Z stage=proposal ===
client_request_id: 14bac45d3a5e46fdfbd95ce0d1b806f2
pke_request_id: req_01M2XQA8GNT1W9PT4124KAYRJH
interpreter_request_id: e6776bed-150f-4379-9331-0cf4f752ebb2
conversation_id: conv_01M2XQ74DJWGGEJPJZP6YNVA7V
user_text: qual minha idade?
ir_kind: semantic_query
---
{
"raw_input": "qual minha idade?",
"utterance_kind": "query",
"primitive_hint": "attribute",
"subject": {
"text": "eu",
"kind_hint": "person",
"reference_kind": "contextual",
"confidence": 1.0
},
"participants": [],
"entities_mentioned": [],
"attribute_expression": "idade",
"temporal": {
"original_text": ""
},
"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": "new_topic"
}
=== 2026-09-19T20:56:52.459839Z stage=repair ===
client_request_id: 14bac45d3a5e46fdfbd95ce0d1b806f2
pke_request_id: req_01M2XQA8GNT1W9PT4124KAYRJH
interpreter_request_id: e6776bed-150f-4379-9331-0cf4f752ebb2
conversation_id: conv_01M2XQ74DJWGGEJPJZP6YNVA7V
user_text: qual minha idade?
utterance_kind: query
primitive_hint: attribute
---
{
"raw_input": "qual minha idade?",
"utterance_kind": "query",
"primitive_hint": "attribute",
"subject": {
"text": "eu",
"kind_hint": "person",
"reference_kind": "contextual",
"confidence": 1.0
},
"participants": [],
"entities_mentioned": [],
"attribute_expression": "idade",
"temporal": {
"original_text": ""
},
"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": "new_topic"
}
=== 2026-09-19T20:56:52.466136Z stage=assessment ===
client_request_id: 14bac45d3a5e46fdfbd95ce0d1b806f2
pke_request_id: req_01M2XQA8GNT1W9PT4124KAYRJH
interpreter_request_id: e6776bed-150f-4379-9331-0cf4f752ebb2
conversation_id: conv_01M2XQ74DJWGGEJPJZP6YNVA7V
user_text: qual minha idade?
---
{
"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-19T20:56:52.473432Z stage=query_resolution ===
client_request_id: 14bac45d3a5e46fdfbd95ce0d1b806f2
pke_request_id: req_01M2XQA8GNT1W9PT4124KAYRJH
interpreter_request_id: e6776bed-150f-4379-9331-0cf4f752ebb2
conversation_id: conv_01M2XQ74DJWGGEJPJZP6YNVA7V
user_text: qual minha idade?
---
{
"status": "insufficient",
"primitive": "attribute",
"notes": [
"attribute_dimension_unresolved"
]
}
=== 2026-09-19T20:56:52.480508Z stage=canonical ===
client_request_id: 14bac45d3a5e46fdfbd95ce0d1b806f2
pke_request_id: req_01M2XQA8GNT1W9PT4124KAYRJH
interpreter_request_id: e6776bed-150f-4379-9331-0cf4f752ebb2
conversation_id: conv_01M2XQ74DJWGGEJPJZP6YNVA7V
user_text: qual minha idade?
wire_stage: unresolved
failure_stage: CONCEPT_RESOLUTION
execution_reasons: []
primitive: attribute
concepts_status: unresolved
concepts_notes: ["attribute — no safe dimension/value"]
---
null
=== 2026-09-19T20:56:52.547425Z stage=presenter_request ===
request_id: req_01M2XQA8GNT1W9PT4124KAYRJH
client_request_id: 14bac45d3a5e46fdfbd95ce0d1b806f2
conversation_id: 840af231-bec8-44d6-94e7-fd4c8970bda2
user_message_id: msg_01M2XQA8G8PF1KTSFZSG1BY0E9
operation: none
status: unsupported
---
{
"user_text": "qual minha idade?",
"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
},
"presenter_provider": "deepseek",
"presenter_model": "deepseek-chat",
"attempt": 1
}
=== 2026-09-19T20:56:52.595795Z stage=presenter_response ===
request_id: req_01M2XQA8GNT1W9PT4124KAYRJH
client_request_id: 14bac45d3a5e46fdfbd95ce0d1b806f2
conversation_id: 840af231-bec8-44d6-94e7-fd4c8970bda2
user_message_id: msg_01M2XQA8G8PF1KTSFZSG1BY0E9
status: failed
---
{
"text": "Não consegui interpretar isso com segurança.",
"presenter_provider": "deepseek",
"presenter_model": "deepseek-chat",
"provider": "deepseek",
"model": "deepseek-chat",
"fallback_used": true,
"latency_ms": 41,
"attempt": 1,
"exception_class": "ConnectError",
"safe_error_message": "presenter llm unavailable (ConnectError)",
"fallback_reason": "provider_error",
"status": "failed",
"reason": "presenter llm unavailable (ConnectError)",
"fallback_template": "unsupported",
"structured_result_status": "unsupported"
}