1604 lines
71 KiB
JSON
1604 lines
71 KiB
JSON
{
|
||
"schema_version": "assistant_session_log_v1",
|
||
"session_id": "asst-mJB643RHiw",
|
||
"started_at": "2026-03-24T10:20:55.640Z",
|
||
"updated_at": "2026-03-24T10:22:57.187Z",
|
||
"counters": {
|
||
"total_messages": 6,
|
||
"user_messages": 3,
|
||
"assistant_messages": 3
|
||
},
|
||
"trace_ids": [
|
||
"QblyUR3TKjZf-q",
|
||
"wly-8C_xj2cUD4",
|
||
"gonlbhdXWcAdP-"
|
||
],
|
||
"reply_types": [
|
||
"factual"
|
||
],
|
||
"conversation": [
|
||
{
|
||
"message_id": "msg-tywp_Y5pDn",
|
||
"session_id": "asst-mJB643RHiw",
|
||
"role": "user",
|
||
"text": "Какие записи на 97 счёте больше всего похожи на историю, где документ завели, а дальше нормальной жизни у него не случилось: срок, списание и поведение записи друг другу противоречат.",
|
||
"reply_type": null,
|
||
"created_at": "2026-03-24T10:20:55.640Z",
|
||
"trace_id": null,
|
||
"debug": null
|
||
},
|
||
{
|
||
"message_id": "msg-Mmx1Y6lNme",
|
||
"session_id": "asst-mJB643RHiw",
|
||
"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:21:02.958Z",
|
||
"trace_id": "QblyUR3TKjZf-q",
|
||
"debug": {
|
||
"trace_id": "QblyUR3TKjZf-q",
|
||
"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": "1",
|
||
"domain_relevance": "in_scope",
|
||
"business_scope": "generic_accounting",
|
||
"candidate_labels": [
|
||
"cross_entity",
|
||
"anomaly_probe"
|
||
],
|
||
"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": false,
|
||
"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": "1",
|
||
"raw_fragment_text": "Какие записи на 97 счёте больше всего похожи на историю, где документ завели, а дальше нормальной жизни у него не случилось",
|
||
"normalized_fragment_text": "Записи на 97 счёте с проблемами в жизненном цикле документа",
|
||
"domain_relevance": "in_scope",
|
||
"business_scope": "generic_accounting",
|
||
"entity_hints": [
|
||
"документ"
|
||
],
|
||
"account_hints": [
|
||
"97"
|
||
],
|
||
"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": false,
|
||
"mentions_period_close_context": false
|
||
},
|
||
"candidate_labels": [
|
||
"cross_entity",
|
||
"anomaly_probe"
|
||
],
|
||
"confidence": "high",
|
||
"execution_readiness": "executable",
|
||
"clarification_reason": null,
|
||
"soft_assumption_used": [],
|
||
"route_status": "routed",
|
||
"no_route_reason": null
|
||
}
|
||
],
|
||
"routes": [
|
||
{
|
||
"fragment_id": "1",
|
||
"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": "1",
|
||
"route": "hybrid_store_plus_live",
|
||
"status": "ok",
|
||
"result_type": "chain"
|
||
}
|
||
],
|
||
"retrieval_results": [
|
||
{
|
||
"fragment_id": "1",
|
||
"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": "Какие записи на 97 счёте больше всего похожи на историю, где документ завели, а дальше нормальной жизни у него не случилось: срок, списание и поведение записи друг другу противоречат.",
|
||
"message_in_scope": true,
|
||
"scope_confidence": "high",
|
||
"contains_multiple_tasks": false,
|
||
"fragments": [
|
||
{
|
||
"fragment_id": "1",
|
||
"raw_fragment_text": "Какие записи на 97 счёте больше всего похожи на историю, где документ завели, а дальше нормальной жизни у него не случилось",
|
||
"normalized_fragment_text": "Записи на 97 счёте с проблемами в жизненном цикле документа",
|
||
"domain_relevance": "in_scope",
|
||
"business_scope": "generic_accounting",
|
||
"entity_hints": [
|
||
"документ"
|
||
],
|
||
"account_hints": [
|
||
"97"
|
||
],
|
||
"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": false,
|
||
"mentions_period_close_context": false
|
||
},
|
||
"candidate_labels": [
|
||
"cross_entity",
|
||
"anomaly_probe"
|
||
],
|
||
"confidence": "high",
|
||
"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
|
||
}
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"message_id": "msg-AA1zuO-JWH",
|
||
"session_id": "asst-mJB643RHiw",
|
||
"role": "user",
|
||
"text": "обери список самых подозрительных объектов ОС: не по сумме, а по риску того, что потом придётся долго объяснять, почему карточка и начисления не бьются между собой",
|
||
"reply_type": null,
|
||
"created_at": "2026-03-24T10:21:39.093Z",
|
||
"trace_id": null,
|
||
"debug": null
|
||
},
|
||
{
|
||
"message_id": "msg-ERRngDfKxv",
|
||
"session_id": "asst-mJB643RHiw",
|
||
"role": "assistant",
|
||
"text": "Проверка выполнена, ниже итог по данным базы.\n\nСводный рейтинг по найденным записям:\n1. AccumulationRegister_НДСЗаписиКнигиПродаж_RecordType — 92.\n2. AccumulationRegister_НДСПредъявленный_RecordType — 86.\n3. Document_СписаниеСРасчетногоСчета — 27.\n4. AccumulationRegister_НДСЗаписиКнигиПокупок_RecordType — 24.\n5. Document_ПоступлениеТоваровУслуг — 10.\nНайденные записи:\nDocument_СписаниеСРасчетногоСчета (c921c08a-c117-11ea-a2e2-00155d012600).\nDocument_СписаниеСРасчетногоСчета (5dfabe1f-c117-11ea-a2e2-00155d012600).\nDocument_СписаниеСРасчетногоСчета (2fdf7d2b-c117-11ea-a2e2-00155d012600).\nDocument_СписаниеСРасчетногоСчета (24f17575-c117-11ea-a2e2-00155d012600).\nDocument_СписаниеСРасчетногоСчета (6f0947d8-bf77-11ea-a2e1-00155d012600).\n\nКраткая сводка:\n- Обработано 262 записей, релевантных результатов: 10.\n- Обработано 42 записей, релевантных результатов: 12.",
|
||
"reply_type": "factual",
|
||
"created_at": "2026-03-24T10:21:52.591Z",
|
||
"trace_id": "wly-8C_xj2cUD4",
|
||
"debug": {
|
||
"trace_id": "wly-8C_xj2cUD4",
|
||
"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": 2,
|
||
"in_scope_fragments": 2,
|
||
"out_of_scope_fragments": 0,
|
||
"discarded_fragments": 0,
|
||
"contains_multiple_tasks": false
|
||
},
|
||
"decisions": [
|
||
{
|
||
"fragment_id": "1",
|
||
"domain_relevance": "in_scope",
|
||
"business_scope": "generic_accounting",
|
||
"candidate_labels": [
|
||
"cross_entity",
|
||
"heavy_analytical"
|
||
],
|
||
"decision_flags": {
|
||
"has_multi_entity_scope": false,
|
||
"asks_for_chain_explanation": true,
|
||
"asks_for_ranking_or_top": true,
|
||
"asks_for_period_summary": false,
|
||
"asks_for_rule_check": false,
|
||
"asks_for_anomaly_scan": false,
|
||
"asks_for_exact_object_trace": false,
|
||
"asks_for_evidence": false,
|
||
"mentions_period_close_context": false
|
||
},
|
||
"execution_readiness": "executable_with_soft_assumptions",
|
||
"clarification_reason": null,
|
||
"soft_assumption_used": [
|
||
"period_from_session_context",
|
||
"problem_scan_mode_enabled"
|
||
],
|
||
"route_status": "routed",
|
||
"no_route_reason": null,
|
||
"route": "batch_refresh_then_store",
|
||
"reason": "Ranking/summary semantics require batch analytical route."
|
||
},
|
||
{
|
||
"fragment_id": "2",
|
||
"domain_relevance": "in_scope",
|
||
"business_scope": "generic_accounting",
|
||
"candidate_labels": [
|
||
"cross_entity",
|
||
"heavy_analytical"
|
||
],
|
||
"decision_flags": {
|
||
"has_multi_entity_scope": false,
|
||
"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": false,
|
||
"mentions_period_close_context": false
|
||
},
|
||
"execution_readiness": "executable_with_soft_assumptions",
|
||
"clarification_reason": null,
|
||
"soft_assumption_used": [
|
||
"period_from_session_context"
|
||
],
|
||
"route_status": "routed",
|
||
"no_route_reason": null,
|
||
"route": "store_canonical",
|
||
"reason": "Routed fragment without deep analytical or causal signals."
|
||
}
|
||
],
|
||
"fallback": {
|
||
"type": "none",
|
||
"message": null
|
||
}
|
||
},
|
||
"fragments": [
|
||
{
|
||
"fragment_id": "1",
|
||
"raw_fragment_text": "обери список самых подозрительных объектов ОС",
|
||
"normalized_fragment_text": "выбор списка подозрительных объектов основных средств",
|
||
"domain_relevance": "in_scope",
|
||
"business_scope": "generic_accounting",
|
||
"entity_hints": [
|
||
"основные средства"
|
||
],
|
||
"account_hints": [
|
||
"01",
|
||
"02"
|
||
],
|
||
"document_hints": [],
|
||
"register_hints": [],
|
||
"time_scope": {
|
||
"type": "missing",
|
||
"value": null,
|
||
"confidence": "low"
|
||
},
|
||
"flags": {
|
||
"has_multi_entity_scope": false,
|
||
"asks_for_chain_explanation": true,
|
||
"asks_for_ranking_or_top": true,
|
||
"asks_for_period_summary": false,
|
||
"asks_for_rule_check": false,
|
||
"asks_for_anomaly_scan": false,
|
||
"asks_for_exact_object_trace": false,
|
||
"asks_for_evidence": false,
|
||
"mentions_period_close_context": false
|
||
},
|
||
"candidate_labels": [
|
||
"cross_entity",
|
||
"heavy_analytical"
|
||
],
|
||
"confidence": "high",
|
||
"execution_readiness": "executable_with_soft_assumptions",
|
||
"clarification_reason": null,
|
||
"soft_assumption_used": [
|
||
"period_from_session_context",
|
||
"problem_scan_mode_enabled"
|
||
],
|
||
"route_status": "routed",
|
||
"no_route_reason": null
|
||
},
|
||
{
|
||
"fragment_id": "2",
|
||
"raw_fragment_text": "не по сумме, а по риску того, что потом придётся долго объяснять, почему карточка и начисления не бьются между собой",
|
||
"normalized_fragment_text": "анализ риска несоответствия между карточкой и начислениями",
|
||
"domain_relevance": "in_scope",
|
||
"business_scope": "generic_accounting",
|
||
"entity_hints": [
|
||
"основные средства"
|
||
],
|
||
"account_hints": [
|
||
"01",
|
||
"02"
|
||
],
|
||
"document_hints": [],
|
||
"register_hints": [],
|
||
"time_scope": {
|
||
"type": "missing",
|
||
"value": null,
|
||
"confidence": "low"
|
||
},
|
||
"flags": {
|
||
"has_multi_entity_scope": false,
|
||
"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": false,
|
||
"mentions_period_close_context": false
|
||
},
|
||
"candidate_labels": [
|
||
"cross_entity",
|
||
"heavy_analytical"
|
||
],
|
||
"confidence": "high",
|
||
"execution_readiness": "executable_with_soft_assumptions",
|
||
"clarification_reason": null,
|
||
"soft_assumption_used": [
|
||
"period_from_session_context"
|
||
],
|
||
"route_status": "routed",
|
||
"no_route_reason": null
|
||
}
|
||
],
|
||
"routes": [
|
||
{
|
||
"fragment_id": "1",
|
||
"route": "batch_refresh_then_store",
|
||
"reason": "Ranking/summary semantics require batch analytical route.",
|
||
"route_status": "routed",
|
||
"no_route_reason": null,
|
||
"clarification_reason": null,
|
||
"execution_readiness": "executable_with_soft_assumptions"
|
||
},
|
||
{
|
||
"fragment_id": "2",
|
||
"route": "store_canonical",
|
||
"reason": "Routed fragment without deep analytical or causal signals.",
|
||
"route_status": "routed",
|
||
"no_route_reason": null,
|
||
"clarification_reason": null,
|
||
"execution_readiness": "executable_with_soft_assumptions"
|
||
}
|
||
],
|
||
"retrieval_status": [
|
||
{
|
||
"fragment_id": "1",
|
||
"route": "batch_refresh_then_store",
|
||
"status": "ok",
|
||
"result_type": "ranking"
|
||
},
|
||
{
|
||
"fragment_id": "2",
|
||
"route": "store_canonical",
|
||
"status": "ok",
|
||
"result_type": "list"
|
||
}
|
||
],
|
||
"retrieval_results": [
|
||
{
|
||
"fragment_id": "1",
|
||
"route": "batch_refresh_then_store",
|
||
"status": "ok",
|
||
"result_type": "ranking",
|
||
"items": [
|
||
{
|
||
"rank": 1,
|
||
"entity": "AccumulationRegister_НДСЗаписиКнигиПродаж_RecordType",
|
||
"records_count": 92
|
||
},
|
||
{
|
||
"rank": 2,
|
||
"entity": "AccumulationRegister_НДСПредъявленный_RecordType",
|
||
"records_count": 86
|
||
},
|
||
{
|
||
"rank": 3,
|
||
"entity": "Document_СписаниеСРасчетногоСчета",
|
||
"records_count": 27
|
||
},
|
||
{
|
||
"rank": 4,
|
||
"entity": "AccumulationRegister_НДСЗаписиКнигиПокупок_RecordType",
|
||
"records_count": 24
|
||
},
|
||
{
|
||
"rank": 5,
|
||
"entity": "Document_ПоступлениеТоваровУслуг",
|
||
"records_count": 10
|
||
},
|
||
{
|
||
"rank": 6,
|
||
"entity": "AccumulationRegister_НДФЛРасчетыСБюджетом_RecordType",
|
||
"records_count": 7
|
||
},
|
||
{
|
||
"rank": 7,
|
||
"entity": "Document_РеализацияТоваровУслуг",
|
||
"records_count": 5
|
||
},
|
||
{
|
||
"rank": 8,
|
||
"entity": "AccumulationRegister_НДФЛСведенияОДоходах_RecordType",
|
||
"records_count": 3
|
||
},
|
||
{
|
||
"rank": 9,
|
||
"entity": "AccumulationRegister_РасчетыНалоговыхАгентовСБюджетомПоНДФЛ_RecordType",
|
||
"records_count": 3
|
||
},
|
||
{
|
||
"rank": 10,
|
||
"entity": "AccumulationRegister_НДСВключенныйВСтоимость_RecordType",
|
||
"records_count": 2
|
||
}
|
||
],
|
||
"summary": {
|
||
"checked_records": 262,
|
||
"ranked_entities": 10
|
||
},
|
||
"evidence": [
|
||
{
|
||
"entity": "AccumulationRegister_НДСЗаписиКнигиПродаж_RecordType",
|
||
"records_count": 92
|
||
},
|
||
{
|
||
"entity": "AccumulationRegister_НДСПредъявленный_RecordType",
|
||
"records_count": 86
|
||
},
|
||
{
|
||
"entity": "Document_СписаниеСРасчетногоСчета",
|
||
"records_count": 27
|
||
},
|
||
{
|
||
"entity": "AccumulationRegister_НДСЗаписиКнигиПокупок_RecordType",
|
||
"records_count": 24
|
||
},
|
||
{
|
||
"entity": "Document_ПоступлениеТоваровУслуг",
|
||
"records_count": 10
|
||
}
|
||
],
|
||
"errors": []
|
||
},
|
||
{
|
||
"fragment_id": "2",
|
||
"route": "store_canonical",
|
||
"status": "ok",
|
||
"result_type": "list",
|
||
"items": [
|
||
{
|
||
"source_entity": "Document_СписаниеСРасчетногоСчета",
|
||
"source_id": "c921c08a-c117-11ea-a2e2-00155d012600",
|
||
"display_name": "00000000180",
|
||
"period": "2020-06-30T12:00:07",
|
||
"counterparty_id": "9a4c4530-b5ae-11e8-93de-50465da00436",
|
||
"recorder": null
|
||
},
|
||
{
|
||
"source_entity": "Document_СписаниеСРасчетногоСчета",
|
||
"source_id": "5dfabe1f-c117-11ea-a2e2-00155d012600",
|
||
"display_name": "00000000178",
|
||
"period": "2020-06-30T12:00:05",
|
||
"counterparty_id": "4a6289f6-6808-11e8-8e6c-50465da00436",
|
||
"recorder": null
|
||
},
|
||
{
|
||
"source_entity": "Document_СписаниеСРасчетногоСчета",
|
||
"source_id": "2fdf7d2b-c117-11ea-a2e2-00155d012600",
|
||
"display_name": "00000000177",
|
||
"period": "2020-06-30T12:00:04",
|
||
"counterparty_id": "84a55286-970d-11e8-94ba-50465da00436",
|
||
"recorder": null
|
||
},
|
||
{
|
||
"source_entity": "Document_СписаниеСРасчетногоСчета",
|
||
"source_id": "24f17575-c117-11ea-a2e2-00155d012600",
|
||
"display_name": "00000000176",
|
||
"period": "2020-06-30T12:00:03",
|
||
"counterparty_id": "6be7395c-0231-11e6-8b48-5404a6c12c2c",
|
||
"recorder": null
|
||
},
|
||
{
|
||
"source_entity": "Document_СписаниеСРасчетногоСчета",
|
||
"source_id": "6f0947d8-bf77-11ea-a2e1-00155d012600",
|
||
"display_name": "00000000175",
|
||
"period": "2020-06-30T12:00:02",
|
||
"counterparty_id": "69879ad0-76de-11e4-9a6c-5404a6c12c2c",
|
||
"recorder": null
|
||
},
|
||
{
|
||
"source_entity": "Document_ПоступлениеТоваровУслуг",
|
||
"source_id": "d57e16a8-b090-11ea-a2db-00155d012600",
|
||
"display_name": "00000000015",
|
||
"period": "2020-06-30T12:00:00",
|
||
"counterparty_id": "c1e65898-7bd0-11e9-a2bc-00155d012600",
|
||
"recorder": null
|
||
},
|
||
{
|
||
"source_entity": "Document_РеализацияТоваровУслуг",
|
||
"source_id": "e17f08ca-c51a-11ea-a2e2-00155d012600",
|
||
"display_name": "00000000007",
|
||
"period": "2020-06-23T13:54:25",
|
||
"counterparty_id": "5c528e36-c519-11ea-a2e2-00155d012600",
|
||
"recorder": null
|
||
},
|
||
{
|
||
"source_entity": "Document_ПоступлениеТоваровУслуг",
|
||
"source_id": "0b4f2456-c5b6-11ea-a2e2-00155d012600",
|
||
"display_name": "00000000020",
|
||
"period": "2020-06-22T00:00:00",
|
||
"counterparty_id": "426ce148-ca81-11ea-a2e2-00155d012600",
|
||
"recorder": null
|
||
},
|
||
{
|
||
"source_entity": "Document_СписаниеСРасчетногоСчета",
|
||
"source_id": "04f191a0-b46b-11ea-a2db-00155d012600",
|
||
"display_name": "00000000174",
|
||
"period": "2020-06-19T12:00:00",
|
||
"counterparty_id": "c1e65898-7bd0-11e9-a2bc-00155d012600",
|
||
"recorder": null
|
||
},
|
||
{
|
||
"source_entity": "Document_РеализацияТоваровУслуг",
|
||
"source_id": "3f3fca52-a644-11ea-a2d7-00155d012600",
|
||
"display_name": "00000000006",
|
||
"period": "2020-06-19T00:00:00",
|
||
"counterparty_id": "cb5193b1-9a7e-11ea-a2d5-00155d012600",
|
||
"recorder": null
|
||
},
|
||
{
|
||
"source_entity": "Document_ПоступлениеТоваровУслуг",
|
||
"source_id": "f751dbe5-ca80-11ea-a2e2-00155d012600",
|
||
"display_name": "00000000022",
|
||
"period": "2020-06-19T00:00:00",
|
||
"counterparty_id": "a3fe2e97-ca7d-11ea-a2e2-00155d012600",
|
||
"recorder": null
|
||
},
|
||
{
|
||
"source_entity": "Document_ПоступлениеТоваровУслуг",
|
||
"source_id": "9d202b38-b090-11ea-a2db-00155d012600",
|
||
"display_name": "00000000013",
|
||
"period": "2020-06-17T14:49:44",
|
||
"counterparty_id": "b07bb8ce-a010-11e6-91da-50465da00436",
|
||
"recorder": null
|
||
}
|
||
],
|
||
"summary": {
|
||
"checked_records": 42,
|
||
"returned_records": 12
|
||
},
|
||
"evidence": [
|
||
{
|
||
"source_entity": "Document_СписаниеСРасчетногоСчета",
|
||
"source_id": "c921c08a-c117-11ea-a2e2-00155d012600",
|
||
"period": "2020-06-30T12:00:07"
|
||
},
|
||
{
|
||
"source_entity": "Document_СписаниеСРасчетногоСчета",
|
||
"source_id": "5dfabe1f-c117-11ea-a2e2-00155d012600",
|
||
"period": "2020-06-30T12:00:05"
|
||
},
|
||
{
|
||
"source_entity": "Document_СписаниеСРасчетногоСчета",
|
||
"source_id": "2fdf7d2b-c117-11ea-a2e2-00155d012600",
|
||
"period": "2020-06-30T12:00:04"
|
||
},
|
||
{
|
||
"source_entity": "Document_СписаниеСРасчетногоСчета",
|
||
"source_id": "24f17575-c117-11ea-a2e2-00155d012600",
|
||
"period": "2020-06-30T12:00:03"
|
||
},
|
||
{
|
||
"source_entity": "Document_СписаниеСРасчетногоСчета",
|
||
"source_id": "6f0947d8-bf77-11ea-a2e1-00155d012600",
|
||
"period": "2020-06-30T12:00:02"
|
||
},
|
||
{
|
||
"source_entity": "Document_ПоступлениеТоваровУслуг",
|
||
"source_id": "d57e16a8-b090-11ea-a2db-00155d012600",
|
||
"period": "2020-06-30T12:00:00"
|
||
}
|
||
],
|
||
"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": "1",
|
||
"raw_fragment_text": "обери список самых подозрительных объектов ОС",
|
||
"normalized_fragment_text": "выбор списка подозрительных объектов основных средств",
|
||
"domain_relevance": "in_scope",
|
||
"business_scope": "generic_accounting",
|
||
"entity_hints": [
|
||
"основные средства"
|
||
],
|
||
"account_hints": [
|
||
"01",
|
||
"02"
|
||
],
|
||
"document_hints": [],
|
||
"register_hints": [],
|
||
"time_scope": {
|
||
"type": "missing",
|
||
"value": null,
|
||
"confidence": "low"
|
||
},
|
||
"flags": {
|
||
"has_multi_entity_scope": false,
|
||
"asks_for_chain_explanation": true,
|
||
"asks_for_ranking_or_top": true,
|
||
"asks_for_period_summary": false,
|
||
"asks_for_rule_check": false,
|
||
"asks_for_anomaly_scan": false,
|
||
"asks_for_exact_object_trace": false,
|
||
"asks_for_evidence": false,
|
||
"mentions_period_close_context": false
|
||
},
|
||
"candidate_labels": [
|
||
"cross_entity",
|
||
"heavy_analytical"
|
||
],
|
||
"confidence": "high",
|
||
"execution_readiness": "executable_with_soft_assumptions",
|
||
"clarification_reason": null,
|
||
"soft_assumption_used": [
|
||
"period_from_session_context",
|
||
"problem_scan_mode_enabled"
|
||
],
|
||
"route_status": "routed",
|
||
"no_route_reason": null
|
||
},
|
||
{
|
||
"fragment_id": "2",
|
||
"raw_fragment_text": "не по сумме, а по риску того, что потом придётся долго объяснять, почему карточка и начисления не бьются между собой",
|
||
"normalized_fragment_text": "анализ риска несоответствия между карточкой и начислениями",
|
||
"domain_relevance": "in_scope",
|
||
"business_scope": "generic_accounting",
|
||
"entity_hints": [
|
||
"основные средства"
|
||
],
|
||
"account_hints": [
|
||
"01",
|
||
"02"
|
||
],
|
||
"document_hints": [],
|
||
"register_hints": [],
|
||
"time_scope": {
|
||
"type": "missing",
|
||
"value": null,
|
||
"confidence": "low"
|
||
},
|
||
"flags": {
|
||
"has_multi_entity_scope": false,
|
||
"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": false,
|
||
"mentions_period_close_context": false
|
||
},
|
||
"candidate_labels": [
|
||
"cross_entity",
|
||
"heavy_analytical"
|
||
],
|
||
"confidence": "high",
|
||
"execution_readiness": "executable_with_soft_assumptions",
|
||
"clarification_reason": null,
|
||
"soft_assumption_used": [
|
||
"period_from_session_context"
|
||
],
|
||
"route_status": "routed",
|
||
"no_route_reason": null
|
||
}
|
||
],
|
||
"discarded_fragments": [],
|
||
"global_notes": {
|
||
"needs_clarification": false,
|
||
"clarification_reason": null
|
||
}
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"message_id": "msg-nYFuX0w7V0",
|
||
"session_id": "asst-mJB643RHiw",
|
||
"role": "user",
|
||
"text": "Покажи мне не просто аномалии, а аномалии второго порядка: такие места, где отдельная ошибка не страшна, но в сочетании с другим участком уже начинает ломать картину периода",
|
||
"reply_type": null,
|
||
"created_at": "2026-03-24T10:22:47.164Z",
|
||
"trace_id": null,
|
||
"debug": null
|
||
},
|
||
{
|
||
"message_id": "msg-jd4f0p74UT",
|
||
"session_id": "asst-mJB643RHiw",
|
||
"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:22:57.187Z",
|
||
"trace_id": "gonlbhdXWcAdP-",
|
||
"debug": {
|
||
"trace_id": "gonlbhdXWcAdP-",
|
||
"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": "1",
|
||
"domain_relevance": "in_scope",
|
||
"business_scope": "generic_accounting",
|
||
"candidate_labels": [
|
||
"anomaly_probe",
|
||
"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": true,
|
||
"asks_for_exact_object_trace": false,
|
||
"asks_for_evidence": false,
|
||
"mentions_period_close_context": true
|
||
},
|
||
"execution_readiness": "executable_with_soft_assumptions",
|
||
"clarification_reason": null,
|
||
"soft_assumption_used": [
|
||
"period_from_session_context",
|
||
"problem_scan_mode_enabled"
|
||
],
|
||
"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": "1",
|
||
"raw_fragment_text": "аномалии второго порядка",
|
||
"normalized_fragment_text": "аномалии второго порядка",
|
||
"domain_relevance": "in_scope",
|
||
"business_scope": "generic_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": true,
|
||
"asks_for_exact_object_trace": false,
|
||
"asks_for_evidence": false,
|
||
"mentions_period_close_context": true
|
||
},
|
||
"candidate_labels": [
|
||
"anomaly_probe",
|
||
"cross_entity"
|
||
],
|
||
"confidence": "high",
|
||
"execution_readiness": "executable_with_soft_assumptions",
|
||
"clarification_reason": null,
|
||
"soft_assumption_used": [
|
||
"period_from_session_context",
|
||
"problem_scan_mode_enabled"
|
||
],
|
||
"route_status": "routed",
|
||
"no_route_reason": null
|
||
}
|
||
],
|
||
"routes": [
|
||
{
|
||
"fragment_id": "1",
|
||
"route": "hybrid_store_plus_live",
|
||
"reason": "Multi-entity causal chain requested.",
|
||
"route_status": "routed",
|
||
"no_route_reason": null,
|
||
"clarification_reason": null,
|
||
"execution_readiness": "executable_with_soft_assumptions"
|
||
}
|
||
],
|
||
"retrieval_status": [
|
||
{
|
||
"fragment_id": "1",
|
||
"route": "hybrid_store_plus_live",
|
||
"status": "ok",
|
||
"result_type": "chain"
|
||
}
|
||
],
|
||
"retrieval_results": [
|
||
{
|
||
"fragment_id": "1",
|
||
"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": "1",
|
||
"raw_fragment_text": "аномалии второго порядка",
|
||
"normalized_fragment_text": "аномалии второго порядка",
|
||
"domain_relevance": "in_scope",
|
||
"business_scope": "generic_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": true,
|
||
"asks_for_exact_object_trace": false,
|
||
"asks_for_evidence": false,
|
||
"mentions_period_close_context": true
|
||
},
|
||
"candidate_labels": [
|
||
"anomaly_probe",
|
||
"cross_entity"
|
||
],
|
||
"confidence": "high",
|
||
"execution_readiness": "executable_with_soft_assumptions",
|
||
"clarification_reason": null,
|
||
"soft_assumption_used": [
|
||
"period_from_session_context",
|
||
"problem_scan_mode_enabled"
|
||
],
|
||
"route_status": "routed",
|
||
"no_route_reason": null
|
||
}
|
||
],
|
||
"discarded_fragments": [],
|
||
"global_notes": {
|
||
"needs_clarification": false,
|
||
"clarification_reason": null
|
||
}
|
||
}
|
||
}
|
||
}
|
||
],
|
||
"last_assistant": {
|
||
"message_id": "msg-jd4f0p74UT",
|
||
"reply_type": "factual",
|
||
"trace_id": "gonlbhdXWcAdP-",
|
||
"created_at": "2026-03-24T10:22:57.187Z"
|
||
}
|
||
} |