PKE
Trace de abstração
Frase → JSON da LLM → claims → primitivos. Até onde o James desceu nesta fala.
PKE · 20260913185332_e652bbc4edb399a24a9e16e9068c7ce6.log
=== 2026-09-13T21:53:32.794929Z stage=discourse_input ===
client_request_id: e652bbc4edb399a24a9e16e9068c7ce6
pke_request_id: req_01M2EC5RKT4RFJFJDEAN68KNB8
conversation_id: conv_01M2EBRRDHYE2GXS4CZ9Q4TP9M
---
{
"conversation_id": "conv_01M2EBRRDHYE2GXS4CZ9Q4TP9M",
"active_focus": {
"primitive": "relation",
"relation_type": "relation.studies_at",
"target_type": "entity.organization",
"entity_ids": [
"01M2EC1QP594DJS3742ME28KTY"
],
"display_name": "Unifor"
},
"recent_referents": [
{
"entity_id": "01M2EC1QP594DJS3742ME28KTY",
"type_key": "entity.organization",
"display_name": "Unifor",
"role": "active_focus",
"salience": 1.0
},
{
"entity_id": "01M2DR6BFCRPF7W8Z328GVGZN2",
"type_key": "entity.organization",
"display_name": "Orion",
"role": "previous_focus",
"salience": 0.368
}
],
"allowed_entity_ids": [
"01M2EC1QP594DJS3742ME28KTY",
"01M2DR6BFCRPF7W8Z328GVGZN2"
],
"pending_intent": null
}
=== 2026-09-13T21:53:34.680459Z stage=llm_response ===
client_request_id: e652bbc4edb399a24a9e16e9068c7ce6
pke_request_id: req_01M2EC5RKT4RFJFJDEAN68KNB8
interpreter_request_id: fde993b2-7cb2-44e2-a2d6-926829f1f129
conversation_id: conv_01M2EBRRDHYE2GXS4CZ9Q4TP9M
user_text: qual curso da minha POS?
provider_request_id: 380bfd31-d4b2-455d-9b1f-19690fb53e25
attempt: 1
model: deepseek-flash
latency_ms: 1859
---
{
"ir_kind": "semantic_query",
"ir": {
"raw_input": "qual curso da minha POS?",
"utterance_kind": "query",
"primitive_hint": "attribute",
"subject": {
"text": "POS",
"kind_hint": "thing",
"reference_kind": "possessive"
},
"attribute_expression": "curso",
"stable_property_semantics": true,
"entities_mentioned": [
{
"text": "POS",
"kind_hint": "thing",
"reference_kind": "possessive"
}
],
"discourse_decision": "continue",
"confidence": "medium"
}
}
=== 2026-09-13T21:53:34.680459Z stage=normalize ===
client_request_id: e652bbc4edb399a24a9e16e9068c7ce6
pke_request_id: req_01M2EC5RKT4RFJFJDEAN68KNB8
interpreter_request_id: fde993b2-7cb2-44e2-a2d6-926829f1f129
conversation_id: conv_01M2EBRRDHYE2GXS4CZ9Q4TP9M
user_text: qual curso da minha POS?
route: semantic_v3
notes: []
---
{
"ir_kind": "semantic_query",
"ir": {
"raw_input": "qual curso da minha POS?",
"utterance_kind": "query",
"primitive_hint": "attribute",
"subject": {
"text": "POS",
"kind_hint": "thing",
"reference_kind": "possessive"
},
"attribute_expression": "curso",
"stable_property_semantics": true,
"entities_mentioned": [
{
"text": "POS",
"kind_hint": "thing",
"reference_kind": "possessive"
}
],
"discourse_decision": "continue",
"confidence": "medium"
}
}
=== 2026-09-13T21:53:36.691903Z stage=llm_response ===
client_request_id: e652bbc4edb399a24a9e16e9068c7ce6
pke_request_id: req_01M2EC5RKT4RFJFJDEAN68KNB8
interpreter_request_id: fde993b2-7cb2-44e2-a2d6-926829f1f129
conversation_id: conv_01M2EBRRDHYE2GXS4CZ9Q4TP9M
user_text: qual curso da minha POS?
provider_request_id: 7e877284-ca59-4c70-9301-99ca9462bcd1
attempt: 2
model: deepseek-flash
latency_ms: 1937
---
{
"ir_kind": "semantic_query",
"ir": {
"raw_input": "qual curso da minha POS?",
"utterance_kind": "query",
"primitive_hint": "relation",
"subject": {
"text": "eu",
"kind_hint": "person",
"reference_kind": "contextual",
"known_entity_id": "01M2EC1QP594DJS3742ME28KTY"
},
"relation_expression": "qual curso",
"link_semantics": true,
"object": {
"text": "POS",
"kind_hint": "thing",
"reference_kind": "class"
},
"entities_mentioned": [
{
"text": "POS",
"kind_hint": "thing",
"reference_kind": "class"
},
{
"text": "Unifor",
"kind_hint": "organization",
"reference_kind": "named",
"known_entity_id": "01M2EC1QP594DJS3742ME28KTY"
}
],
"temporal": {
"original_text": "",
"occurrence_aspect": "ongoing"
},
"discourse_decision": "continue",
"domain_hints": [
"education"
],
"confidence": "medium"
}
}
=== 2026-09-13T21:53:36.695917Z stage=normalize ===
client_request_id: e652bbc4edb399a24a9e16e9068c7ce6
pke_request_id: req_01M2EC5RKT4RFJFJDEAN68KNB8
interpreter_request_id: fde993b2-7cb2-44e2-a2d6-926829f1f129
conversation_id: conv_01M2EBRRDHYE2GXS4CZ9Q4TP9M
user_text: qual curso da minha POS?
route: semantic_v3
notes: []
---
{
"ir_kind": "semantic_query",
"ir": {
"raw_input": "qual curso da minha POS?",
"utterance_kind": "query",
"primitive_hint": "relation",
"subject": {
"text": "eu",
"kind_hint": "person",
"reference_kind": "contextual",
"known_entity_id": "01M2EC1QP594DJS3742ME28KTY"
},
"relation_expression": "qual curso",
"link_semantics": true,
"object": {
"text": "POS",
"kind_hint": "thing",
"reference_kind": "class"
},
"entities_mentioned": [
{
"text": "POS",
"kind_hint": "thing",
"reference_kind": "class"
},
{
"text": "Unifor",
"kind_hint": "organization",
"reference_kind": "named",
"known_entity_id": "01M2EC1QP594DJS3742ME28KTY"
}
],
"temporal": {
"original_text": "",
"occurrence_aspect": "ongoing"
},
"discourse_decision": "continue",
"domain_hints": [
"education"
],
"confidence": "medium"
}
}
=== 2026-09-13T21:53:36.759259Z stage=presenter_request ===
request_id: e652bbc4edb399a24a9e16e9068c7ce6
client_request_id: e652bbc4edb399a24a9e16e9068c7ce6
conversation_id: ca7db666-e816-4113-a129-d303875e5a72
status: error
---
{
"user_text": "qual curso da minha POS?",
"structured_result": {
"status": "error",
"operation": null,
"kind": null,
"value": null,
"values": [],
"relation_answer": null,
"matched_entities": [],
"candidates": [],
"reason": null,
"error_code": "PROVIDER_UNAVAILABLE",
"items": [],
"dimension": null,
"unit": null,
"entity": null,
"claims": null
},
"presenter_provider": "deepseek",
"presenter_model": "deepseek-chat",
"attempt": 1
}
=== 2026-09-13T21:53:38.040633Z stage=presenter_response ===
request_id: e652bbc4edb399a24a9e16e9068c7ce6
client_request_id: e652bbc4edb399a24a9e16e9068c7ce6
conversation_id: ca7db666-e816-4113-a129-d303875e5a72
provider_request_id: fdfb9c44-2276-4661-a2ac-fa22cf3de511
status: ok
---
{
"text": "Não consegui consultar isso agora.",
"presenter_provider": "deepseek",
"presenter_model": "deepseek-flash",
"provider": "deepseek",
"model": "deepseek-flash",
"fallback_used": false,
"latency_ms": 1251,
"attempt": 1,
"provider_request_id": "fdfb9c44-2276-4661-a2ac-fa22cf3de511",
"status": "ok"
}