216 lines
7.7 KiB
JSON
216 lines
7.7 KiB
JSON
{
|
||
"schema_version": "assistant_session_log_v1",
|
||
"session_id": "asst-F95cyMFtSQ",
|
||
"started_at": "2026-03-24T10:18:46.898Z",
|
||
"updated_at": "2026-03-24T10:18:46.929Z",
|
||
"counters": {
|
||
"total_messages": 2,
|
||
"user_messages": 1,
|
||
"assistant_messages": 1
|
||
},
|
||
"trace_ids": [
|
||
"_Ul374nTdUHN6j"
|
||
],
|
||
"reply_types": [
|
||
"out_of_scope"
|
||
],
|
||
"conversation": [
|
||
{
|
||
"message_id": "msg-SyNRyotjqd",
|
||
"session_id": "asst-F95cyMFtSQ",
|
||
"role": "user",
|
||
"text": "Prover schet 97 i podsveti riskovye zony.",
|
||
"reply_type": null,
|
||
"created_at": "2026-03-24T10:18:46.898Z",
|
||
"trace_id": null,
|
||
"debug": null
|
||
},
|
||
{
|
||
"message_id": "msg-LtmL_agQuD",
|
||
"session_id": "asst-F95cyMFtSQ",
|
||
"role": "assistant",
|
||
"text": "Я могу отвечать только по данным вашей учетной базы. Этот запрос выходит за рамки доступного контура.",
|
||
"reply_type": "out_of_scope",
|
||
"created_at": "2026-03-24T10:18:46.929Z",
|
||
"trace_id": "_Ul374nTdUHN6j",
|
||
"debug": {
|
||
"trace_id": "_Ul374nTdUHN6j",
|
||
"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": "Prover schet 97 i podsveti riskovye zony.",
|
||
"normalized_fragment_text": "Prover schet 97 i podsveti riskovye zony.",
|
||
"domain_relevance": "unclear",
|
||
"business_scope": "unclear",
|
||
"entity_hints": [],
|
||
"account_hints": [
|
||
"97"
|
||
],
|
||
"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": "Prover schet 97 i podsveti riskovye zony.",
|
||
"message_in_scope": false,
|
||
"scope_confidence": "low",
|
||
"contains_multiple_tasks": false,
|
||
"fragments": [
|
||
{
|
||
"fragment_id": "F1",
|
||
"raw_fragment_text": "Prover schet 97 i podsveti riskovye zony.",
|
||
"normalized_fragment_text": "Prover schet 97 i podsveti riskovye zony.",
|
||
"domain_relevance": "unclear",
|
||
"business_scope": "unclear",
|
||
"entity_hints": [],
|
||
"account_hints": [
|
||
"97"
|
||
],
|
||
"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
|
||
}
|
||
}
|
||
}
|
||
}
|
||
],
|
||
"last_assistant": {
|
||
"message_id": "msg-LtmL_agQuD",
|
||
"reply_type": "out_of_scope",
|
||
"trace_id": "_Ul374nTdUHN6j",
|
||
"created_at": "2026-03-24T10:18:46.929Z"
|
||
}
|
||
} |