- 分支内容对齐 qyqy_develop b6ec3aa,树完全一致(同步后 git diff 为空) - 覆盖本轮全部交付:客服 Agent 重构(安全路由 / 五出口 / 记忆与画像 / RAG 全链路) + 开发文档 62 份编号体系(D1.1 v1.17 索引) + 新增 D2.10-客服Agent端到端答辩文档-2026-09-21.html - 基线:e239eb7(2026-09-17 品牌口径统一快照),本提交为其直接后继
73 lines
4.1 KiB
JSON
73 lines
4.1 KiB
JSON
{
|
||
"artifact": "t2h-prod012-corpus-fix",
|
||
"generated_at": "2026-09-18T12:58:34.392583+00:00",
|
||
"date_local": "2026-09-18",
|
||
"purpose": "用户指令「先把语料修复吧 在进行下一步 不单独立项了」:修复 public 档 `PROD-012` 携带投资建议类内容,并重建集合",
|
||
"defect": {
|
||
"doc_id": "PROD-012",
|
||
"before_title": "产品手册 · 四、产品对比表与推荐策略 · 4.2 按客户类型的推荐策略",
|
||
"before_visibility": "public",
|
||
"removed": [
|
||
"建议配置:货币基金 60% + 纯债基金 40%(C1 等四档配置比例 —— 属投资建议)",
|
||
"预期组合收益(虚构):约 2.0%—3.0%(C1 等四档收益区间 —— 属收益预测)"
|
||
],
|
||
"kept_and_why": [
|
||
"C—R 匹配规则(C1 可购买 R1—R2 …)—— 属**适当性事实**,且是合规负面清单的直接依据",
|
||
"各档「可选产品等级」—— 同上",
|
||
"各档风险偏好特征(原「目标」改用词)—— 是 C1—C5 类型定义的一部分"
|
||
]
|
||
},
|
||
"source_change": {
|
||
"file": "knowledge/product/个人理财产品手册.md",
|
||
"renames": [
|
||
"TOC 与章标题:产品对比表与推荐策略 → 产品对比与适当性匹配",
|
||
"节标题:4.2 按客户类型的推荐策略 → 4.2 按客户类型的适当性匹配范围"
|
||
],
|
||
"added_notice": "本节只说明适当性匹配范围,不含资产配置比例与收益目标/区间;具体配置方案属投资建议,须由具备资质的专业人员提供,本系统智能客服不提供此类内容"
|
||
},
|
||
"rebuild": {
|
||
"command": ".venv\\Scripts\\python.exe tools\\build_knowledge_chunks.py",
|
||
"result": "已生成 628 块(与修复前**同数**:只删条目、不改标题层级)",
|
||
"by_collection": {
|
||
"fin_policy_collection": 288,
|
||
"fin_product_collection": 191,
|
||
"fin_faq_collection": 149
|
||
},
|
||
"by_visibility": {
|
||
"public": 603,
|
||
"registered": 25
|
||
},
|
||
"before_snapshot": "docs/evidence/20260918-chunks-before-prod012-fix.jsonl"
|
||
},
|
||
"reload": {
|
||
"command": ".venv\\Scripts\\python.exe tools/load_knowledge_milvus.py(需外网:千问 DashScope 向量化)",
|
||
"self_check": "7/7 命中(含 PROD-006-05 / FAQ-0026 / HNW-005 / POL-AST-012-01)",
|
||
"live_rows_after": {
|
||
"fin_faq_collection": 149,
|
||
"fin_policy_collection": 288,
|
||
"fin_product_collection": 191
|
||
},
|
||
"note": "脚本报告的 row_count 是 upsert 后的**墓碑行**计数(149/288/191 → 298/576/382);用 `count(*)` 实测存活行仍为 149/288/191,按 doc_id 查询单条只返回 1 行 ⇒ 无重复行。检索使用存活行,不受影响;压实(compact)已提交,统计值会随后收敛。",
|
||
"service_restart": "S-7 要求集合变更后重启 API + Worker(检索服务是进程级单例)。实测本机 8000/8001/8101/8501/9090 均无监听进程 ⇒ 当前无服务在跑,无需重启;**若演示前启动了服务,须重启后再验收**。"
|
||
},
|
||
"verification": {
|
||
"live_rows_scanned": 628,
|
||
"stale_hits": [],
|
||
"visitor_advice_hits_in_live_db": [],
|
||
"prod012_live_title": "南方基金管理股份有限公司 公募基金与专户产品手册 · 四、产品对比与适当性匹配 · 4.2 按客户类型的适当性匹配范围",
|
||
"prod012_live_visibility": "public",
|
||
"verdict": "库内投资建议类内容已清零;PROD-012 仍为 public(保留其适当性匹配价值)"
|
||
},
|
||
"other_sources_scanned": {
|
||
"method": "对 knowledge/ 全部源文件逐行跑 visitor_advice_violation + 配置比例/预期收益区间/收益目标 正则",
|
||
"residual": [
|
||
"knowledge/product/高净值客户服务规范.md 第 270、296 行含『配置比例』—— 该文件只入库「一、客户分层标准」与「二、各层级专属权益」两章(SOURCES.allow_chapters),第 270/296 行在第四章,**不在库内**"
|
||
],
|
||
"verdict": "无其他在库残留"
|
||
},
|
||
"gate": {
|
||
"pytest": "见本次全量门禁输出(失败集应与 T0 基线同一组)",
|
||
"docs": "50 documents, no number collision",
|
||
"schema": "89 business tables passed"
|
||
}
|
||
} |