chore(sync): zsy_developcc 全量同步至 qyqy_develop(W26 口径)
- 分支内容对齐 qyqy_develop b6ec3aa,树完全一致(同步后 git diff 为空) - 覆盖本轮全部交付:客服 Agent 重构(安全路由 / 五出口 / 记忆与画像 / RAG 全链路) + 开发文档 62 份编号体系(D1.1 v1.17 索引) + 新增 D2.10-客服Agent端到端答辩文档-2026-09-21.html - 基线:e239eb7(2026-09-17 品牌口径统一快照),本提交为其直接后继
This commit is contained in:
@@ -94,8 +94,12 @@ def _probe_scores() -> None:
|
||||
"""上传后核对检索评分(与客服判定同一口径)。"""
|
||||
from app.service.agent.bootstrap import get_knowledge_search_service
|
||||
|
||||
from app.core.knowledge_contracts import ALL_TIERS
|
||||
|
||||
service = get_knowledge_search_service()
|
||||
outcome = asyncio.run(service.search(PROBE_QUERY, top_k=5))
|
||||
# 校验脚本按**全集档位**查:它要证明的是"这条知识进库了、能被检索到",
|
||||
# 不是"访客能看到",故不受档位隔离限制。
|
||||
outcome = asyncio.run(service.search(PROBE_QUERY, top_k=5, tiers=ALL_TIERS))
|
||||
if not outcome.hits:
|
||||
print(f" ⚠️ 「{PROBE_QUERY}」仍然没有命中")
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user