PKE
Trace de abstração
Frase → JSON da LLM → claims → primitivos. Até onde o James desceu nesta fala.
PKE · 20260913184626_b40934a8889ce234a3f99d220afd20fd.log
=== 2026-09-13T21:46:26.698963Z stage=discourse_input ===
client_request_id: b40934a8889ce234a3f99d220afd20fd
pke_request_id: req_01M2EBRRFXNG05VCGF9NQFA491
conversation_id: conv_01M2EBRRDHYE2GXS4CZ9Q4TP9M
---
{
"conversation_id": "conv_01M2EBRRDHYE2GXS4CZ9Q4TP9M",
"active_focus": null,
"recent_referents": [],
"allowed_entity_ids": [],
"pending_intent": null
}
=== 2026-09-13T21:46:28.401473Z stage=llm_response ===
client_request_id: b40934a8889ce234a3f99d220afd20fd
pke_request_id: req_01M2EBRRFXNG05VCGF9NQFA491
interpreter_request_id: f76bd94a-be78-45eb-bd88-73a3b067121a
conversation_id: conv_01M2EBRRDHYE2GXS4CZ9Q4TP9M
user_text: Onde Carlos trabalha?
provider_request_id: 83a74ad6-2bcf-4398-bf86-633d40e26b7c
attempt: 1
model: deepseek-flash
latency_ms: 1703
---
{
"ir_kind": "semantic_query",
"ir": {
"raw_input": "Onde Carlos trabalha?",
"utterance_kind": "query",
"primitive_hint": "relation",
"subject": {
"text": "Carlos",
"kind_hint": "person",
"reference_kind": "named"
},
"relation_expression": "trabalha em",
"link_semantics": true,
"attribute_expression": "local de trabalho",
"entities_mentioned": [
{
"text": "Carlos",
"kind_hint": "person",
"reference_kind": "named"
}
],
"temporal": {
"original_text": "",
"occurrence_aspect": "ongoing"
}
}
}
=== 2026-09-13T21:46:28.414882Z stage=normalize ===
client_request_id: b40934a8889ce234a3f99d220afd20fd
pke_request_id: req_01M2EBRRFXNG05VCGF9NQFA491
interpreter_request_id: f76bd94a-be78-45eb-bd88-73a3b067121a
conversation_id: conv_01M2EBRRDHYE2GXS4CZ9Q4TP9M
user_text: Onde Carlos trabalha?
route: semantic_v3
notes: []
---
{
"ir_kind": "semantic_query",
"ir": {
"raw_input": "Onde Carlos trabalha?",
"utterance_kind": "query",
"primitive_hint": "relation",
"subject": {
"text": "Carlos",
"kind_hint": "person",
"reference_kind": "named"
},
"relation_expression": "trabalha em",
"link_semantics": true,
"attribute_expression": "local de trabalho",
"entities_mentioned": [
{
"text": "Carlos",
"kind_hint": "person",
"reference_kind": "named"
}
],
"temporal": {
"original_text": "",
"occurrence_aspect": "ongoing"
}
}
}
=== 2026-09-13T21:46:28.427909Z stage=proposal ===
client_request_id: b40934a8889ce234a3f99d220afd20fd
pke_request_id: req_01M2EBRRFXNG05VCGF9NQFA491
interpreter_request_id: f76bd94a-be78-45eb-bd88-73a3b067121a
conversation_id: conv_01M2EBRRDHYE2GXS4CZ9Q4TP9M
user_text: Onde Carlos trabalha?
ir_kind: semantic_query
---
{
"raw_input": "Onde Carlos trabalha?",
"utterance_kind": "query",
"primitive_hint": "relation",
"subject": {
"text": "Carlos",
"kind_hint": "person",
"reference_kind": "named",
"confidence": 1.0
},
"participants": [],
"entities_mentioned": [
{
"text": "Carlos",
"kind_hint": "person",
"reference_kind": "named",
"confidence": 1.0
}
],
"relation_expression": "trabalha em",
"attribute_expression": "local de trabalho",
"temporal": {
"original_text": "",
"occurrence_aspect": "ongoing"
},
"negation": false,
"change_semantics": false,
"condition_semantics": false,
"link_semantics": true,
"stable_property_semantics": false,
"classification_semantics": false,
"measurement_semantics": false,
"domain_hints": [],
"confidence": 1.0,
"assertion_confidence": {},
"claims": [],
"correction_semantics": false
}
=== 2026-09-13T21:46:28.450509Z stage=repair ===
client_request_id: b40934a8889ce234a3f99d220afd20fd
pke_request_id: req_01M2EBRRFXNG05VCGF9NQFA491
interpreter_request_id: f76bd94a-be78-45eb-bd88-73a3b067121a
conversation_id: conv_01M2EBRRDHYE2GXS4CZ9Q4TP9M
user_text: Onde Carlos trabalha?
utterance_kind: query
primitive_hint: relation
---
{
"raw_input": "Onde Carlos trabalha?",
"utterance_kind": "query",
"primitive_hint": "relation",
"subject": {
"text": "Carlos",
"kind_hint": "person",
"reference_kind": "named",
"confidence": 1.0
},
"participants": [],
"entities_mentioned": [
{
"text": "Carlos",
"kind_hint": "person",
"reference_kind": "named",
"confidence": 1.0
}
],
"relation_expression": "trabalha em",
"attribute_expression": "local de trabalho",
"temporal": {
"original_text": "",
"occurrence_aspect": "ongoing"
},
"negation": false,
"change_semantics": false,
"condition_semantics": false,
"link_semantics": true,
"stable_property_semantics": false,
"classification_semantics": false,
"measurement_semantics": false,
"domain_hints": [],
"confidence": 1.0,
"assertion_confidence": {},
"claims": [],
"correction_semantics": false
}
=== 2026-09-13T21:46:28.457649Z stage=assessment ===
client_request_id: b40934a8889ce234a3f99d220afd20fd
pke_request_id: req_01M2EBRRFXNG05VCGF9NQFA491
interpreter_request_id: f76bd94a-be78-45eb-bd88-73a3b067121a
conversation_id: conv_01M2EBRRDHYE2GXS4CZ9Q4TP9M
user_text: Onde Carlos trabalha?
---
{
"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-13T21:46:28.472143Z stage=query_resolution ===
client_request_id: b40934a8889ce234a3f99d220afd20fd
pke_request_id: req_01M2EBRRFXNG05VCGF9NQFA491
interpreter_request_id: f76bd94a-be78-45eb-bd88-73a3b067121a
conversation_id: conv_01M2EBRRDHYE2GXS4CZ9Q4TP9M
user_text: Onde Carlos trabalha?
---
{
"status": "insufficient",
"primitive": "attribute",
"notes": [
"attribute_dimension_unresolved"
]
}
=== 2026-09-13T21:46:28.477170Z stage=canonical ===
client_request_id: b40934a8889ce234a3f99d220afd20fd
pke_request_id: req_01M2EBRRFXNG05VCGF9NQFA491
interpreter_request_id: f76bd94a-be78-45eb-bd88-73a3b067121a
conversation_id: conv_01M2EBRRDHYE2GXS4CZ9Q4TP9M
user_text: Onde Carlos trabalha?
wire_stage: unresolved
failure_stage: CONCEPT_RESOLUTION
execution_reasons: []
primitive: attribute
concepts_status: unresolved
concepts_notes: ["attribute — no safe dimension/value"]
---
null
=== 2026-09-13T21:46:28.527989Z stage=presenter_request ===
request_id: req_01M2EBRRFXNG05VCGF9NQFA491
client_request_id: b40934a8889ce234a3f99d220afd20fd
conversation_id: ca7db666-e816-4113-a129-d303875e5a72
user_message_id: msg_01M2EBRRFG4S2GB4R4FXBH9XS7
operation: none
status: unsupported
---
{
"user_text": "Onde Carlos trabalha?",
"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-13T21:46:29.425862Z stage=presenter_response ===
request_id: req_01M2EBRRFXNG05VCGF9NQFA491
client_request_id: b40934a8889ce234a3f99d220afd20fd
conversation_id: ca7db666-e816-4113-a129-d303875e5a72
user_message_id: msg_01M2EBRRFG4S2GB4R4FXBH9XS7
provider_request_id: 6113f9cd-96c3-435c-90e0-3799140c1bbc
status: ok
---
{
"text": "Não entendi o que você quer saber sobre o Carlos. Pode reformular?",
"presenter_provider": "deepseek",
"presenter_model": "deepseek-flash",
"provider": "deepseek",
"model": "deepseek-flash",
"fallback_used": false,
"latency_ms": 880,
"attempt": 1,
"provider_request_id": "6113f9cd-96c3-435c-90e0-3799140c1bbc",
"status": "ok"
}