1544 lines
73 KiB
JSON
1544 lines
73 KiB
JSON
{
|
||
"schema_version": "assistant_session_log_v1",
|
||
"session_id": "asst-a3NE2zY5GK",
|
||
"started_at": "2026-03-24T10:31:40.330Z",
|
||
"updated_at": "2026-03-24T10:31:40.332Z",
|
||
"counters": {
|
||
"total_messages": 2,
|
||
"user_messages": 1,
|
||
"assistant_messages": 1
|
||
},
|
||
"trace_ids": [
|
||
"0TxkviVp_quIcF"
|
||
],
|
||
"reply_types": [
|
||
"factual"
|
||
],
|
||
"turns": [
|
||
{
|
||
"turn_id": "turn-1",
|
||
"started_at": "2026-03-24T10:31:40.330Z",
|
||
"completed_at": "2026-03-24T10:31:40.332Z",
|
||
"human_block": "Вопрос: Разложи цепочку документов и оплат по контрагентам.\nПонято как: Разложи цепочку документов и оплат по контрагентам.\nДекомпозиция:\n- F1: Разложи цепочку документов и оплат по контрагентам.; execution_readiness=executable; route_status=routed; route=hybrid_store_plus_live\nОтвет: Проверка выполнена, ниже итог по данным базы.\n\nПо связям документов и контрагентов:\nКонтрагент 5c528e35-c519-11ea-a2e2-00155d012600: операций 39, документов в связке 2.\nКонтрагент 6be7395c-0231-11e6-8b48-5404a6c12c2c: операций 31, документов в связке 11.\nКонтрагент cb5193b0-9a7e-11ea-a2d5-00155d012600: операций 27, документов в связке 11.\n\nКраткая сводка:\n- Обработано 262 записей, релевантных результатов: 8.",
|
||
"human_readable": {
|
||
"question_raw": "Разложи цепочку документов и оплат по контрагентам.",
|
||
"question_understood": "Разложи цепочку документов и оплат по контрагентам.",
|
||
"decomposition": [
|
||
"F1: Разложи цепочку документов и оплат по контрагентам.; execution_readiness=executable; route_status=routed; route=hybrid_store_plus_live"
|
||
],
|
||
"answer": "Проверка выполнена, ниже итог по данным базы.\n\nПо связям документов и контрагентов:\nКонтрагент 5c528e35-c519-11ea-a2e2-00155d012600: операций 39, документов в связке 2.\nКонтрагент 6be7395c-0231-11e6-8b48-5404a6c12c2c: операций 31, документов в связке 11.\nКонтрагент cb5193b0-9a7e-11ea-a2d5-00155d012600: операций 27, документов в связке 11.\n\nКраткая сводка:\n- Обработано 262 записей, релевантных результатов: 8.",
|
||
"reply_type": "factual"
|
||
},
|
||
"technical_json": {
|
||
"trace_id": "0TxkviVp_quIcF",
|
||
"user_message": {
|
||
"message_id": "msg-bfLiWU-uZx",
|
||
"session_id": "asst-a3NE2zY5GK",
|
||
"role": "user",
|
||
"text": "Разложи цепочку документов и оплат по контрагентам.",
|
||
"reply_type": null,
|
||
"created_at": "2026-03-24T10:31:40.330Z",
|
||
"trace_id": null,
|
||
"debug": null
|
||
},
|
||
"assistant_message": {
|
||
"message_id": "msg-frE6HEIIHE",
|
||
"session_id": "asst-a3NE2zY5GK",
|
||
"role": "assistant",
|
||
"text": "Проверка выполнена, ниже итог по данным базы.\n\nПо связям документов и контрагентов:\nКонтрагент 5c528e35-c519-11ea-a2e2-00155d012600: операций 39, документов в связке 2.\nКонтрагент 6be7395c-0231-11e6-8b48-5404a6c12c2c: операций 31, документов в связке 11.\nКонтрагент cb5193b0-9a7e-11ea-a2d5-00155d012600: операций 27, документов в связке 11.\n\nКраткая сводка:\n- Обработано 262 записей, релевантных результатов: 8.",
|
||
"reply_type": "factual",
|
||
"created_at": "2026-03-24T10:31:40.332Z",
|
||
"trace_id": "0TxkviVp_quIcF",
|
||
"debug": {
|
||
"trace_id": "0TxkviVp_quIcF",
|
||
"prompt_version": "normalizer_v2_0_2",
|
||
"schema_version": "v2_0_2",
|
||
"fallback_type": "none",
|
||
"route_summary": {
|
||
"mode": "deterministic_v2",
|
||
"message_in_scope": true,
|
||
"scope_confidence": "high",
|
||
"planner": {
|
||
"total_fragments": 1,
|
||
"in_scope_fragments": 1,
|
||
"out_of_scope_fragments": 0,
|
||
"discarded_fragments": 0,
|
||
"contains_multiple_tasks": false
|
||
},
|
||
"decisions": [
|
||
{
|
||
"fragment_id": "F1",
|
||
"domain_relevance": "in_scope",
|
||
"business_scope": "company_specific_accounting",
|
||
"candidate_labels": [
|
||
"cross_entity"
|
||
],
|
||
"decision_flags": {
|
||
"has_multi_entity_scope": true,
|
||
"asks_for_chain_explanation": true,
|
||
"asks_for_ranking_or_top": false,
|
||
"asks_for_period_summary": false,
|
||
"asks_for_rule_check": false,
|
||
"asks_for_anomaly_scan": false,
|
||
"asks_for_exact_object_trace": false,
|
||
"asks_for_evidence": true,
|
||
"mentions_period_close_context": false
|
||
},
|
||
"execution_readiness": "executable",
|
||
"clarification_reason": null,
|
||
"soft_assumption_used": [],
|
||
"route_status": "routed",
|
||
"no_route_reason": null,
|
||
"route": "hybrid_store_plus_live",
|
||
"reason": "Multi-entity causal chain requested."
|
||
}
|
||
],
|
||
"fallback": {
|
||
"type": "none",
|
||
"message": null
|
||
}
|
||
},
|
||
"fragments": [
|
||
{
|
||
"fragment_id": "F1",
|
||
"raw_fragment_text": "Разложи цепочку документов и оплат по контрагентам.",
|
||
"normalized_fragment_text": "Разложи цепочку документов и оплат по контрагентам.",
|
||
"domain_relevance": "in_scope",
|
||
"business_scope": "company_specific_accounting",
|
||
"entity_hints": [
|
||
"контрагент"
|
||
],
|
||
"account_hints": [],
|
||
"document_hints": [
|
||
"документ"
|
||
],
|
||
"register_hints": [],
|
||
"time_scope": {
|
||
"type": "missing",
|
||
"value": null,
|
||
"confidence": "low"
|
||
},
|
||
"flags": {
|
||
"has_multi_entity_scope": true,
|
||
"asks_for_chain_explanation": true,
|
||
"asks_for_ranking_or_top": false,
|
||
"asks_for_period_summary": false,
|
||
"asks_for_rule_check": false,
|
||
"asks_for_anomaly_scan": false,
|
||
"asks_for_exact_object_trace": false,
|
||
"asks_for_evidence": true,
|
||
"mentions_period_close_context": false
|
||
},
|
||
"candidate_labels": [
|
||
"cross_entity"
|
||
],
|
||
"confidence": "medium",
|
||
"execution_readiness": "executable",
|
||
"clarification_reason": null,
|
||
"soft_assumption_used": [],
|
||
"route_status": "routed",
|
||
"no_route_reason": null
|
||
}
|
||
],
|
||
"routes": [
|
||
{
|
||
"fragment_id": "F1",
|
||
"route": "hybrid_store_plus_live",
|
||
"reason": "Multi-entity causal chain requested.",
|
||
"route_status": "routed",
|
||
"no_route_reason": null,
|
||
"clarification_reason": null,
|
||
"execution_readiness": "executable"
|
||
}
|
||
],
|
||
"retrieval_status": [
|
||
{
|
||
"fragment_id": "F1",
|
||
"route": "hybrid_store_plus_live",
|
||
"status": "ok",
|
||
"result_type": "chain"
|
||
}
|
||
],
|
||
"retrieval_results": [
|
||
{
|
||
"fragment_id": "F1",
|
||
"route": "hybrid_store_plus_live",
|
||
"status": "ok",
|
||
"result_type": "chain",
|
||
"items": [
|
||
{
|
||
"counterparty_id": "5c528e35-c519-11ea-a2e2-00155d012600",
|
||
"operations_count": 39,
|
||
"document_refs_count": 2,
|
||
"relation_types": [
|
||
"register_relates_to_buyer",
|
||
"register_recorded_by_document",
|
||
"register_relates_to_invoice",
|
||
"journal_counterparty",
|
||
"journal_refers_to_document",
|
||
"document_has_counterparty"
|
||
],
|
||
"samples": [
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСЗаписиКнигиПродаж_RecordType",
|
||
"source_id": "cmp:b2c51d7c54e8e57f54adff3c8aac626509753960",
|
||
"period": "2020-06-23T13:54:25",
|
||
"recorder": "e17f08ca-c51a-11ea-a2e2-00155d012600"
|
||
},
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСЗаписиКнигиПродаж_RecordType",
|
||
"source_id": "cmp:1dc10e8b399385a344d38991b76aa2564a1756d6",
|
||
"period": "2020-06-23T13:54:25",
|
||
"recorder": "e17f08ca-c51a-11ea-a2e2-00155d012600"
|
||
},
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСЗаписиКнигиПродаж_RecordType",
|
||
"source_id": "cmp:54dec2d6774e51f1c79305d40872426664ef58d6",
|
||
"period": "2020-06-23T13:54:25",
|
||
"recorder": "e17f08ca-c51a-11ea-a2e2-00155d012600"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"counterparty_id": "6be7395c-0231-11e6-8b48-5404a6c12c2c",
|
||
"operations_count": 31,
|
||
"document_refs_count": 11,
|
||
"relation_types": [
|
||
"journal_counterparty",
|
||
"journal_refers_to_document",
|
||
"document_has_counterparty",
|
||
"register_relates_to_supplier",
|
||
"register_recorded_by_document",
|
||
"register_relates_to_invoice"
|
||
],
|
||
"samples": [
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСЗаписиКнигиПокупок_RecordType",
|
||
"source_id": "cmp:54593e20ba3ab50efdb118b57d62dfceed97ec04",
|
||
"period": "2020-06-05T12:00:01",
|
||
"recorder": "8766eeb4-bf9c-11ea-a2e1-00155d012600"
|
||
},
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСПредъявленный_RecordType",
|
||
"source_id": "cmp:9d6885a86f1d225370ec92edbbc8ef0a2e8f4c31",
|
||
"period": "2020-06-05T12:00:01",
|
||
"recorder": "7d7f2a2d-bf9c-11ea-a2e1-00155d012600"
|
||
},
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСПредъявленный_RecordType",
|
||
"source_id": "cmp:1295149fe555ac50ae772fd01191066df3e279c0",
|
||
"period": "2020-06-05T12:00:01",
|
||
"recorder": "8766eeb4-bf9c-11ea-a2e1-00155d012600"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"counterparty_id": "cb5193b0-9a7e-11ea-a2d5-00155d012600",
|
||
"operations_count": 27,
|
||
"document_refs_count": 11,
|
||
"relation_types": [
|
||
"journal_counterparty",
|
||
"journal_refers_to_document",
|
||
"register_relates_to_buyer",
|
||
"register_recorded_by_document",
|
||
"register_relates_to_invoice",
|
||
"document_has_counterparty"
|
||
],
|
||
"samples": [
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСЗаписиКнигиПродаж_RecordType",
|
||
"source_id": "cmp:3e1b4a2f35dad039509c11b74ab38a4614cec9ab",
|
||
"period": "2020-06-08T12:13:18",
|
||
"recorder": "a0880b23-a643-11ea-a2d7-00155d012600"
|
||
},
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСЗаписиКнигиПродаж_RecordType",
|
||
"source_id": "cmp:8725aa4ff5831783671bef8f95d7c45f0f32cfe9",
|
||
"period": "2020-06-08T12:13:18",
|
||
"recorder": "a0880b23-a643-11ea-a2d7-00155d012600"
|
||
},
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСЗаписиКнигиПродаж_RecordType",
|
||
"source_id": "cmp:5326a970e04997617f6d345503f6fdc0b42e1f37",
|
||
"period": "2020-06-08T12:13:18",
|
||
"recorder": "a0880b23-a643-11ea-a2d7-00155d012600"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"counterparty_id": "426ce148-ca81-11ea-a2e2-00155d012600",
|
||
"operations_count": 27,
|
||
"document_refs_count": 1,
|
||
"relation_types": [
|
||
"register_relates_to_supplier",
|
||
"register_recorded_by_document",
|
||
"register_relates_to_invoice",
|
||
"document_has_counterparty"
|
||
],
|
||
"samples": [
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСПредъявленный_RecordType",
|
||
"source_id": "cmp:d8cd5a322846d230b68bf26e238469ad65ed037c",
|
||
"period": "2020-06-22T00:00:00",
|
||
"recorder": "0b4f2456-c5b6-11ea-a2e2-00155d012600"
|
||
},
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСПредъявленный_RecordType",
|
||
"source_id": "cmp:1f7cdd8c1c3535ab3253afc5ec1ce5ebd13e4d7c",
|
||
"period": "2020-06-22T00:00:00",
|
||
"recorder": "0b4f2456-c5b6-11ea-a2e2-00155d012600"
|
||
},
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСПредъявленный_RecordType",
|
||
"source_id": "cmp:50aaf2c55d3044d4808cf1bcb90e0b536da9a4e2",
|
||
"period": "2020-06-22T00:00:00",
|
||
"recorder": "0b4f2456-c5b6-11ea-a2e2-00155d012600"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"counterparty_id": "502fb464-602c-11e9-a2ba-00155d012600",
|
||
"operations_count": 17,
|
||
"document_refs_count": 6,
|
||
"relation_types": [
|
||
"journal_counterparty",
|
||
"journal_refers_to_document",
|
||
"document_has_counterparty"
|
||
],
|
||
"samples": [
|
||
{
|
||
"source_entity": "DocumentJournal_БанковскиеВыписки",
|
||
"source_id": "bdd1c402-a626-11ea-a2d8-00155d012600",
|
||
"period": "2020-06-04T08:46:32",
|
||
"recorder": null
|
||
},
|
||
{
|
||
"source_entity": "DocumentJournal_БанковскиеВыписки",
|
||
"source_id": "b4e7776c-aafd-11ea-a2d8-00155d012600",
|
||
"period": "2020-06-09T12:00:09",
|
||
"recorder": null
|
||
},
|
||
{
|
||
"source_entity": "DocumentJournal_БанковскиеВыписки",
|
||
"source_id": "a6cc1778-cc06-11ea-a2e3-00155d012600",
|
||
"period": "2020-06-09T12:00:11",
|
||
"recorder": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"counterparty_id": "a3fe2e97-ca7d-11ea-a2e2-00155d012600",
|
||
"operations_count": 16,
|
||
"document_refs_count": 2,
|
||
"relation_types": [
|
||
"register_relates_to_supplier",
|
||
"register_recorded_by_document",
|
||
"register_relates_to_invoice",
|
||
"document_has_counterparty",
|
||
"journal_counterparty",
|
||
"journal_refers_to_document"
|
||
],
|
||
"samples": [
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСПредъявленный_RecordType",
|
||
"source_id": "cmp:31ab37b0cbf36a4def1fdf208652ee97b3856493",
|
||
"period": "2020-06-08T12:13:19",
|
||
"recorder": "bb93a6a2-ca7d-11ea-a2e2-00155d012600"
|
||
},
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСПредъявленный_RecordType",
|
||
"source_id": "cmp:6d8a68c8cadcdd32e4d7ca084dc5e528c86ba1d8",
|
||
"period": "2020-06-08T12:13:19",
|
||
"recorder": "bb93a6a2-ca7d-11ea-a2e2-00155d012600"
|
||
},
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСПредъявленный_RecordType",
|
||
"source_id": "cmp:832e749459121fa8542ef5cf2ff2b85309bd03a4",
|
||
"period": "2020-06-19T00:00:00",
|
||
"recorder": "f751dbe5-ca80-11ea-a2e2-00155d012600"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"counterparty_id": "4a6289f6-6808-11e8-8e6c-50465da00436",
|
||
"operations_count": 14,
|
||
"document_refs_count": 4,
|
||
"relation_types": [
|
||
"register_relates_to_supplier",
|
||
"register_recorded_by_document",
|
||
"register_relates_to_invoice",
|
||
"journal_counterparty",
|
||
"journal_refers_to_document",
|
||
"document_has_counterparty"
|
||
],
|
||
"samples": [
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСЗаписиКнигиПокупок_RecordType",
|
||
"source_id": "cmp:c44a565eb1c2eb3edeeb3296b0e273d086da02f6",
|
||
"period": "2020-06-04T00:00:00",
|
||
"recorder": "00493890-c127-11ea-a2e2-00155d012600"
|
||
},
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСПредъявленный_RecordType",
|
||
"source_id": "cmp:c8b3c79e73942c83877592656857642f36039ce0",
|
||
"period": "2020-06-04T00:00:00",
|
||
"recorder": "00493890-c127-11ea-a2e2-00155d012600"
|
||
},
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСПредъявленный_RecordType",
|
||
"source_id": "cmp:d137d8e088aeb41adae7cba051179e8fa9a965cc",
|
||
"period": "2020-06-04T13:35:09",
|
||
"recorder": "0fb43a09-a64f-11ea-a2d7-00155d012600"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"counterparty_id": "c403deeb-757c-11e9-a2ba-00155d012600",
|
||
"operations_count": 12,
|
||
"document_refs_count": 7,
|
||
"relation_types": [
|
||
"register_relates_to_supplier",
|
||
"register_recorded_by_document",
|
||
"register_relates_to_invoice"
|
||
],
|
||
"samples": [
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСЗаписиКнигиПокупок_RecordType",
|
||
"source_id": "cmp:87dafcf0bc010c42b458523937495d924616d69c",
|
||
"period": "2020-06-30T23:59:59",
|
||
"recorder": "1eae0745-c517-11ea-a2e2-00155d012600"
|
||
},
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСЗаписиКнигиПокупок_RecordType",
|
||
"source_id": "cmp:e7cec09ce7a78e3a0d8d33c739d386dcc684dd03",
|
||
"period": "2020-06-30T23:59:59",
|
||
"recorder": "1eae0745-c517-11ea-a2e2-00155d012600"
|
||
},
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСЗаписиКнигиПокупок_RecordType",
|
||
"source_id": "cmp:d49a20a3f5ef1d7139cb4ed8f562d7fa4090a64f",
|
||
"period": "2020-06-30T23:59:59",
|
||
"recorder": "1eae0745-c517-11ea-a2e2-00155d012600"
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"summary": {
|
||
"checked_records": 262,
|
||
"matched_counterparties": 8,
|
||
"route_focus": "cross_entity_chain"
|
||
},
|
||
"evidence": [
|
||
{
|
||
"counterparty_id": "5c528e35-c519-11ea-a2e2-00155d012600",
|
||
"source_id": "cmp:b2c51d7c54e8e57f54adff3c8aac626509753960",
|
||
"source_entity": "AccumulationRegister_НДСЗаписиКнигиПродаж_RecordType",
|
||
"period": "2020-06-23T13:54:25"
|
||
},
|
||
{
|
||
"counterparty_id": "6be7395c-0231-11e6-8b48-5404a6c12c2c",
|
||
"source_id": "cmp:54593e20ba3ab50efdb118b57d62dfceed97ec04",
|
||
"source_entity": "AccumulationRegister_НДСЗаписиКнигиПокупок_RecordType",
|
||
"period": "2020-06-05T12:00:01"
|
||
},
|
||
{
|
||
"counterparty_id": "cb5193b0-9a7e-11ea-a2d5-00155d012600",
|
||
"source_id": "cmp:3e1b4a2f35dad039509c11b74ab38a4614cec9ab",
|
||
"source_entity": "AccumulationRegister_НДСЗаписиКнигиПродаж_RecordType",
|
||
"period": "2020-06-08T12:13:18"
|
||
},
|
||
{
|
||
"counterparty_id": "426ce148-ca81-11ea-a2e2-00155d012600",
|
||
"source_id": "cmp:d8cd5a322846d230b68bf26e238469ad65ed037c",
|
||
"source_entity": "AccumulationRegister_НДСПредъявленный_RecordType",
|
||
"period": "2020-06-22T00:00:00"
|
||
},
|
||
{
|
||
"counterparty_id": "502fb464-602c-11e9-a2ba-00155d012600",
|
||
"source_id": "bdd1c402-a626-11ea-a2d8-00155d012600",
|
||
"source_entity": "DocumentJournal_БанковскиеВыписки",
|
||
"period": "2020-06-04T08:46:32"
|
||
},
|
||
{
|
||
"counterparty_id": "a3fe2e97-ca7d-11ea-a2e2-00155d012600",
|
||
"source_id": "cmp:31ab37b0cbf36a4def1fdf208652ee97b3856493",
|
||
"source_entity": "AccumulationRegister_НДСПредъявленный_RecordType",
|
||
"period": "2020-06-08T12:13:19"
|
||
},
|
||
{
|
||
"counterparty_id": "4a6289f6-6808-11e8-8e6c-50465da00436",
|
||
"source_id": "cmp:c44a565eb1c2eb3edeeb3296b0e273d086da02f6",
|
||
"source_entity": "AccumulationRegister_НДСЗаписиКнигиПокупок_RecordType",
|
||
"period": "2020-06-04T00:00:00"
|
||
},
|
||
{
|
||
"counterparty_id": "c403deeb-757c-11e9-a2ba-00155d012600",
|
||
"source_id": "cmp:87dafcf0bc010c42b458523937495d924616d69c",
|
||
"source_entity": "AccumulationRegister_НДСЗаписиКнигиПокупок_RecordType",
|
||
"period": "2020-06-30T23:59:59"
|
||
}
|
||
],
|
||
"errors": []
|
||
}
|
||
],
|
||
"normalized": {
|
||
"schema_version": "normalized_query_v2_0_2",
|
||
"user_message_raw": "Разложи цепочку документов и оплат по контрагентам.",
|
||
"message_in_scope": true,
|
||
"scope_confidence": "high",
|
||
"contains_multiple_tasks": false,
|
||
"fragments": [
|
||
{
|
||
"fragment_id": "F1",
|
||
"raw_fragment_text": "Разложи цепочку документов и оплат по контрагентам.",
|
||
"normalized_fragment_text": "Разложи цепочку документов и оплат по контрагентам.",
|
||
"domain_relevance": "in_scope",
|
||
"business_scope": "company_specific_accounting",
|
||
"entity_hints": [
|
||
"контрагент"
|
||
],
|
||
"account_hints": [],
|
||
"document_hints": [
|
||
"документ"
|
||
],
|
||
"register_hints": [],
|
||
"time_scope": {
|
||
"type": "missing",
|
||
"value": null,
|
||
"confidence": "low"
|
||
},
|
||
"flags": {
|
||
"has_multi_entity_scope": true,
|
||
"asks_for_chain_explanation": true,
|
||
"asks_for_ranking_or_top": false,
|
||
"asks_for_period_summary": false,
|
||
"asks_for_rule_check": false,
|
||
"asks_for_anomaly_scan": false,
|
||
"asks_for_exact_object_trace": false,
|
||
"asks_for_evidence": true,
|
||
"mentions_period_close_context": false
|
||
},
|
||
"candidate_labels": [
|
||
"cross_entity"
|
||
],
|
||
"confidence": "medium",
|
||
"execution_readiness": "executable",
|
||
"clarification_reason": null,
|
||
"soft_assumption_used": [],
|
||
"route_status": "routed",
|
||
"no_route_reason": null
|
||
}
|
||
],
|
||
"discarded_fragments": [],
|
||
"global_notes": {
|
||
"needs_clarification": false,
|
||
"clarification_reason": null
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"debug": {
|
||
"trace_id": "0TxkviVp_quIcF",
|
||
"prompt_version": "normalizer_v2_0_2",
|
||
"schema_version": "v2_0_2",
|
||
"fallback_type": "none",
|
||
"route_summary": {
|
||
"mode": "deterministic_v2",
|
||
"message_in_scope": true,
|
||
"scope_confidence": "high",
|
||
"planner": {
|
||
"total_fragments": 1,
|
||
"in_scope_fragments": 1,
|
||
"out_of_scope_fragments": 0,
|
||
"discarded_fragments": 0,
|
||
"contains_multiple_tasks": false
|
||
},
|
||
"decisions": [
|
||
{
|
||
"fragment_id": "F1",
|
||
"domain_relevance": "in_scope",
|
||
"business_scope": "company_specific_accounting",
|
||
"candidate_labels": [
|
||
"cross_entity"
|
||
],
|
||
"decision_flags": {
|
||
"has_multi_entity_scope": true,
|
||
"asks_for_chain_explanation": true,
|
||
"asks_for_ranking_or_top": false,
|
||
"asks_for_period_summary": false,
|
||
"asks_for_rule_check": false,
|
||
"asks_for_anomaly_scan": false,
|
||
"asks_for_exact_object_trace": false,
|
||
"asks_for_evidence": true,
|
||
"mentions_period_close_context": false
|
||
},
|
||
"execution_readiness": "executable",
|
||
"clarification_reason": null,
|
||
"soft_assumption_used": [],
|
||
"route_status": "routed",
|
||
"no_route_reason": null,
|
||
"route": "hybrid_store_plus_live",
|
||
"reason": "Multi-entity causal chain requested."
|
||
}
|
||
],
|
||
"fallback": {
|
||
"type": "none",
|
||
"message": null
|
||
}
|
||
},
|
||
"fragments": [
|
||
{
|
||
"fragment_id": "F1",
|
||
"raw_fragment_text": "Разложи цепочку документов и оплат по контрагентам.",
|
||
"normalized_fragment_text": "Разложи цепочку документов и оплат по контрагентам.",
|
||
"domain_relevance": "in_scope",
|
||
"business_scope": "company_specific_accounting",
|
||
"entity_hints": [
|
||
"контрагент"
|
||
],
|
||
"account_hints": [],
|
||
"document_hints": [
|
||
"документ"
|
||
],
|
||
"register_hints": [],
|
||
"time_scope": {
|
||
"type": "missing",
|
||
"value": null,
|
||
"confidence": "low"
|
||
},
|
||
"flags": {
|
||
"has_multi_entity_scope": true,
|
||
"asks_for_chain_explanation": true,
|
||
"asks_for_ranking_or_top": false,
|
||
"asks_for_period_summary": false,
|
||
"asks_for_rule_check": false,
|
||
"asks_for_anomaly_scan": false,
|
||
"asks_for_exact_object_trace": false,
|
||
"asks_for_evidence": true,
|
||
"mentions_period_close_context": false
|
||
},
|
||
"candidate_labels": [
|
||
"cross_entity"
|
||
],
|
||
"confidence": "medium",
|
||
"execution_readiness": "executable",
|
||
"clarification_reason": null,
|
||
"soft_assumption_used": [],
|
||
"route_status": "routed",
|
||
"no_route_reason": null
|
||
}
|
||
],
|
||
"routes": [
|
||
{
|
||
"fragment_id": "F1",
|
||
"route": "hybrid_store_plus_live",
|
||
"reason": "Multi-entity causal chain requested.",
|
||
"route_status": "routed",
|
||
"no_route_reason": null,
|
||
"clarification_reason": null,
|
||
"execution_readiness": "executable"
|
||
}
|
||
],
|
||
"retrieval_status": [
|
||
{
|
||
"fragment_id": "F1",
|
||
"route": "hybrid_store_plus_live",
|
||
"status": "ok",
|
||
"result_type": "chain"
|
||
}
|
||
],
|
||
"retrieval_results": [
|
||
{
|
||
"fragment_id": "F1",
|
||
"route": "hybrid_store_plus_live",
|
||
"status": "ok",
|
||
"result_type": "chain",
|
||
"items": [
|
||
{
|
||
"counterparty_id": "5c528e35-c519-11ea-a2e2-00155d012600",
|
||
"operations_count": 39,
|
||
"document_refs_count": 2,
|
||
"relation_types": [
|
||
"register_relates_to_buyer",
|
||
"register_recorded_by_document",
|
||
"register_relates_to_invoice",
|
||
"journal_counterparty",
|
||
"journal_refers_to_document",
|
||
"document_has_counterparty"
|
||
],
|
||
"samples": [
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСЗаписиКнигиПродаж_RecordType",
|
||
"source_id": "cmp:b2c51d7c54e8e57f54adff3c8aac626509753960",
|
||
"period": "2020-06-23T13:54:25",
|
||
"recorder": "e17f08ca-c51a-11ea-a2e2-00155d012600"
|
||
},
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСЗаписиКнигиПродаж_RecordType",
|
||
"source_id": "cmp:1dc10e8b399385a344d38991b76aa2564a1756d6",
|
||
"period": "2020-06-23T13:54:25",
|
||
"recorder": "e17f08ca-c51a-11ea-a2e2-00155d012600"
|
||
},
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСЗаписиКнигиПродаж_RecordType",
|
||
"source_id": "cmp:54dec2d6774e51f1c79305d40872426664ef58d6",
|
||
"period": "2020-06-23T13:54:25",
|
||
"recorder": "e17f08ca-c51a-11ea-a2e2-00155d012600"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"counterparty_id": "6be7395c-0231-11e6-8b48-5404a6c12c2c",
|
||
"operations_count": 31,
|
||
"document_refs_count": 11,
|
||
"relation_types": [
|
||
"journal_counterparty",
|
||
"journal_refers_to_document",
|
||
"document_has_counterparty",
|
||
"register_relates_to_supplier",
|
||
"register_recorded_by_document",
|
||
"register_relates_to_invoice"
|
||
],
|
||
"samples": [
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСЗаписиКнигиПокупок_RecordType",
|
||
"source_id": "cmp:54593e20ba3ab50efdb118b57d62dfceed97ec04",
|
||
"period": "2020-06-05T12:00:01",
|
||
"recorder": "8766eeb4-bf9c-11ea-a2e1-00155d012600"
|
||
},
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСПредъявленный_RecordType",
|
||
"source_id": "cmp:9d6885a86f1d225370ec92edbbc8ef0a2e8f4c31",
|
||
"period": "2020-06-05T12:00:01",
|
||
"recorder": "7d7f2a2d-bf9c-11ea-a2e1-00155d012600"
|
||
},
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСПредъявленный_RecordType",
|
||
"source_id": "cmp:1295149fe555ac50ae772fd01191066df3e279c0",
|
||
"period": "2020-06-05T12:00:01",
|
||
"recorder": "8766eeb4-bf9c-11ea-a2e1-00155d012600"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"counterparty_id": "cb5193b0-9a7e-11ea-a2d5-00155d012600",
|
||
"operations_count": 27,
|
||
"document_refs_count": 11,
|
||
"relation_types": [
|
||
"journal_counterparty",
|
||
"journal_refers_to_document",
|
||
"register_relates_to_buyer",
|
||
"register_recorded_by_document",
|
||
"register_relates_to_invoice",
|
||
"document_has_counterparty"
|
||
],
|
||
"samples": [
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСЗаписиКнигиПродаж_RecordType",
|
||
"source_id": "cmp:3e1b4a2f35dad039509c11b74ab38a4614cec9ab",
|
||
"period": "2020-06-08T12:13:18",
|
||
"recorder": "a0880b23-a643-11ea-a2d7-00155d012600"
|
||
},
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСЗаписиКнигиПродаж_RecordType",
|
||
"source_id": "cmp:8725aa4ff5831783671bef8f95d7c45f0f32cfe9",
|
||
"period": "2020-06-08T12:13:18",
|
||
"recorder": "a0880b23-a643-11ea-a2d7-00155d012600"
|
||
},
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСЗаписиКнигиПродаж_RecordType",
|
||
"source_id": "cmp:5326a970e04997617f6d345503f6fdc0b42e1f37",
|
||
"period": "2020-06-08T12:13:18",
|
||
"recorder": "a0880b23-a643-11ea-a2d7-00155d012600"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"counterparty_id": "426ce148-ca81-11ea-a2e2-00155d012600",
|
||
"operations_count": 27,
|
||
"document_refs_count": 1,
|
||
"relation_types": [
|
||
"register_relates_to_supplier",
|
||
"register_recorded_by_document",
|
||
"register_relates_to_invoice",
|
||
"document_has_counterparty"
|
||
],
|
||
"samples": [
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСПредъявленный_RecordType",
|
||
"source_id": "cmp:d8cd5a322846d230b68bf26e238469ad65ed037c",
|
||
"period": "2020-06-22T00:00:00",
|
||
"recorder": "0b4f2456-c5b6-11ea-a2e2-00155d012600"
|
||
},
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСПредъявленный_RecordType",
|
||
"source_id": "cmp:1f7cdd8c1c3535ab3253afc5ec1ce5ebd13e4d7c",
|
||
"period": "2020-06-22T00:00:00",
|
||
"recorder": "0b4f2456-c5b6-11ea-a2e2-00155d012600"
|
||
},
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСПредъявленный_RecordType",
|
||
"source_id": "cmp:50aaf2c55d3044d4808cf1bcb90e0b536da9a4e2",
|
||
"period": "2020-06-22T00:00:00",
|
||
"recorder": "0b4f2456-c5b6-11ea-a2e2-00155d012600"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"counterparty_id": "502fb464-602c-11e9-a2ba-00155d012600",
|
||
"operations_count": 17,
|
||
"document_refs_count": 6,
|
||
"relation_types": [
|
||
"journal_counterparty",
|
||
"journal_refers_to_document",
|
||
"document_has_counterparty"
|
||
],
|
||
"samples": [
|
||
{
|
||
"source_entity": "DocumentJournal_БанковскиеВыписки",
|
||
"source_id": "bdd1c402-a626-11ea-a2d8-00155d012600",
|
||
"period": "2020-06-04T08:46:32",
|
||
"recorder": null
|
||
},
|
||
{
|
||
"source_entity": "DocumentJournal_БанковскиеВыписки",
|
||
"source_id": "b4e7776c-aafd-11ea-a2d8-00155d012600",
|
||
"period": "2020-06-09T12:00:09",
|
||
"recorder": null
|
||
},
|
||
{
|
||
"source_entity": "DocumentJournal_БанковскиеВыписки",
|
||
"source_id": "a6cc1778-cc06-11ea-a2e3-00155d012600",
|
||
"period": "2020-06-09T12:00:11",
|
||
"recorder": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"counterparty_id": "a3fe2e97-ca7d-11ea-a2e2-00155d012600",
|
||
"operations_count": 16,
|
||
"document_refs_count": 2,
|
||
"relation_types": [
|
||
"register_relates_to_supplier",
|
||
"register_recorded_by_document",
|
||
"register_relates_to_invoice",
|
||
"document_has_counterparty",
|
||
"journal_counterparty",
|
||
"journal_refers_to_document"
|
||
],
|
||
"samples": [
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСПредъявленный_RecordType",
|
||
"source_id": "cmp:31ab37b0cbf36a4def1fdf208652ee97b3856493",
|
||
"period": "2020-06-08T12:13:19",
|
||
"recorder": "bb93a6a2-ca7d-11ea-a2e2-00155d012600"
|
||
},
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСПредъявленный_RecordType",
|
||
"source_id": "cmp:6d8a68c8cadcdd32e4d7ca084dc5e528c86ba1d8",
|
||
"period": "2020-06-08T12:13:19",
|
||
"recorder": "bb93a6a2-ca7d-11ea-a2e2-00155d012600"
|
||
},
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСПредъявленный_RecordType",
|
||
"source_id": "cmp:832e749459121fa8542ef5cf2ff2b85309bd03a4",
|
||
"period": "2020-06-19T00:00:00",
|
||
"recorder": "f751dbe5-ca80-11ea-a2e2-00155d012600"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"counterparty_id": "4a6289f6-6808-11e8-8e6c-50465da00436",
|
||
"operations_count": 14,
|
||
"document_refs_count": 4,
|
||
"relation_types": [
|
||
"register_relates_to_supplier",
|
||
"register_recorded_by_document",
|
||
"register_relates_to_invoice",
|
||
"journal_counterparty",
|
||
"journal_refers_to_document",
|
||
"document_has_counterparty"
|
||
],
|
||
"samples": [
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСЗаписиКнигиПокупок_RecordType",
|
||
"source_id": "cmp:c44a565eb1c2eb3edeeb3296b0e273d086da02f6",
|
||
"period": "2020-06-04T00:00:00",
|
||
"recorder": "00493890-c127-11ea-a2e2-00155d012600"
|
||
},
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСПредъявленный_RecordType",
|
||
"source_id": "cmp:c8b3c79e73942c83877592656857642f36039ce0",
|
||
"period": "2020-06-04T00:00:00",
|
||
"recorder": "00493890-c127-11ea-a2e2-00155d012600"
|
||
},
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСПредъявленный_RecordType",
|
||
"source_id": "cmp:d137d8e088aeb41adae7cba051179e8fa9a965cc",
|
||
"period": "2020-06-04T13:35:09",
|
||
"recorder": "0fb43a09-a64f-11ea-a2d7-00155d012600"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"counterparty_id": "c403deeb-757c-11e9-a2ba-00155d012600",
|
||
"operations_count": 12,
|
||
"document_refs_count": 7,
|
||
"relation_types": [
|
||
"register_relates_to_supplier",
|
||
"register_recorded_by_document",
|
||
"register_relates_to_invoice"
|
||
],
|
||
"samples": [
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСЗаписиКнигиПокупок_RecordType",
|
||
"source_id": "cmp:87dafcf0bc010c42b458523937495d924616d69c",
|
||
"period": "2020-06-30T23:59:59",
|
||
"recorder": "1eae0745-c517-11ea-a2e2-00155d012600"
|
||
},
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСЗаписиКнигиПокупок_RecordType",
|
||
"source_id": "cmp:e7cec09ce7a78e3a0d8d33c739d386dcc684dd03",
|
||
"period": "2020-06-30T23:59:59",
|
||
"recorder": "1eae0745-c517-11ea-a2e2-00155d012600"
|
||
},
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСЗаписиКнигиПокупок_RecordType",
|
||
"source_id": "cmp:d49a20a3f5ef1d7139cb4ed8f562d7fa4090a64f",
|
||
"period": "2020-06-30T23:59:59",
|
||
"recorder": "1eae0745-c517-11ea-a2e2-00155d012600"
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"summary": {
|
||
"checked_records": 262,
|
||
"matched_counterparties": 8,
|
||
"route_focus": "cross_entity_chain"
|
||
},
|
||
"evidence": [
|
||
{
|
||
"counterparty_id": "5c528e35-c519-11ea-a2e2-00155d012600",
|
||
"source_id": "cmp:b2c51d7c54e8e57f54adff3c8aac626509753960",
|
||
"source_entity": "AccumulationRegister_НДСЗаписиКнигиПродаж_RecordType",
|
||
"period": "2020-06-23T13:54:25"
|
||
},
|
||
{
|
||
"counterparty_id": "6be7395c-0231-11e6-8b48-5404a6c12c2c",
|
||
"source_id": "cmp:54593e20ba3ab50efdb118b57d62dfceed97ec04",
|
||
"source_entity": "AccumulationRegister_НДСЗаписиКнигиПокупок_RecordType",
|
||
"period": "2020-06-05T12:00:01"
|
||
},
|
||
{
|
||
"counterparty_id": "cb5193b0-9a7e-11ea-a2d5-00155d012600",
|
||
"source_id": "cmp:3e1b4a2f35dad039509c11b74ab38a4614cec9ab",
|
||
"source_entity": "AccumulationRegister_НДСЗаписиКнигиПродаж_RecordType",
|
||
"period": "2020-06-08T12:13:18"
|
||
},
|
||
{
|
||
"counterparty_id": "426ce148-ca81-11ea-a2e2-00155d012600",
|
||
"source_id": "cmp:d8cd5a322846d230b68bf26e238469ad65ed037c",
|
||
"source_entity": "AccumulationRegister_НДСПредъявленный_RecordType",
|
||
"period": "2020-06-22T00:00:00"
|
||
},
|
||
{
|
||
"counterparty_id": "502fb464-602c-11e9-a2ba-00155d012600",
|
||
"source_id": "bdd1c402-a626-11ea-a2d8-00155d012600",
|
||
"source_entity": "DocumentJournal_БанковскиеВыписки",
|
||
"period": "2020-06-04T08:46:32"
|
||
},
|
||
{
|
||
"counterparty_id": "a3fe2e97-ca7d-11ea-a2e2-00155d012600",
|
||
"source_id": "cmp:31ab37b0cbf36a4def1fdf208652ee97b3856493",
|
||
"source_entity": "AccumulationRegister_НДСПредъявленный_RecordType",
|
||
"period": "2020-06-08T12:13:19"
|
||
},
|
||
{
|
||
"counterparty_id": "4a6289f6-6808-11e8-8e6c-50465da00436",
|
||
"source_id": "cmp:c44a565eb1c2eb3edeeb3296b0e273d086da02f6",
|
||
"source_entity": "AccumulationRegister_НДСЗаписиКнигиПокупок_RecordType",
|
||
"period": "2020-06-04T00:00:00"
|
||
},
|
||
{
|
||
"counterparty_id": "c403deeb-757c-11e9-a2ba-00155d012600",
|
||
"source_id": "cmp:87dafcf0bc010c42b458523937495d924616d69c",
|
||
"source_entity": "AccumulationRegister_НДСЗаписиКнигиПокупок_RecordType",
|
||
"period": "2020-06-30T23:59:59"
|
||
}
|
||
],
|
||
"errors": []
|
||
}
|
||
],
|
||
"normalized": {
|
||
"schema_version": "normalized_query_v2_0_2",
|
||
"user_message_raw": "Разложи цепочку документов и оплат по контрагентам.",
|
||
"message_in_scope": true,
|
||
"scope_confidence": "high",
|
||
"contains_multiple_tasks": false,
|
||
"fragments": [
|
||
{
|
||
"fragment_id": "F1",
|
||
"raw_fragment_text": "Разложи цепочку документов и оплат по контрагентам.",
|
||
"normalized_fragment_text": "Разложи цепочку документов и оплат по контрагентам.",
|
||
"domain_relevance": "in_scope",
|
||
"business_scope": "company_specific_accounting",
|
||
"entity_hints": [
|
||
"контрагент"
|
||
],
|
||
"account_hints": [],
|
||
"document_hints": [
|
||
"документ"
|
||
],
|
||
"register_hints": [],
|
||
"time_scope": {
|
||
"type": "missing",
|
||
"value": null,
|
||
"confidence": "low"
|
||
},
|
||
"flags": {
|
||
"has_multi_entity_scope": true,
|
||
"asks_for_chain_explanation": true,
|
||
"asks_for_ranking_or_top": false,
|
||
"asks_for_period_summary": false,
|
||
"asks_for_rule_check": false,
|
||
"asks_for_anomaly_scan": false,
|
||
"asks_for_exact_object_trace": false,
|
||
"asks_for_evidence": true,
|
||
"mentions_period_close_context": false
|
||
},
|
||
"candidate_labels": [
|
||
"cross_entity"
|
||
],
|
||
"confidence": "medium",
|
||
"execution_readiness": "executable",
|
||
"clarification_reason": null,
|
||
"soft_assumption_used": [],
|
||
"route_status": "routed",
|
||
"no_route_reason": null
|
||
}
|
||
],
|
||
"discarded_fragments": [],
|
||
"global_notes": {
|
||
"needs_clarification": false,
|
||
"clarification_reason": null
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
],
|
||
"conversation": [
|
||
{
|
||
"message_id": "msg-bfLiWU-uZx",
|
||
"session_id": "asst-a3NE2zY5GK",
|
||
"role": "user",
|
||
"text": "Разложи цепочку документов и оплат по контрагентам.",
|
||
"reply_type": null,
|
||
"created_at": "2026-03-24T10:31:40.330Z",
|
||
"trace_id": null,
|
||
"debug": null
|
||
},
|
||
{
|
||
"message_id": "msg-frE6HEIIHE",
|
||
"session_id": "asst-a3NE2zY5GK",
|
||
"role": "assistant",
|
||
"text": "Проверка выполнена, ниже итог по данным базы.\n\nПо связям документов и контрагентов:\nКонтрагент 5c528e35-c519-11ea-a2e2-00155d012600: операций 39, документов в связке 2.\nКонтрагент 6be7395c-0231-11e6-8b48-5404a6c12c2c: операций 31, документов в связке 11.\nКонтрагент cb5193b0-9a7e-11ea-a2d5-00155d012600: операций 27, документов в связке 11.\n\nКраткая сводка:\n- Обработано 262 записей, релевантных результатов: 8.",
|
||
"reply_type": "factual",
|
||
"created_at": "2026-03-24T10:31:40.332Z",
|
||
"trace_id": "0TxkviVp_quIcF",
|
||
"debug": {
|
||
"trace_id": "0TxkviVp_quIcF",
|
||
"prompt_version": "normalizer_v2_0_2",
|
||
"schema_version": "v2_0_2",
|
||
"fallback_type": "none",
|
||
"route_summary": {
|
||
"mode": "deterministic_v2",
|
||
"message_in_scope": true,
|
||
"scope_confidence": "high",
|
||
"planner": {
|
||
"total_fragments": 1,
|
||
"in_scope_fragments": 1,
|
||
"out_of_scope_fragments": 0,
|
||
"discarded_fragments": 0,
|
||
"contains_multiple_tasks": false
|
||
},
|
||
"decisions": [
|
||
{
|
||
"fragment_id": "F1",
|
||
"domain_relevance": "in_scope",
|
||
"business_scope": "company_specific_accounting",
|
||
"candidate_labels": [
|
||
"cross_entity"
|
||
],
|
||
"decision_flags": {
|
||
"has_multi_entity_scope": true,
|
||
"asks_for_chain_explanation": true,
|
||
"asks_for_ranking_or_top": false,
|
||
"asks_for_period_summary": false,
|
||
"asks_for_rule_check": false,
|
||
"asks_for_anomaly_scan": false,
|
||
"asks_for_exact_object_trace": false,
|
||
"asks_for_evidence": true,
|
||
"mentions_period_close_context": false
|
||
},
|
||
"execution_readiness": "executable",
|
||
"clarification_reason": null,
|
||
"soft_assumption_used": [],
|
||
"route_status": "routed",
|
||
"no_route_reason": null,
|
||
"route": "hybrid_store_plus_live",
|
||
"reason": "Multi-entity causal chain requested."
|
||
}
|
||
],
|
||
"fallback": {
|
||
"type": "none",
|
||
"message": null
|
||
}
|
||
},
|
||
"fragments": [
|
||
{
|
||
"fragment_id": "F1",
|
||
"raw_fragment_text": "Разложи цепочку документов и оплат по контрагентам.",
|
||
"normalized_fragment_text": "Разложи цепочку документов и оплат по контрагентам.",
|
||
"domain_relevance": "in_scope",
|
||
"business_scope": "company_specific_accounting",
|
||
"entity_hints": [
|
||
"контрагент"
|
||
],
|
||
"account_hints": [],
|
||
"document_hints": [
|
||
"документ"
|
||
],
|
||
"register_hints": [],
|
||
"time_scope": {
|
||
"type": "missing",
|
||
"value": null,
|
||
"confidence": "low"
|
||
},
|
||
"flags": {
|
||
"has_multi_entity_scope": true,
|
||
"asks_for_chain_explanation": true,
|
||
"asks_for_ranking_or_top": false,
|
||
"asks_for_period_summary": false,
|
||
"asks_for_rule_check": false,
|
||
"asks_for_anomaly_scan": false,
|
||
"asks_for_exact_object_trace": false,
|
||
"asks_for_evidence": true,
|
||
"mentions_period_close_context": false
|
||
},
|
||
"candidate_labels": [
|
||
"cross_entity"
|
||
],
|
||
"confidence": "medium",
|
||
"execution_readiness": "executable",
|
||
"clarification_reason": null,
|
||
"soft_assumption_used": [],
|
||
"route_status": "routed",
|
||
"no_route_reason": null
|
||
}
|
||
],
|
||
"routes": [
|
||
{
|
||
"fragment_id": "F1",
|
||
"route": "hybrid_store_plus_live",
|
||
"reason": "Multi-entity causal chain requested.",
|
||
"route_status": "routed",
|
||
"no_route_reason": null,
|
||
"clarification_reason": null,
|
||
"execution_readiness": "executable"
|
||
}
|
||
],
|
||
"retrieval_status": [
|
||
{
|
||
"fragment_id": "F1",
|
||
"route": "hybrid_store_plus_live",
|
||
"status": "ok",
|
||
"result_type": "chain"
|
||
}
|
||
],
|
||
"retrieval_results": [
|
||
{
|
||
"fragment_id": "F1",
|
||
"route": "hybrid_store_plus_live",
|
||
"status": "ok",
|
||
"result_type": "chain",
|
||
"items": [
|
||
{
|
||
"counterparty_id": "5c528e35-c519-11ea-a2e2-00155d012600",
|
||
"operations_count": 39,
|
||
"document_refs_count": 2,
|
||
"relation_types": [
|
||
"register_relates_to_buyer",
|
||
"register_recorded_by_document",
|
||
"register_relates_to_invoice",
|
||
"journal_counterparty",
|
||
"journal_refers_to_document",
|
||
"document_has_counterparty"
|
||
],
|
||
"samples": [
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСЗаписиКнигиПродаж_RecordType",
|
||
"source_id": "cmp:b2c51d7c54e8e57f54adff3c8aac626509753960",
|
||
"period": "2020-06-23T13:54:25",
|
||
"recorder": "e17f08ca-c51a-11ea-a2e2-00155d012600"
|
||
},
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСЗаписиКнигиПродаж_RecordType",
|
||
"source_id": "cmp:1dc10e8b399385a344d38991b76aa2564a1756d6",
|
||
"period": "2020-06-23T13:54:25",
|
||
"recorder": "e17f08ca-c51a-11ea-a2e2-00155d012600"
|
||
},
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСЗаписиКнигиПродаж_RecordType",
|
||
"source_id": "cmp:54dec2d6774e51f1c79305d40872426664ef58d6",
|
||
"period": "2020-06-23T13:54:25",
|
||
"recorder": "e17f08ca-c51a-11ea-a2e2-00155d012600"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"counterparty_id": "6be7395c-0231-11e6-8b48-5404a6c12c2c",
|
||
"operations_count": 31,
|
||
"document_refs_count": 11,
|
||
"relation_types": [
|
||
"journal_counterparty",
|
||
"journal_refers_to_document",
|
||
"document_has_counterparty",
|
||
"register_relates_to_supplier",
|
||
"register_recorded_by_document",
|
||
"register_relates_to_invoice"
|
||
],
|
||
"samples": [
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСЗаписиКнигиПокупок_RecordType",
|
||
"source_id": "cmp:54593e20ba3ab50efdb118b57d62dfceed97ec04",
|
||
"period": "2020-06-05T12:00:01",
|
||
"recorder": "8766eeb4-bf9c-11ea-a2e1-00155d012600"
|
||
},
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСПредъявленный_RecordType",
|
||
"source_id": "cmp:9d6885a86f1d225370ec92edbbc8ef0a2e8f4c31",
|
||
"period": "2020-06-05T12:00:01",
|
||
"recorder": "7d7f2a2d-bf9c-11ea-a2e1-00155d012600"
|
||
},
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСПредъявленный_RecordType",
|
||
"source_id": "cmp:1295149fe555ac50ae772fd01191066df3e279c0",
|
||
"period": "2020-06-05T12:00:01",
|
||
"recorder": "8766eeb4-bf9c-11ea-a2e1-00155d012600"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"counterparty_id": "cb5193b0-9a7e-11ea-a2d5-00155d012600",
|
||
"operations_count": 27,
|
||
"document_refs_count": 11,
|
||
"relation_types": [
|
||
"journal_counterparty",
|
||
"journal_refers_to_document",
|
||
"register_relates_to_buyer",
|
||
"register_recorded_by_document",
|
||
"register_relates_to_invoice",
|
||
"document_has_counterparty"
|
||
],
|
||
"samples": [
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСЗаписиКнигиПродаж_RecordType",
|
||
"source_id": "cmp:3e1b4a2f35dad039509c11b74ab38a4614cec9ab",
|
||
"period": "2020-06-08T12:13:18",
|
||
"recorder": "a0880b23-a643-11ea-a2d7-00155d012600"
|
||
},
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСЗаписиКнигиПродаж_RecordType",
|
||
"source_id": "cmp:8725aa4ff5831783671bef8f95d7c45f0f32cfe9",
|
||
"period": "2020-06-08T12:13:18",
|
||
"recorder": "a0880b23-a643-11ea-a2d7-00155d012600"
|
||
},
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСЗаписиКнигиПродаж_RecordType",
|
||
"source_id": "cmp:5326a970e04997617f6d345503f6fdc0b42e1f37",
|
||
"period": "2020-06-08T12:13:18",
|
||
"recorder": "a0880b23-a643-11ea-a2d7-00155d012600"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"counterparty_id": "426ce148-ca81-11ea-a2e2-00155d012600",
|
||
"operations_count": 27,
|
||
"document_refs_count": 1,
|
||
"relation_types": [
|
||
"register_relates_to_supplier",
|
||
"register_recorded_by_document",
|
||
"register_relates_to_invoice",
|
||
"document_has_counterparty"
|
||
],
|
||
"samples": [
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСПредъявленный_RecordType",
|
||
"source_id": "cmp:d8cd5a322846d230b68bf26e238469ad65ed037c",
|
||
"period": "2020-06-22T00:00:00",
|
||
"recorder": "0b4f2456-c5b6-11ea-a2e2-00155d012600"
|
||
},
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСПредъявленный_RecordType",
|
||
"source_id": "cmp:1f7cdd8c1c3535ab3253afc5ec1ce5ebd13e4d7c",
|
||
"period": "2020-06-22T00:00:00",
|
||
"recorder": "0b4f2456-c5b6-11ea-a2e2-00155d012600"
|
||
},
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСПредъявленный_RecordType",
|
||
"source_id": "cmp:50aaf2c55d3044d4808cf1bcb90e0b536da9a4e2",
|
||
"period": "2020-06-22T00:00:00",
|
||
"recorder": "0b4f2456-c5b6-11ea-a2e2-00155d012600"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"counterparty_id": "502fb464-602c-11e9-a2ba-00155d012600",
|
||
"operations_count": 17,
|
||
"document_refs_count": 6,
|
||
"relation_types": [
|
||
"journal_counterparty",
|
||
"journal_refers_to_document",
|
||
"document_has_counterparty"
|
||
],
|
||
"samples": [
|
||
{
|
||
"source_entity": "DocumentJournal_БанковскиеВыписки",
|
||
"source_id": "bdd1c402-a626-11ea-a2d8-00155d012600",
|
||
"period": "2020-06-04T08:46:32",
|
||
"recorder": null
|
||
},
|
||
{
|
||
"source_entity": "DocumentJournal_БанковскиеВыписки",
|
||
"source_id": "b4e7776c-aafd-11ea-a2d8-00155d012600",
|
||
"period": "2020-06-09T12:00:09",
|
||
"recorder": null
|
||
},
|
||
{
|
||
"source_entity": "DocumentJournal_БанковскиеВыписки",
|
||
"source_id": "a6cc1778-cc06-11ea-a2e3-00155d012600",
|
||
"period": "2020-06-09T12:00:11",
|
||
"recorder": null
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"counterparty_id": "a3fe2e97-ca7d-11ea-a2e2-00155d012600",
|
||
"operations_count": 16,
|
||
"document_refs_count": 2,
|
||
"relation_types": [
|
||
"register_relates_to_supplier",
|
||
"register_recorded_by_document",
|
||
"register_relates_to_invoice",
|
||
"document_has_counterparty",
|
||
"journal_counterparty",
|
||
"journal_refers_to_document"
|
||
],
|
||
"samples": [
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСПредъявленный_RecordType",
|
||
"source_id": "cmp:31ab37b0cbf36a4def1fdf208652ee97b3856493",
|
||
"period": "2020-06-08T12:13:19",
|
||
"recorder": "bb93a6a2-ca7d-11ea-a2e2-00155d012600"
|
||
},
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСПредъявленный_RecordType",
|
||
"source_id": "cmp:6d8a68c8cadcdd32e4d7ca084dc5e528c86ba1d8",
|
||
"period": "2020-06-08T12:13:19",
|
||
"recorder": "bb93a6a2-ca7d-11ea-a2e2-00155d012600"
|
||
},
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСПредъявленный_RecordType",
|
||
"source_id": "cmp:832e749459121fa8542ef5cf2ff2b85309bd03a4",
|
||
"period": "2020-06-19T00:00:00",
|
||
"recorder": "f751dbe5-ca80-11ea-a2e2-00155d012600"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"counterparty_id": "4a6289f6-6808-11e8-8e6c-50465da00436",
|
||
"operations_count": 14,
|
||
"document_refs_count": 4,
|
||
"relation_types": [
|
||
"register_relates_to_supplier",
|
||
"register_recorded_by_document",
|
||
"register_relates_to_invoice",
|
||
"journal_counterparty",
|
||
"journal_refers_to_document",
|
||
"document_has_counterparty"
|
||
],
|
||
"samples": [
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСЗаписиКнигиПокупок_RecordType",
|
||
"source_id": "cmp:c44a565eb1c2eb3edeeb3296b0e273d086da02f6",
|
||
"period": "2020-06-04T00:00:00",
|
||
"recorder": "00493890-c127-11ea-a2e2-00155d012600"
|
||
},
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСПредъявленный_RecordType",
|
||
"source_id": "cmp:c8b3c79e73942c83877592656857642f36039ce0",
|
||
"period": "2020-06-04T00:00:00",
|
||
"recorder": "00493890-c127-11ea-a2e2-00155d012600"
|
||
},
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСПредъявленный_RecordType",
|
||
"source_id": "cmp:d137d8e088aeb41adae7cba051179e8fa9a965cc",
|
||
"period": "2020-06-04T13:35:09",
|
||
"recorder": "0fb43a09-a64f-11ea-a2d7-00155d012600"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"counterparty_id": "c403deeb-757c-11e9-a2ba-00155d012600",
|
||
"operations_count": 12,
|
||
"document_refs_count": 7,
|
||
"relation_types": [
|
||
"register_relates_to_supplier",
|
||
"register_recorded_by_document",
|
||
"register_relates_to_invoice"
|
||
],
|
||
"samples": [
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСЗаписиКнигиПокупок_RecordType",
|
||
"source_id": "cmp:87dafcf0bc010c42b458523937495d924616d69c",
|
||
"period": "2020-06-30T23:59:59",
|
||
"recorder": "1eae0745-c517-11ea-a2e2-00155d012600"
|
||
},
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСЗаписиКнигиПокупок_RecordType",
|
||
"source_id": "cmp:e7cec09ce7a78e3a0d8d33c739d386dcc684dd03",
|
||
"period": "2020-06-30T23:59:59",
|
||
"recorder": "1eae0745-c517-11ea-a2e2-00155d012600"
|
||
},
|
||
{
|
||
"source_entity": "AccumulationRegister_НДСЗаписиКнигиПокупок_RecordType",
|
||
"source_id": "cmp:d49a20a3f5ef1d7139cb4ed8f562d7fa4090a64f",
|
||
"period": "2020-06-30T23:59:59",
|
||
"recorder": "1eae0745-c517-11ea-a2e2-00155d012600"
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"summary": {
|
||
"checked_records": 262,
|
||
"matched_counterparties": 8,
|
||
"route_focus": "cross_entity_chain"
|
||
},
|
||
"evidence": [
|
||
{
|
||
"counterparty_id": "5c528e35-c519-11ea-a2e2-00155d012600",
|
||
"source_id": "cmp:b2c51d7c54e8e57f54adff3c8aac626509753960",
|
||
"source_entity": "AccumulationRegister_НДСЗаписиКнигиПродаж_RecordType",
|
||
"period": "2020-06-23T13:54:25"
|
||
},
|
||
{
|
||
"counterparty_id": "6be7395c-0231-11e6-8b48-5404a6c12c2c",
|
||
"source_id": "cmp:54593e20ba3ab50efdb118b57d62dfceed97ec04",
|
||
"source_entity": "AccumulationRegister_НДСЗаписиКнигиПокупок_RecordType",
|
||
"period": "2020-06-05T12:00:01"
|
||
},
|
||
{
|
||
"counterparty_id": "cb5193b0-9a7e-11ea-a2d5-00155d012600",
|
||
"source_id": "cmp:3e1b4a2f35dad039509c11b74ab38a4614cec9ab",
|
||
"source_entity": "AccumulationRegister_НДСЗаписиКнигиПродаж_RecordType",
|
||
"period": "2020-06-08T12:13:18"
|
||
},
|
||
{
|
||
"counterparty_id": "426ce148-ca81-11ea-a2e2-00155d012600",
|
||
"source_id": "cmp:d8cd5a322846d230b68bf26e238469ad65ed037c",
|
||
"source_entity": "AccumulationRegister_НДСПредъявленный_RecordType",
|
||
"period": "2020-06-22T00:00:00"
|
||
},
|
||
{
|
||
"counterparty_id": "502fb464-602c-11e9-a2ba-00155d012600",
|
||
"source_id": "bdd1c402-a626-11ea-a2d8-00155d012600",
|
||
"source_entity": "DocumentJournal_БанковскиеВыписки",
|
||
"period": "2020-06-04T08:46:32"
|
||
},
|
||
{
|
||
"counterparty_id": "a3fe2e97-ca7d-11ea-a2e2-00155d012600",
|
||
"source_id": "cmp:31ab37b0cbf36a4def1fdf208652ee97b3856493",
|
||
"source_entity": "AccumulationRegister_НДСПредъявленный_RecordType",
|
||
"period": "2020-06-08T12:13:19"
|
||
},
|
||
{
|
||
"counterparty_id": "4a6289f6-6808-11e8-8e6c-50465da00436",
|
||
"source_id": "cmp:c44a565eb1c2eb3edeeb3296b0e273d086da02f6",
|
||
"source_entity": "AccumulationRegister_НДСЗаписиКнигиПокупок_RecordType",
|
||
"period": "2020-06-04T00:00:00"
|
||
},
|
||
{
|
||
"counterparty_id": "c403deeb-757c-11e9-a2ba-00155d012600",
|
||
"source_id": "cmp:87dafcf0bc010c42b458523937495d924616d69c",
|
||
"source_entity": "AccumulationRegister_НДСЗаписиКнигиПокупок_RecordType",
|
||
"period": "2020-06-30T23:59:59"
|
||
}
|
||
],
|
||
"errors": []
|
||
}
|
||
],
|
||
"normalized": {
|
||
"schema_version": "normalized_query_v2_0_2",
|
||
"user_message_raw": "Разложи цепочку документов и оплат по контрагентам.",
|
||
"message_in_scope": true,
|
||
"scope_confidence": "high",
|
||
"contains_multiple_tasks": false,
|
||
"fragments": [
|
||
{
|
||
"fragment_id": "F1",
|
||
"raw_fragment_text": "Разложи цепочку документов и оплат по контрагентам.",
|
||
"normalized_fragment_text": "Разложи цепочку документов и оплат по контрагентам.",
|
||
"domain_relevance": "in_scope",
|
||
"business_scope": "company_specific_accounting",
|
||
"entity_hints": [
|
||
"контрагент"
|
||
],
|
||
"account_hints": [],
|
||
"document_hints": [
|
||
"документ"
|
||
],
|
||
"register_hints": [],
|
||
"time_scope": {
|
||
"type": "missing",
|
||
"value": null,
|
||
"confidence": "low"
|
||
},
|
||
"flags": {
|
||
"has_multi_entity_scope": true,
|
||
"asks_for_chain_explanation": true,
|
||
"asks_for_ranking_or_top": false,
|
||
"asks_for_period_summary": false,
|
||
"asks_for_rule_check": false,
|
||
"asks_for_anomaly_scan": false,
|
||
"asks_for_exact_object_trace": false,
|
||
"asks_for_evidence": true,
|
||
"mentions_period_close_context": false
|
||
},
|
||
"candidate_labels": [
|
||
"cross_entity"
|
||
],
|
||
"confidence": "medium",
|
||
"execution_readiness": "executable",
|
||
"clarification_reason": null,
|
||
"soft_assumption_used": [],
|
||
"route_status": "routed",
|
||
"no_route_reason": null
|
||
}
|
||
],
|
||
"discarded_fragments": [],
|
||
"global_notes": {
|
||
"needs_clarification": false,
|
||
"clarification_reason": null
|
||
}
|
||
}
|
||
}
|
||
}
|
||
],
|
||
"last_assistant": {
|
||
"message_id": "msg-frE6HEIIHE",
|
||
"reply_type": "factual",
|
||
"trace_id": "0TxkviVp_quIcF",
|
||
"created_at": "2026-03-24T10:31:40.332Z"
|
||
}
|
||
} |