- 分支内容对齐 qyqy_develop b6ec3aa,树完全一致(同步后 git diff 为空) - 覆盖本轮全部交付:客服 Agent 重构(安全路由 / 五出口 / 记忆与画像 / RAG 全链路) + 开发文档 62 份编号体系(D1.1 v1.17 索引) + 新增 D2.10-客服Agent端到端答辩文档-2026-09-21.html - 基线:e239eb7(2026-09-17 品牌口径统一快照),本提交为其直接后继
139 lines
3.8 KiB
JSON
139 lines
3.8 KiB
JSON
{
|
||
"artifact": "t1-knowledge-rebuild",
|
||
"date": "2026-09-18",
|
||
"decision_refs": [
|
||
"DEC-29",
|
||
"DEC-30",
|
||
"DEC-31",
|
||
"DEC-32",
|
||
"H-05",
|
||
"乙-16"
|
||
],
|
||
"source_of_truth": "knowledge/_chunks.jsonl (regenerated from 2026-09-17 整改后源文件)",
|
||
"chunks_jsonl": {
|
||
"total": 628,
|
||
"by_collection": {
|
||
"fin_policy_collection": 288,
|
||
"fin_product_collection": 191,
|
||
"fin_faq_collection": 149
|
||
},
|
||
"by_visibility": {
|
||
"public": 603,
|
||
"registered": 25
|
||
},
|
||
"by_collection_visibility": {
|
||
"fin_faq_collection|public": 139,
|
||
"fin_faq_collection|registered": 10,
|
||
"fin_policy_collection|public": 288,
|
||
"fin_product_collection|public": 176,
|
||
"fin_product_collection|registered": 15
|
||
},
|
||
"registered_doc_ids": [
|
||
"FAQ-0017",
|
||
"FAQ-0020",
|
||
"FAQ-0021",
|
||
"FAQ-0027",
|
||
"FAQ-0028",
|
||
"FAQ-0029",
|
||
"FAQ-0030",
|
||
"FAQ-0033",
|
||
"FAQ-0047",
|
||
"FAQ-0053",
|
||
"HNW-001",
|
||
"HNW-001-01",
|
||
"HNW-001-02",
|
||
"HNW-001-03",
|
||
"HNW-001-04",
|
||
"HNW-002",
|
||
"HNW-003",
|
||
"HNW-003-01",
|
||
"HNW-003-02",
|
||
"HNW-003-03",
|
||
"HNW-003-04",
|
||
"HNW-004",
|
||
"HNW-005",
|
||
"HNW-006",
|
||
"HNW-007"
|
||
],
|
||
"brand_literals": {
|
||
"南方基金": 557,
|
||
"南方科技": 0,
|
||
"奶龙": 0,
|
||
"南方财富": 0,
|
||
"400-889-8899": 24,
|
||
"nffund.com": 21
|
||
},
|
||
"longest_content_chars": 2828,
|
||
"longest_content_doc_id": "POL-AST-009"
|
||
},
|
||
"milvus_live": {
|
||
"fin_faq_collection": {
|
||
"row_count": 149,
|
||
"unique_doc_id": 149,
|
||
"visibility": {
|
||
"public": 139,
|
||
"registered": 10
|
||
},
|
||
"stats_row_count": 149
|
||
},
|
||
"fin_policy_collection": {
|
||
"row_count": 288,
|
||
"unique_doc_id": 288,
|
||
"visibility": {
|
||
"public": 288
|
||
},
|
||
"stats_row_count": 288
|
||
},
|
||
"fin_product_collection": {
|
||
"row_count": 191,
|
||
"unique_doc_id": 191,
|
||
"visibility": {
|
||
"registered": 15,
|
||
"public": 176
|
||
},
|
||
"stats_row_count": 191
|
||
}
|
||
},
|
||
"visibility_probe": {
|
||
"note": "实机探针:KnowledgeSearchService + 真实千问向量化,2026-09-18",
|
||
"guest_public_query": {
|
||
"query": "基金赎回几天到账",
|
||
"include_internal": false,
|
||
"degraded": false,
|
||
"top_score": 0.8446,
|
||
"top1": "FAQ-0026",
|
||
"top1_visibility": "public"
|
||
},
|
||
"registered_query_filtered": {
|
||
"query": "高净值客户有什么权益",
|
||
"include_internal": false,
|
||
"degraded": false,
|
||
"top_score": 0.5486,
|
||
"top1": "FAQ-0024",
|
||
"top1_visibility": "public",
|
||
"verdict": "低于 0.75 高置信门槛 ⇒ 兜底转人工;registered 25 块对所有档位均不可见"
|
||
},
|
||
"registered_query_unfiltered": {
|
||
"query": "高净值客户有什么权益",
|
||
"include_internal": true,
|
||
"degraded": false,
|
||
"top_score": 0.7604,
|
||
"top1": "HNW-006",
|
||
"top1_visibility": "registered"
|
||
},
|
||
"root_cause": "knowledge_tool.py 调用 search() 未传 include_internal ⇒ 默认 False ⇒ 恒拼 visibility==\"public\";登录客户与访客拿到同一档位"
|
||
},
|
||
"gate_rerun_20260918": {
|
||
"pytest": "7 failed, 1441 passed, 2 skipped",
|
||
"ruff": "22 errors (11 fixable) - 与基线一致,均为既有问题",
|
||
"mypy": "3 errors - 与基线一致,均为既有问题",
|
||
"check_authoritative_docs": "0 (50 文档无编号冲突)",
|
||
"audit_schema": "0 (89 张业务表)",
|
||
"verdict": "相对 T0 基线 0 回归"
|
||
},
|
||
"pending": [
|
||
"H-05 双向验证的客户档未通过:需会签 D-01/D-02(_visibility_filter 改 tiers: frozenset[str])",
|
||
"Milvus row_count 为 upsert 未压缩前的乐观值(2x),需 compaction 或运维确认",
|
||
"D2.4 HTML 待回改:schema 字段表 / 档位值变更语义 / _chunks 行数 636→628"
|
||
]
|
||
} |