PKE
Trace de abstração
Frase → JSON da LLM → claims → primitivos. Até onde o James desceu nesta fala.
PKE · 20260912154736_8eba0080466846dbc426dc879cd31617.log
=== 2026-09-12T18:47:36.519121Z stage=llm_response ===
client_request_id: 8eba0080466846dbc426dc879cd31617
pke_request_id: req_01M2BF4H751BMKRTBGT1R5F3V5
interpreter_request_id: 15f682be-a53c-4456-9e9d-1214ac51c438
conversation_id: conv_01M2BF3FSN3HY6APHF3H7DKZZZ
user_text: eu tenho um carro do modelo city
provider_request_id: c3fe32a2-46f7-425a-be74-15fbf421a285
attempt: 1
model: deepseek-flash
latency_ms: 1625
---
{
"ir_kind": "semantic_proposal",
"ir": {
"raw_input": "eu tenho um carro do modelo city",
"utterance_kind": "assert",
"primitive_hint": "relation",
"subject": {
"text": "self",
"kind_hint": "person",
"reference_kind": "contextual"
},
"object": {
"text": "carro",
"kind_hint": "vehicle",
"reference_kind": "class",
"class_hint": "car"
},
"relation_expression": "owns",
"link_semantics": true,
"stable_property_semantics": false,
"classification_semantics": false,
"change_semantics": false,
"condition_semantics": false,
"measurement_semantics": false,
"temporal": {
"original_text": "",
"occurrence_aspect": "ongoing"
},
"claims": [
{
"kind": "relation",
"subject": {
"text": "self",
"kind_hint": "person"
},
"object": {
"text": "carro",
"kind_hint": "vehicle",
"class_hint": "car"
},
"predicate": "owns",
"origin": "explicit"
},
{
"kind": "attribute",
"subject": {
"text": "carro",
"kind_hint": "vehicle"
},
"predicate": "model",
"value_text": "city",
"origin": "explicit"
}
],
"confidence": 0.8
}
}
=== 2026-09-12T18:47:36.527146Z stage=normalize ===
client_request_id: 8eba0080466846dbc426dc879cd31617
pke_request_id: req_01M2BF4H751BMKRTBGT1R5F3V5
interpreter_request_id: 15f682be-a53c-4456-9e9d-1214ac51c438
conversation_id: conv_01M2BF3FSN3HY6APHF3H7DKZZZ
user_text: eu tenho um carro do modelo city
route: semantic_v3
notes: []
---
{
"ir_kind": "semantic_proposal",
"ir": {
"raw_input": "eu tenho um carro do modelo city",
"utterance_kind": "assert",
"primitive_hint": "relation",
"subject": {
"text": "self",
"kind_hint": "person",
"reference_kind": "contextual"
},
"object": {
"text": "carro",
"kind_hint": "vehicle",
"reference_kind": "class",
"class_hint": "car"
},
"relation_expression": "owns",
"link_semantics": true,
"stable_property_semantics": false,
"classification_semantics": false,
"change_semantics": false,
"condition_semantics": false,
"measurement_semantics": false,
"temporal": {
"original_text": "",
"occurrence_aspect": "ongoing"
},
"claims": [
{
"kind": "relation",
"subject": {
"text": "self",
"kind_hint": "person"
},
"object": {
"text": "carro",
"kind_hint": "vehicle",
"class_hint": "car"
},
"predicate": "owns",
"origin": "explicit"
},
{
"kind": "attribute",
"subject": {
"text": "carro",
"kind_hint": "vehicle"
},
"predicate": "model",
"value_text": "city",
"origin": "explicit"
}
],
"confidence": 0.8
}
}
=== 2026-09-12T18:47:36.536845Z stage=proposal ===
client_request_id: 8eba0080466846dbc426dc879cd31617
pke_request_id: req_01M2BF4H751BMKRTBGT1R5F3V5
interpreter_request_id: 15f682be-a53c-4456-9e9d-1214ac51c438
conversation_id: conv_01M2BF3FSN3HY6APHF3H7DKZZZ
user_text: eu tenho um carro do modelo city
ir_kind: semantic_proposal
---
{
"raw_input": "eu tenho um carro do modelo city",
"utterance_kind": "assert",
"primitive_hint": "relation",
"subject": {
"text": "self",
"kind_hint": "person",
"reference_kind": "contextual",
"confidence": 1.0
},
"object": {
"text": "carro",
"kind_hint": "vehicle",
"reference_kind": "class",
"class_hint": "car",
"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": 0.8,
"assertion_confidence": {},
"claims": [
{
"kind": "relation",
"subject": {
"text": "self",
"kind_hint": "person",
"reference_kind": "named",
"confidence": 1.0
},
"object": {
"text": "carro",
"kind_hint": "vehicle",
"reference_kind": "named",
"class_hint": "car",
"confidence": 1.0
},
"predicate": "owns",
"confidence": 1.0,
"origin": "explicit"
},
{
"kind": "attribute",
"subject": {
"text": "carro",
"kind_hint": "vehicle",
"reference_kind": "named",
"confidence": 1.0
},
"predicate": "model",
"value_text": "city",
"confidence": 1.0,
"origin": "explicit"
}
],
"correction_semantics": false
}
=== 2026-09-12T18:47:36.545851Z stage=repair ===
client_request_id: 8eba0080466846dbc426dc879cd31617
pke_request_id: req_01M2BF4H751BMKRTBGT1R5F3V5
interpreter_request_id: 15f682be-a53c-4456-9e9d-1214ac51c438
conversation_id: conv_01M2BF3FSN3HY6APHF3H7DKZZZ
user_text: eu tenho um carro do modelo city
utterance_kind: assert
primitive_hint: relation
---
{
"raw_input": "eu tenho um carro do modelo city",
"utterance_kind": "assert",
"primitive_hint": "relation",
"subject": {
"text": "self",
"kind_hint": "person",
"reference_kind": "contextual",
"confidence": 1.0
},
"object": {
"text": "carro",
"kind_hint": "vehicle",
"reference_kind": "class",
"class_hint": "car",
"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": 0.8,
"assertion_confidence": {},
"claims": [
{
"kind": "relation",
"subject": {
"text": "self",
"kind_hint": "person",
"reference_kind": "named",
"confidence": 1.0
},
"object": {
"text": "carro",
"kind_hint": "vehicle",
"reference_kind": "named",
"class_hint": "car",
"confidence": 1.0
},
"predicate": "owns",
"confidence": 1.0,
"origin": "explicit"
},
{
"kind": "attribute",
"subject": {
"text": "carro",
"kind_hint": "vehicle",
"reference_kind": "named",
"confidence": 1.0
},
"predicate": "model",
"value_text": "city",
"confidence": 1.0,
"origin": "explicit"
}
],
"correction_semantics": false
}
=== 2026-09-12T18:47:36.556289Z stage=claims ===
client_request_id: 8eba0080466846dbc426dc879cd31617
pke_request_id: req_01M2BF4H751BMKRTBGT1R5F3V5
interpreter_request_id: 15f682be-a53c-4456-9e9d-1214ac51c438
conversation_id: conv_01M2BF3FSN3HY6APHF3H7DKZZZ
user_text: eu tenho um carro do modelo city
---
{
"claims": [
{
"claim_id": "c1",
"kind": "relation",
"origin": "explicit",
"confidence": 1.0,
"subject": "self",
"object": "carro",
"predicate": "owns"
},
{
"claim_id": "c2",
"kind": "attribute",
"origin": "explicit",
"confidence": 1.0,
"subject": "carro",
"predicate": "model",
"value": "city"
}
]
}
=== 2026-09-12T18:47:36.562628Z stage=assessment ===
client_request_id: 8eba0080466846dbc426dc879cd31617
pke_request_id: req_01M2BF4H751BMKRTBGT1R5F3V5
interpreter_request_id: 15f682be-a53c-4456-9e9d-1214ac51c438
conversation_id: conv_01M2BF3FSN3HY6APHF3H7DKZZZ
user_text: eu tenho um carro do modelo city
---
{
"status": "actionable",
"routed_primitive": "relation",
"missing_semantic_roles": [],
"conflicting_signals": [],
"notes": [
"link semantics → RELATION"
]
}
=== 2026-09-12T18:47:36.577628Z stage=canonical ===
client_request_id: 8eba0080466846dbc426dc879cd31617
pke_request_id: req_01M2BF4H751BMKRTBGT1R5F3V5
interpreter_request_id: 15f682be-a53c-4456-9e9d-1214ac51c438
conversation_id: conv_01M2BF3FSN3HY6APHF3H7DKZZZ
user_text: eu tenho um carro do modelo city
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 carro do modelo city",
"domains": [],
"entities_mentioned": [
{
"text": "self",
"type_hint": {
"key": "entity.person"
},
"suggested_aliases": [],
"confidence": 1.0,
"reference_kind": "contextual"
},
{
"text": "carro",
"type_hint": {
"key": "entity.automobile"
},
"suggested_aliases": [],
"confidence": 1.0,
"reference_kind": "class"
}
],
"attribute": {
"subject": {
"text": "carro",
"type_hint": {
"key": "entity.automobile"
},
"suggested_aliases": [],
"confidence": 1.0,
"reference_kind": "class"
},
"dimension_key": "model",
"value_kind": "text",
"text_value": "city",
"is_current": true,
"time": {
"original_text": "",
"occurrence_status": "ongoing"
}
},
"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": "carro",
"type_hint": {
"key": "entity.automobile"
},
"suggested_aliases": [],
"confidence": 1.0,
"reference_kind": "class"
},
"mode": "assert",
"time": {
"original_text": "",
"occurrence_status": "ongoing"
}
},
"additional_relations": [],
"missing_hints": [],
"claim_report": {
"received": 2,
"assumed_dropped": 0,
"derived_deferred": 0,
"unsupported": 0,
"notes": []
}
}
=== 2026-09-12T18:47:36.605452Z stage=entity_resolution ===
client_request_id: 8eba0080466846dbc426dc879cd31617
pke_request_id: req_01M2BF4H751BMKRTBGT1R5F3V5
interpreter_request_id: 15f682be-a53c-4456-9e9d-1214ac51c438
conversation_id: conv_01M2BF3FSN3HY6APHF3H7DKZZZ
---
{
"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"
]
}
],
"count": 1
}
=== 2026-09-12T18:47:36.620277Z stage=engine ===
client_request_id: 8eba0080466846dbc426dc879cd31617
pke_request_id: req_01M2BF4H751BMKRTBGT1R5F3V5
conversation_id: conv_01M2BF3FSN3HY6APHF3H7DKZZZ
---
{
"path": "ingest",
"status": "rejected",
"is_correction": false,
"issues": [
{
"code": "materialization.denied",
"message": "relation sem endpoints resolvidos"
}
],
"bound_entity_ids": []
}
=== 2026-09-12T18:47:36.676270Z stage=presenter_request ===
request_id: req_01M2BF4H751BMKRTBGT1R5F3V5
client_request_id: 8eba0080466846dbc426dc879cd31617
conversation_id: 50a02e44-b58b-45d2-9c47-61bf1ae97f33
user_message_id: msg_01M2BF4H6S36FMMEZ14N4ME8JY
operation: knowledge_write
status: unsupported
---
{
"user_text": "eu tenho um carro do modelo city",
"structured_result": {
"status": "unsupported",
"operation": "knowledge_write",
"kind": "write",
"value": null,
"values": [],
"relation_answer": null,
"matched_entities": [],
"candidates": [],
"reason": null,
"error_code": null
}
}
=== 2026-09-12T18:47:36.704949Z stage=presenter_response ===
request_id: req_01M2BF4H751BMKRTBGT1R5F3V5
client_request_id: 8eba0080466846dbc426dc879cd31617
conversation_id: 50a02e44-b58b-45d2-9c47-61bf1ae97f33
user_message_id: msg_01M2BF4H6S36FMMEZ14N4ME8JY
status: failed
---
{
"text": "Ainda não consigo registrar isso com segurança.",
"provider": "deepseek",
"model": "deepseek-chat",
"fallback_used": true,
"latency_ms": 26,
"status": "failed",
"reason": "presenter llm unavailable",
"fallback_template": "unsupported"
}