404 lines
15 KiB
JSON
404 lines
15 KiB
JSON
{
|
||
"schema_version": "assistant_session_log_v1",
|
||
"session_id": "asst-yjhjAqk8IY",
|
||
"started_at": "2026-03-24T10:18:46.936Z",
|
||
"updated_at": "2026-03-24T10:18:46.941Z",
|
||
"counters": {
|
||
"total_messages": 4,
|
||
"user_messages": 2,
|
||
"assistant_messages": 2
|
||
},
|
||
"trace_ids": [
|
||
"p9DvT8qinl5N47",
|
||
"8aitYJX0bapU9f"
|
||
],
|
||
"reply_types": [
|
||
"out_of_scope"
|
||
],
|
||
"conversation": [
|
||
{
|
||
"message_id": "msg-KP0dkpzl4t",
|
||
"session_id": "asst-yjhjAqk8IY",
|
||
"role": "user",
|
||
"text": "Sdelai proverku po postavshchikam.",
|
||
"reply_type": null,
|
||
"created_at": "2026-03-24T10:18:46.936Z",
|
||
"trace_id": null,
|
||
"debug": null
|
||
},
|
||
{
|
||
"message_id": "msg-bmMb16qUvP",
|
||
"session_id": "asst-yjhjAqk8IY",
|
||
"role": "assistant",
|
||
"text": "Я могу отвечать только по данным вашей учетной базы. Этот запрос выходит за рамки доступного контура.",
|
||
"reply_type": "out_of_scope",
|
||
"created_at": "2026-03-24T10:18:46.937Z",
|
||
"trace_id": "p9DvT8qinl5N47",
|
||
"debug": {
|
||
"trace_id": "p9DvT8qinl5N47",
|
||
"prompt_version": "normalizer_v2_0_2",
|
||
"schema_version": "v2_0_2",
|
||
"fallback_type": "out_of_scope",
|
||
"route_summary": {
|
||
"mode": "deterministic_v2",
|
||
"message_in_scope": false,
|
||
"scope_confidence": "low",
|
||
"planner": {
|
||
"total_fragments": 1,
|
||
"in_scope_fragments": 0,
|
||
"out_of_scope_fragments": 0,
|
||
"discarded_fragments": 0,
|
||
"contains_multiple_tasks": false
|
||
},
|
||
"decisions": [
|
||
{
|
||
"fragment_id": "F1",
|
||
"domain_relevance": "unclear",
|
||
"business_scope": "unclear",
|
||
"candidate_labels": [],
|
||
"decision_flags": {
|
||
"has_multi_entity_scope": false,
|
||
"asks_for_chain_explanation": false,
|
||
"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": "needs_clarification",
|
||
"clarification_reason": "domain_or_scope_unclear",
|
||
"soft_assumption_used": [],
|
||
"route_status": "no_route",
|
||
"no_route_reason": "insufficient_specificity",
|
||
"route": "no_route",
|
||
"reason": "Fragment requires clarification or is too underspecified for safe routing."
|
||
}
|
||
],
|
||
"fallback": {
|
||
"type": "out_of_scope",
|
||
"message": "Я работаю только с данными и бухгалтерским контуром текущей компании. Запрос вне доступной предметной области."
|
||
}
|
||
},
|
||
"fragments": [
|
||
{
|
||
"fragment_id": "F1",
|
||
"raw_fragment_text": "Sdelai proverku po postavshchikam.",
|
||
"normalized_fragment_text": "Sdelai proverku po postavshchikam.",
|
||
"domain_relevance": "unclear",
|
||
"business_scope": "unclear",
|
||
"entity_hints": [],
|
||
"account_hints": [],
|
||
"document_hints": [],
|
||
"register_hints": [],
|
||
"time_scope": {
|
||
"type": "missing",
|
||
"value": null,
|
||
"confidence": "low"
|
||
},
|
||
"flags": {
|
||
"has_multi_entity_scope": false,
|
||
"asks_for_chain_explanation": false,
|
||
"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": [],
|
||
"confidence": "low",
|
||
"execution_readiness": "needs_clarification",
|
||
"clarification_reason": "domain_or_scope_unclear",
|
||
"soft_assumption_used": [],
|
||
"route_status": "no_route",
|
||
"no_route_reason": "insufficient_specificity"
|
||
}
|
||
],
|
||
"routes": [
|
||
{
|
||
"fragment_id": "F1",
|
||
"route": "no_route",
|
||
"reason": "Fragment requires clarification or is too underspecified for safe routing.",
|
||
"route_status": "no_route",
|
||
"no_route_reason": "insufficient_specificity",
|
||
"clarification_reason": "domain_or_scope_unclear",
|
||
"execution_readiness": "needs_clarification"
|
||
}
|
||
],
|
||
"retrieval_status": [
|
||
{
|
||
"fragment_id": "F1",
|
||
"route": "no_route",
|
||
"status": "empty",
|
||
"result_type": "summary"
|
||
}
|
||
],
|
||
"retrieval_results": [
|
||
{
|
||
"fragment_id": "F1",
|
||
"route": "no_route",
|
||
"status": "empty",
|
||
"result_type": "summary",
|
||
"items": [],
|
||
"summary": {
|
||
"skipped": true,
|
||
"reason": "Needs clarification.",
|
||
"no_route_reason": "insufficient_specificity",
|
||
"clarification_reason": "domain_or_scope_unclear"
|
||
},
|
||
"evidence": [],
|
||
"errors": []
|
||
}
|
||
],
|
||
"normalized": {
|
||
"schema_version": "normalized_query_v2_0_2",
|
||
"user_message_raw": "Sdelai proverku po postavshchikam.",
|
||
"message_in_scope": false,
|
||
"scope_confidence": "low",
|
||
"contains_multiple_tasks": false,
|
||
"fragments": [
|
||
{
|
||
"fragment_id": "F1",
|
||
"raw_fragment_text": "Sdelai proverku po postavshchikam.",
|
||
"normalized_fragment_text": "Sdelai proverku po postavshchikam.",
|
||
"domain_relevance": "unclear",
|
||
"business_scope": "unclear",
|
||
"entity_hints": [],
|
||
"account_hints": [],
|
||
"document_hints": [],
|
||
"register_hints": [],
|
||
"time_scope": {
|
||
"type": "missing",
|
||
"value": null,
|
||
"confidence": "low"
|
||
},
|
||
"flags": {
|
||
"has_multi_entity_scope": false,
|
||
"asks_for_chain_explanation": false,
|
||
"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": [],
|
||
"confidence": "low",
|
||
"execution_readiness": "needs_clarification",
|
||
"clarification_reason": "domain_or_scope_unclear",
|
||
"soft_assumption_used": [],
|
||
"route_status": "no_route",
|
||
"no_route_reason": "insufficient_specificity"
|
||
}
|
||
],
|
||
"discarded_fragments": [],
|
||
"global_notes": {
|
||
"needs_clarification": false,
|
||
"clarification_reason": null
|
||
}
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"message_id": "msg-A6hftqx0Y1",
|
||
"session_id": "asst-yjhjAqk8IY",
|
||
"role": "user",
|
||
"text": "Dobav proverku po periodu 2020-06.",
|
||
"reply_type": null,
|
||
"created_at": "2026-03-24T10:18:46.940Z",
|
||
"trace_id": null,
|
||
"debug": null
|
||
},
|
||
{
|
||
"message_id": "msg-QWwYXoxgsy",
|
||
"session_id": "asst-yjhjAqk8IY",
|
||
"role": "assistant",
|
||
"text": "Я могу отвечать только по данным вашей учетной базы. Этот запрос выходит за рамки доступного контура.",
|
||
"reply_type": "out_of_scope",
|
||
"created_at": "2026-03-24T10:18:46.941Z",
|
||
"trace_id": "8aitYJX0bapU9f",
|
||
"debug": {
|
||
"trace_id": "8aitYJX0bapU9f",
|
||
"prompt_version": "normalizer_v2_0_2",
|
||
"schema_version": "v2_0_2",
|
||
"fallback_type": "out_of_scope",
|
||
"route_summary": {
|
||
"mode": "deterministic_v2",
|
||
"message_in_scope": false,
|
||
"scope_confidence": "low",
|
||
"planner": {
|
||
"total_fragments": 1,
|
||
"in_scope_fragments": 0,
|
||
"out_of_scope_fragments": 0,
|
||
"discarded_fragments": 0,
|
||
"contains_multiple_tasks": false
|
||
},
|
||
"decisions": [
|
||
{
|
||
"fragment_id": "F1",
|
||
"domain_relevance": "unclear",
|
||
"business_scope": "unclear",
|
||
"candidate_labels": [],
|
||
"decision_flags": {
|
||
"has_multi_entity_scope": false,
|
||
"asks_for_chain_explanation": false,
|
||
"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": "needs_clarification",
|
||
"clarification_reason": "domain_or_scope_unclear",
|
||
"soft_assumption_used": [],
|
||
"route_status": "no_route",
|
||
"no_route_reason": "insufficient_specificity",
|
||
"route": "no_route",
|
||
"reason": "Fragment requires clarification or is too underspecified for safe routing."
|
||
}
|
||
],
|
||
"fallback": {
|
||
"type": "out_of_scope",
|
||
"message": "Я работаю только с данными и бухгалтерским контуром текущей компании. Запрос вне доступной предметной области."
|
||
}
|
||
},
|
||
"fragments": [
|
||
{
|
||
"fragment_id": "F1",
|
||
"raw_fragment_text": "Dobav proverku po periodu 2020-06.",
|
||
"normalized_fragment_text": "Dobav proverku po periodu 2020-06.",
|
||
"domain_relevance": "unclear",
|
||
"business_scope": "unclear",
|
||
"entity_hints": [],
|
||
"account_hints": [
|
||
"06"
|
||
],
|
||
"document_hints": [],
|
||
"register_hints": [],
|
||
"time_scope": {
|
||
"type": "explicit",
|
||
"value": "2020-06",
|
||
"confidence": "high"
|
||
},
|
||
"flags": {
|
||
"has_multi_entity_scope": false,
|
||
"asks_for_chain_explanation": false,
|
||
"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": [],
|
||
"confidence": "low",
|
||
"execution_readiness": "needs_clarification",
|
||
"clarification_reason": "domain_or_scope_unclear",
|
||
"soft_assumption_used": [],
|
||
"route_status": "no_route",
|
||
"no_route_reason": "insufficient_specificity"
|
||
}
|
||
],
|
||
"routes": [
|
||
{
|
||
"fragment_id": "F1",
|
||
"route": "no_route",
|
||
"reason": "Fragment requires clarification or is too underspecified for safe routing.",
|
||
"route_status": "no_route",
|
||
"no_route_reason": "insufficient_specificity",
|
||
"clarification_reason": "domain_or_scope_unclear",
|
||
"execution_readiness": "needs_clarification"
|
||
}
|
||
],
|
||
"retrieval_status": [
|
||
{
|
||
"fragment_id": "F1",
|
||
"route": "no_route",
|
||
"status": "empty",
|
||
"result_type": "summary"
|
||
}
|
||
],
|
||
"retrieval_results": [
|
||
{
|
||
"fragment_id": "F1",
|
||
"route": "no_route",
|
||
"status": "empty",
|
||
"result_type": "summary",
|
||
"items": [],
|
||
"summary": {
|
||
"skipped": true,
|
||
"reason": "Needs clarification.",
|
||
"no_route_reason": "insufficient_specificity",
|
||
"clarification_reason": "domain_or_scope_unclear"
|
||
},
|
||
"evidence": [],
|
||
"errors": []
|
||
}
|
||
],
|
||
"normalized": {
|
||
"schema_version": "normalized_query_v2_0_2",
|
||
"user_message_raw": "Dobav proverku po periodu 2020-06.",
|
||
"message_in_scope": false,
|
||
"scope_confidence": "low",
|
||
"contains_multiple_tasks": false,
|
||
"fragments": [
|
||
{
|
||
"fragment_id": "F1",
|
||
"raw_fragment_text": "Dobav proverku po periodu 2020-06.",
|
||
"normalized_fragment_text": "Dobav proverku po periodu 2020-06.",
|
||
"domain_relevance": "unclear",
|
||
"business_scope": "unclear",
|
||
"entity_hints": [],
|
||
"account_hints": [
|
||
"06"
|
||
],
|
||
"document_hints": [],
|
||
"register_hints": [],
|
||
"time_scope": {
|
||
"type": "explicit",
|
||
"value": "2020-06",
|
||
"confidence": "high"
|
||
},
|
||
"flags": {
|
||
"has_multi_entity_scope": false,
|
||
"asks_for_chain_explanation": false,
|
||
"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": [],
|
||
"confidence": "low",
|
||
"execution_readiness": "needs_clarification",
|
||
"clarification_reason": "domain_or_scope_unclear",
|
||
"soft_assumption_used": [],
|
||
"route_status": "no_route",
|
||
"no_route_reason": "insufficient_specificity"
|
||
}
|
||
],
|
||
"discarded_fragments": [],
|
||
"global_notes": {
|
||
"needs_clarification": false,
|
||
"clarification_reason": null
|
||
}
|
||
}
|
||
}
|
||
}
|
||
],
|
||
"last_assistant": {
|
||
"message_id": "msg-QWwYXoxgsy",
|
||
"reply_type": "out_of_scope",
|
||
"trace_id": "8aitYJX0bapU9f",
|
||
"created_at": "2026-03-24T10:18:46.941Z"
|
||
}
|
||
} |