Files
iAOP/templates/ti-cl4/llm-scenarios/config/scenarios.template.yaml
T

34 lines
1.3 KiB
YAML

# -*- coding: utf-8 -*-
# 模板「Ti 场景配置」资产示例:ti-cl4(氯化车间/海绵钛,Template-Ti 一期)。
#
# 说明:
# - 这是「LLM 业务场景」配置点(EPIC #11):报警解释 / 交接班摘要 / NL 查询;
# - prompt_template 绑定 llm-gateway 提示词版本库中的模板名(prompts.template.yaml);
# - rag_categories 限定该场景 RAG 检索的知识域(process/sop/standard,见 kb.template.yaml);
# - high_stakes: true 的场景启用幻觉校验信度阈值(低信度转人工);
# - acceptance.route_accuracy 为场景验收指标(EPIC #11:路由准确率 ≥ 96.5%)。
template: ti-cl4
version: 1.0.0
scenarios:
- name: alarm_explain
description: 报警根因解释(高利害,低信度转人工确认)
prompt_template: alarm_explain
high_stakes: true
rag_categories: [sop]
acceptance:
route_accuracy: 0.965
hallucination_check: true
- name: shift_handover
description: 交接班自动摘要(生产概况/异常事项/安全注意事项)
prompt_template: shift_handover
high_stakes: false
rag_categories: [sop]
- name: nl_query
description: 自然语言查询驾驶舱(NL → 指标/查询意图)
prompt_template: qa
high_stakes: false
rag_categories: [process]