PKE
Trace de abstração
Frase → JSON da LLM → claims → primitivos. Até onde o James desceu nesta fala.
PKE · 20260912184114_7bb72b2432e0c2337095bd39f92722b4.log
=== 2026-09-12T21:41:14.572503Z stage=llm_response ===
client_request_id: 7bb72b2432e0c2337095bd39f92722b4
pke_request_id: req_01M2BS2EGZR2TWSFYQQZ89Y9AM
interpreter_request_id: dd477f0e-3d83-44ec-8fe9-8ed2098fb3a2
conversation_id: conv_01M2BS2EED5JSXYE7TGQR26BVT
user_text: eu tenho um notebook chamado Atlas
provider_request_id: eabba104-e4c5-45a3-9a60-2ae93f4cb4f1
attempt: 1
model: deepseek-flash
latency_ms: 2235
---
{
"ir_kind": "semantic_proposal",
"ir": {
"raw_input": "eu tenho um notebook chamado Atlas",
"utterance_kind": "assert",
"primitive_hint": "relation",
"subject": {
"text": "self",
"kind_hint": "person",
"reference_kind": "contextual"
},
"object": {
"text": "Atlas",
"kind_hint": "thing",
"class_hint": "notebook",
"reference_kind": "named"
},
"relation_expression": "owns",
"link_semantics": true,
"temporal": {
"original_text": "",
"occurrence_aspect": "ongoing"
},
"claims": [
{
"kind": "relation",
"subject": {
"text": "self",
"kind_hint": "person",
"reference_kind": "contextual"
},
"object": {
"text": "Atlas",
"kind_hint": "thing",
"class_hint": "notebook",
"reference_kind": "named"
},
"predicate": "owns",
"origin": "explicit"
},
{
"kind": "classification",
"subject": {
"text": "Atlas",
"kind_hint": "thing",
"reference_kind": "named"
},
"class_hint": "notebook",
"origin": "explicit"
},
{
"kind": "intrinsic_property",
"subject": {
"text": "Atlas",
"kind_hint": "thing",
"reference_kind": "named"
},
"predicate": "name",
"value_text": "Atlas",
"origin": "explicit"
}
]
}
}
=== 2026-09-12T21:41:14.588266Z stage=normalize ===
client_request_id: 7bb72b2432e0c2337095bd39f92722b4
pke_request_id: req_01M2BS2EGZR2TWSFYQQZ89Y9AM
interpreter_request_id: dd477f0e-3d83-44ec-8fe9-8ed2098fb3a2
conversation_id: conv_01M2BS2EED5JSXYE7TGQR26BVT
user_text: eu tenho um notebook chamado Atlas
route: semantic_v3
notes: []
---
{
"ir_kind": "semantic_proposal",
"ir": {
"raw_input": "eu tenho um notebook chamado Atlas",
"utterance_kind": "assert",
"primitive_hint": "relation",
"subject": {
"text": "self",
"kind_hint": "person",
"reference_kind": "contextual"
},
"object": {
"text": "Atlas",
"kind_hint": "thing",
"class_hint": "notebook",
"reference_kind": "named"
},
"relation_expression": "owns",
"link_semantics": true,
"temporal": {
"original_text": "",
"occurrence_aspect": "ongoing"
},
"claims": [
{
"kind": "relation",
"subject": {
"text": "self",
"kind_hint": "person",
"reference_kind": "contextual"
},
"object": {
"text": "Atlas",
"kind_hint": "thing",
"class_hint": "notebook",
"reference_kind": "named"
},
"predicate": "owns",
"origin": "explicit"
},
{
"kind": "classification",
"subject": {
"text": "Atlas",
"kind_hint": "thing",
"reference_kind": "named"
},
"class_hint": "notebook",
"origin": "explicit"
},
{
"kind": "intrinsic_property",
"subject": {
"text": "Atlas",
"kind_hint": "thing",
"reference_kind": "named"
},
"predicate": "name",
"value_text": "Atlas",
"origin": "explicit"
}
]
}
}
=== 2026-09-12T21:41:14.588266Z stage=proposal ===
client_request_id: 7bb72b2432e0c2337095bd39f92722b4
pke_request_id: req_01M2BS2EGZR2TWSFYQQZ89Y9AM
interpreter_request_id: dd477f0e-3d83-44ec-8fe9-8ed2098fb3a2
conversation_id: conv_01M2BS2EED5JSXYE7TGQR26BVT
user_text: eu tenho um notebook chamado Atlas
ir_kind: semantic_proposal
---
{
"raw_input": "eu tenho um notebook chamado Atlas",
"utterance_kind": "assert",
"primitive_hint": "relation",
"subject": {
"text": "self",
"kind_hint": "person",
"reference_kind": "contextual",
"confidence": 1.0
},
"object": {
"text": "Atlas",
"kind_hint": "thing",
"reference_kind": "named",
"class_hint": "notebook",
"confidence": 1.0
},
"participants": [],
"entities_mentioned": [],
"relation_expression": "owns",
"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": [
{
"kind": "relation",
"subject": {
"text": "self",
"kind_hint": "person",
"reference_kind": "contextual",
"confidence": 1.0
},
"object": {
"text": "Atlas",
"kind_hint": "thing",
"reference_kind": "named",
"class_hint": "notebook",
"confidence": 1.0
},
"predicate": "owns",
"confidence": 1.0,
"origin": "explicit"
},
{
"kind": "classification",
"subject": {
"text": "Atlas",
"kind_hint": "thing",
"reference_kind": "named",
"confidence": 1.0
},
"class_hint": "notebook",
"confidence": 1.0,
"origin": "explicit"
},
{
"kind": "intrinsic_property",
"subject": {
"text": "Atlas",
"kind_hint": "thing",
"reference_kind": "named",
"confidence": 1.0
},
"predicate": "name",
"value_text": "Atlas",
"confidence": 1.0,
"origin": "explicit"
}
],
"correction_semantics": false
}
=== 2026-09-12T21:41:14.588266Z stage=repair ===
client_request_id: 7bb72b2432e0c2337095bd39f92722b4
pke_request_id: req_01M2BS2EGZR2TWSFYQQZ89Y9AM
interpreter_request_id: dd477f0e-3d83-44ec-8fe9-8ed2098fb3a2
conversation_id: conv_01M2BS2EED5JSXYE7TGQR26BVT
user_text: eu tenho um notebook chamado Atlas
utterance_kind: assert
primitive_hint: relation
---
{
"raw_input": "eu tenho um notebook chamado Atlas",
"utterance_kind": "assert",
"primitive_hint": "relation",
"subject": {
"text": "self",
"kind_hint": "person",
"reference_kind": "contextual",
"confidence": 1.0
},
"object": {
"text": "Atlas",
"kind_hint": "thing",
"reference_kind": "named",
"class_hint": "notebook",
"confidence": 1.0
},
"participants": [],
"entities_mentioned": [],
"relation_expression": "owns",
"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": [
{
"kind": "relation",
"subject": {
"text": "self",
"kind_hint": "person",
"reference_kind": "contextual",
"confidence": 1.0
},
"object": {
"text": "Atlas",
"kind_hint": "thing",
"reference_kind": "named",
"class_hint": "notebook",
"confidence": 1.0
},
"predicate": "owns",
"confidence": 1.0,
"origin": "explicit"
},
{
"kind": "classification",
"subject": {
"text": "Atlas",
"kind_hint": "thing",
"reference_kind": "named",
"confidence": 1.0
},
"class_hint": "notebook",
"confidence": 1.0,
"origin": "explicit"
},
{
"kind": "intrinsic_property",
"subject": {
"text": "Atlas",
"kind_hint": "thing",
"reference_kind": "named",
"confidence": 1.0
},
"predicate": "name",
"value_text": "Atlas",
"confidence": 1.0,
"origin": "explicit"
}
],
"correction_semantics": false
}
=== 2026-09-12T21:41:14.588266Z stage=claims ===
client_request_id: 7bb72b2432e0c2337095bd39f92722b4
pke_request_id: req_01M2BS2EGZR2TWSFYQQZ89Y9AM
interpreter_request_id: dd477f0e-3d83-44ec-8fe9-8ed2098fb3a2
conversation_id: conv_01M2BS2EED5JSXYE7TGQR26BVT
user_text: eu tenho um notebook chamado Atlas
---
{
"claims": [
{
"claim_id": "c1",
"kind": "relation",
"origin": "explicit",
"confidence": 1.0,
"subject": "self",
"object": "Atlas",
"predicate": "owns"
},
{
"claim_id": "c2",
"kind": "classification",
"origin": "explicit",
"confidence": 1.0,
"subject": "Atlas",
"class": "notebook"
},
{
"claim_id": "c3",
"kind": "intrinsic_property",
"origin": "explicit",
"confidence": 1.0,
"subject": "Atlas",
"predicate": "name",
"value": "Atlas"
}
]
}
=== 2026-09-12T21:41:14.588266Z stage=assessment ===
client_request_id: 7bb72b2432e0c2337095bd39f92722b4
pke_request_id: req_01M2BS2EGZR2TWSFYQQZ89Y9AM
interpreter_request_id: dd477f0e-3d83-44ec-8fe9-8ed2098fb3a2
conversation_id: conv_01M2BS2EED5JSXYE7TGQR26BVT
user_text: eu tenho um notebook chamado Atlas
---
{
"status": "actionable",
"routed_primitive": "relation",
"missing_semantic_roles": [],
"conflicting_signals": [],
"notes": [
"link semantics → RELATION"
]
}
=== 2026-09-12T21:41:14.606986Z stage=canonical ===
client_request_id: 7bb72b2432e0c2337095bd39f92722b4
pke_request_id: req_01M2BS2EGZR2TWSFYQQZ89Y9AM
interpreter_request_id: dd477f0e-3d83-44ec-8fe9-8ed2098fb3a2
conversation_id: conv_01M2BS2EED5JSXYE7TGQR26BVT
user_text: eu tenho um notebook chamado Atlas
ir_type: IngestIR
wire_stage: canonical
execution_outcome: valid_executable
execution_reasons: []
primitive: relation
concepts_status: resolved
concepts_notes: ["alias=['e meu', 'is mine', 'owns', 'possui']"]
relation_type: relation.owns
---
{
"intent": "record_relation",
"raw_input": "eu tenho um notebook chamado Atlas",
"domains": [],
"entities_mentioned": [
{
"text": "self",
"type_hint": {
"key": "entity.person"
},
"suggested_aliases": [],
"confidence": 1.0,
"reference_kind": "contextual"
},
{
"text": "Atlas",
"type_hint": {
"key": "entity.thing"
},
"suggested_aliases": [],
"confidence": 1.0,
"reference_kind": "named"
}
],
"additional_attributes": [],
"additional_measurements": [],
"relation": {
"type": {
"key": "relation.owns"
},
"subject": {
"text": "self",
"type_hint": {
"key": "entity.person"
},
"suggested_aliases": [],
"confidence": 1.0,
"reference_kind": "contextual"
},
"object": {
"text": "Atlas",
"type_hint": {
"key": "entity.learned.notebook"
},
"suggested_aliases": [],
"confidence": 1.0,
"reference_kind": "named"
},
"mode": "assert",
"time": {
"original_text": "",
"occurrence_status": "ongoing"
}
},
"additional_relations": [],
"missing_hints": [],
"claim_report": {
"received": 3,
"assumed_dropped": 0,
"derived_deferred": 0,
"unsupported": 0,
"notes": [
"intrinsic_name_via_entity"
]
}
}
=== 2026-09-12T21:41:14.606986Z stage=entity_resolution ===
client_request_id: 7bb72b2432e0c2337095bd39f92722b4
pke_request_id: req_01M2BS2EGZR2TWSFYQQZ89Y9AM
interpreter_request_id: dd477f0e-3d83-44ec-8fe9-8ed2098fb3a2
conversation_id: conv_01M2BS2EED5JSXYE7TGQR26BVT
---
{
"resolutions": [
{
"reference": {
"text": "self",
"reference_kind": "contextual",
"type_hint": "entity.person"
},
"strategy": "principal_self",
"outcome": "resolved",
"candidate_count": 1,
"candidates": [
{
"entity_id": "01M2AZ0YGCFRZ6VKPSCCMVTBN8",
"canonical_name": "__principal__",
"type": "entity.person",
"match": "principal"
}
],
"resolved_entity_ids": [
"01M2AZ0YGCFRZ6VKPSCCMVTBN8"
]
},
{
"reference": {
"text": "Atlas",
"reference_kind": "named",
"type_hint": "entity.thing"
},
"strategy": "named_identity_primary",
"outcome": "create_candidate",
"candidate_count": 0,
"candidates": [],
"create_canonical_name": "Atlas",
"create_type": "entity.thing"
}
],
"count": 2
}
=== 2026-09-12T21:41:14.622826Z stage=materialization ===
client_request_id: 7bb72b2432e0c2337095bd39f92722b4
pke_request_id: req_01M2BS2EGZR2TWSFYQQZ89Y9AM
interpreter_request_id: dd477f0e-3d83-44ec-8fe9-8ed2098fb3a2
conversation_id: conv_01M2BS2EED5JSXYE7TGQR26BVT
---
{
"entities_created": [
{
"entity_id": "01M2BS2GQEXPQ663CV5YS98SEF",
"canonical_name": "Atlas",
"type": "entity.thing"
}
],
"entities_reused": [
{
"entity_id": "01M2AZ0YGCFRZ6VKPSCCMVTBN8",
"canonical_name": "__principal__",
"type": "entity.person"
}
],
"relations_created": [
{
"relation_id": "01M2BS2GQYYDM36A99TYVYVS06",
"subject_id": "01M2AZ0YGCFRZ6VKPSCCMVTBN8",
"type": "relation.owns",
"object_id": "01M2BS2GQEXPQ663CV5YS98SEF"
}
],
"attributes_created": [],
"measurements_created": [],
"claim_results": [
{
"status": "committed",
"materialized_as": {
"kind": "entity",
"entity_id": "01M2BS2GQEXPQ663CV5YS98SEF"
}
},
{
"status": "committed",
"materialized_as": {
"kind": "relation",
"relation_id": "01M2BS2GQYYDM36A99TYVYVS06"
}
}
],
"claim_tally": {
"received": 3,
"valid": 3,
"committed": 2,
"derived": 0,
"rejected": 0,
"deferred": 0
}
}
=== 2026-09-12T21:41:14.638479Z stage=engine ===
client_request_id: 7bb72b2432e0c2337095bd39f92722b4
pke_request_id: req_01M2BS2EGZR2TWSFYQQZ89Y9AM
conversation_id: conv_01M2BS2EED5JSXYE7TGQR26BVT
---
{
"path": "ingest",
"status": "committed",
"is_correction": false,
"issues": [
{
"code": "entity.create_pending",
"message": "entidade será criada no commit"
}
],
"bound_entity_ids": [
"01M2BS2GQEXPQ663CV5YS98SEF",
"01M2AZ0YGCFRZ6VKPSCCMVTBN8"
]
}
=== 2026-09-12T21:41:14.706994Z stage=presenter_request ===
request_id: req_01M2BS2EGZR2TWSFYQQZ89Y9AM
client_request_id: 7bb72b2432e0c2337095bd39f92722b4
conversation_id: 0cb1d57f-4a3a-497a-8a8a-9a79af1e9ce2
user_message_id: msg_01M2BS2EGFMDQ8DRSP5K7HB4CB
operation: knowledge_write
status: committed
---
{
"user_text": "eu tenho um notebook chamado Atlas",
"structured_result": {
"status": "committed",
"operation": "knowledge_write",
"kind": "acknowledgement",
"value": null,
"values": [],
"relation_answer": null,
"matched_entities": [],
"candidates": [],
"reason": null,
"error_code": null
}
}
=== 2026-09-12T21:41:14.740697Z stage=presenter_response ===
request_id: req_01M2BS2EGZR2TWSFYQQZ89Y9AM
client_request_id: 7bb72b2432e0c2337095bd39f92722b4
conversation_id: 0cb1d57f-4a3a-497a-8a8a-9a79af1e9ce2
user_message_id: msg_01M2BS2EGFMDQ8DRSP5K7HB4CB
status: failed
---
{
"text": "Entendi.",
"provider": "deepseek",
"model": "deepseek-chat",
"fallback_used": true,
"latency_ms": 31,
"status": "failed",
"reason": "presenter llm unavailable",
"fallback_template": "committed"
}