PKE
Trace de abstração
Frase → JSON da LLM → claims → primitivos. Até onde o James desceu nesta fala.
PKE · 20260912184627_cb9a0bedfdf215b375dbe58e1c138a5d.log
=== 2026-09-12T21:46:27.386674Z stage=llm_response ===
client_request_id: cb9a0bedfdf215b375dbe58e1c138a5d
pke_request_id: req_01M2BSC0N9XT2QA7WK2VJZGM5E
interpreter_request_id: c1afc866-fac6-4967-8c5b-e6c2507dc671
conversation_id: conv_01M2BS2EED5JSXYE7TGQR26BVT
user_text: qual endereço da casa da praia
provider_request_id: 797b06d5-33d3-4001-88dc-a0af4e8e65f6
attempt: 1
model: deepseek-flash
latency_ms: 1561
---
{
"ir_kind": "semantic_query",
"ir": {
"raw_input": "qual endereço da casa da praia",
"utterance_kind": "query",
"primitive_hint": "attribute",
"subject": {
"text": "casa da praia",
"kind_hint": "place",
"reference_kind": "contextual"
},
"attribute_expression": "endereço",
"stable_property_semantics": true,
"entities_mentioned": [
{
"text": "casa da praia",
"kind_hint": "place",
"reference_kind": "contextual"
}
],
"temporal": {
"original_text": "",
"occurrence_aspect": "ongoing"
}
}
}
=== 2026-09-12T21:46:27.386674Z stage=normalize ===
client_request_id: cb9a0bedfdf215b375dbe58e1c138a5d
pke_request_id: req_01M2BSC0N9XT2QA7WK2VJZGM5E
interpreter_request_id: c1afc866-fac6-4967-8c5b-e6c2507dc671
conversation_id: conv_01M2BS2EED5JSXYE7TGQR26BVT
user_text: qual endereço da casa da praia
route: semantic_v3
notes: []
---
{
"ir_kind": "semantic_query",
"ir": {
"raw_input": "qual endereço da casa da praia",
"utterance_kind": "query",
"primitive_hint": "attribute",
"subject": {
"text": "casa da praia",
"kind_hint": "place",
"reference_kind": "contextual"
},
"attribute_expression": "endereço",
"stable_property_semantics": true,
"entities_mentioned": [
{
"text": "casa da praia",
"kind_hint": "place",
"reference_kind": "contextual"
}
],
"temporal": {
"original_text": "",
"occurrence_aspect": "ongoing"
}
}
}
=== 2026-09-12T21:46:27.386674Z stage=proposal ===
client_request_id: cb9a0bedfdf215b375dbe58e1c138a5d
pke_request_id: req_01M2BSC0N9XT2QA7WK2VJZGM5E
interpreter_request_id: c1afc866-fac6-4967-8c5b-e6c2507dc671
conversation_id: conv_01M2BS2EED5JSXYE7TGQR26BVT
user_text: qual endereço da casa da praia
ir_kind: semantic_query
---
{
"raw_input": "qual endereço da casa da praia",
"utterance_kind": "query",
"primitive_hint": "attribute",
"subject": {
"text": "casa da praia",
"kind_hint": "place",
"reference_kind": "contextual",
"confidence": 1.0
},
"participants": [],
"entities_mentioned": [
{
"text": "casa da praia",
"kind_hint": "place",
"reference_kind": "contextual",
"confidence": 1.0
}
],
"attribute_expression": "endereço",
"temporal": {
"original_text": "",
"occurrence_aspect": "ongoing"
},
"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
}
=== 2026-09-12T21:46:27.402845Z stage=repair ===
client_request_id: cb9a0bedfdf215b375dbe58e1c138a5d
pke_request_id: req_01M2BSC0N9XT2QA7WK2VJZGM5E
interpreter_request_id: c1afc866-fac6-4967-8c5b-e6c2507dc671
conversation_id: conv_01M2BS2EED5JSXYE7TGQR26BVT
user_text: qual endereço da casa da praia
utterance_kind: query
primitive_hint: attribute
---
{
"raw_input": "qual endereço da casa da praia",
"utterance_kind": "query",
"primitive_hint": "attribute",
"subject": {
"text": "casa da praia",
"kind_hint": "place",
"reference_kind": "contextual",
"confidence": 1.0
},
"participants": [],
"entities_mentioned": [
{
"text": "casa da praia",
"kind_hint": "place",
"reference_kind": "contextual",
"confidence": 1.0
}
],
"attribute_expression": "endereço",
"temporal": {
"original_text": "",
"occurrence_aspect": "ongoing"
},
"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
}
=== 2026-09-12T21:46:27.403225Z stage=assessment ===
client_request_id: cb9a0bedfdf215b375dbe58e1c138a5d
pke_request_id: req_01M2BSC0N9XT2QA7WK2VJZGM5E
interpreter_request_id: c1afc866-fac6-4967-8c5b-e6c2507dc671
conversation_id: conv_01M2BS2EED5JSXYE7TGQR26BVT
user_text: qual endereço da casa da praia
---
{
"status": "actionable",
"routed_primitive": "attribute",
"missing_semantic_roles": [],
"conflicting_signals": [],
"notes": [
"query utterance — primitive resolved downstream",
"stable property query → ATTRIBUTE"
]
}
=== 2026-09-12T21:46:27.403225Z stage=query_resolution ===
client_request_id: cb9a0bedfdf215b375dbe58e1c138a5d
pke_request_id: req_01M2BSC0N9XT2QA7WK2VJZGM5E
interpreter_request_id: c1afc866-fac6-4967-8c5b-e6c2507dc671
conversation_id: conv_01M2BS2EED5JSXYE7TGQR26BVT
user_text: qual endereço da casa da praia
---
{
"status": "insufficient",
"primitive": "attribute",
"notes": [
"attribute_dimension_unresolved"
]
}
=== 2026-09-12T21:46:27.403225Z stage=canonical ===
client_request_id: cb9a0bedfdf215b375dbe58e1c138a5d
pke_request_id: req_01M2BSC0N9XT2QA7WK2VJZGM5E
interpreter_request_id: c1afc866-fac6-4967-8c5b-e6c2507dc671
conversation_id: conv_01M2BS2EED5JSXYE7TGQR26BVT
user_text: qual endereço da casa da praia
wire_stage: unresolved
failure_stage: CONCEPT_RESOLUTION
execution_reasons: []
primitive: attribute
concepts_status: unresolved
concepts_notes: ["attribute — no safe dimension/value"]
---
null
=== 2026-09-12T21:46:27.469985Z stage=presenter_request ===
request_id: req_01M2BSC0N9XT2QA7WK2VJZGM5E
client_request_id: cb9a0bedfdf215b375dbe58e1c138a5d
conversation_id: 0cb1d57f-4a3a-497a-8a8a-9a79af1e9ce2
user_message_id: msg_01M2BSC0MR6PRJ25V3KEG4X9TE
operation: none
status: unsupported
---
{
"user_text": "qual endereço da casa da praia",
"structured_result": {
"status": "unsupported",
"operation": "none",
"kind": "interpretation",
"value": null,
"values": [],
"relation_answer": null,
"matched_entities": [],
"candidates": [],
"reason": null,
"error_code": null
}
}
=== 2026-09-12T21:46:27.486670Z stage=presenter_response ===
request_id: req_01M2BSC0N9XT2QA7WK2VJZGM5E
client_request_id: cb9a0bedfdf215b375dbe58e1c138a5d
conversation_id: 0cb1d57f-4a3a-497a-8a8a-9a79af1e9ce2
user_message_id: msg_01M2BSC0MR6PRJ25V3KEG4X9TE
status: failed
---
{
"text": "Não consegui interpretar isso com segurança suficiente.",
"provider": "deepseek",
"model": "deepseek-chat",
"fallback_used": true,
"latency_ms": 25,
"status": "failed",
"reason": "presenter llm unavailable",
"fallback_template": "unsupported"
}