23 lines
1.1 KiB
YAML
23 lines
1.1 KiB
YAML
# -*- coding: utf-8 -*-
|
||
# 模板「报警解释」场景配置资产:ti-cl4(Template-Ti 一期,issue #74)。
|
||
#
|
||
# 说明(父 Issue #11「④ LLM 报警解释 / 交接班 / NL 查询」子任务):
|
||
# - prompt_template:绑定 llm-gateway 提示词版本库(prompts.template.yaml)
|
||
# 中的 alarm_explain 模板(报警解释 + SOP 引用);
|
||
# - rag.categories:报警解释**只检索 sop 知识域**(异常处置 SOP),
|
||
# 不引入工艺规范/国标噪声,保证引用精准;
|
||
# - rag.min_score:检索阈值(TF 密度分),低于阈值视为未命中 →
|
||
# 提示"未检索到相关 SOP,请人工确认"(高利害场景宁缺毋滥,PRD 5.4);
|
||
# - high_stakes + confidence_threshold:低信度转人工确认(与 #11 验收一致)。
|
||
template: ti-cl4
|
||
version: 1.0.0
|
||
|
||
alarm_explain:
|
||
prompt_template: alarm_explain
|
||
rag:
|
||
categories: [sop] # 报警解释知识域:仅异常处置 SOP
|
||
top_k: 3
|
||
min_score: 0.3 # 检索阈值(低于 = 未命中,降级提示人工)
|
||
high_stakes: true
|
||
confidence_threshold: 0.8 # 低信度转人工
|