基于 freshliance.com 产品页整理产品资料与方案适用说明,并接入判定树。 Co-authored-by: haijd <haijd@163.com>
124 lines
3.8 KiB
YAML
124 lines
3.8 KiB
YAML
# 判定树:规则按 order 依次匹配,命中第一条即输出推荐
|
||
# 条件支持:slot_equals / slot_contains / always
|
||
version: 1
|
||
|
||
rules:
|
||
- id: fresh_tag_1_explicit
|
||
order: 5
|
||
description: 明确提到 Fresh Tag 1 / USB 温度记录仪
|
||
when_all:
|
||
- type: slot_contains
|
||
slot: scenario
|
||
value: Fresh Tag
|
||
then:
|
||
product_bundle: ["Fresh Tag 1"]
|
||
tech_line: 一次性USB温度记录
|
||
summary: 按官网资料匹配 Fresh Tag 1:一次性、USB 免软件出 PDF/CSV,适合冷链运输温敏货。
|
||
confidence: 0.88
|
||
|
||
- id: cold_chain_logger
|
||
order: 8
|
||
description: 冷链/药品/生鲜温度监测 → Fresh Tag 1
|
||
when_all:
|
||
- type: slot_contains
|
||
slot: scenario
|
||
value: 冷链
|
||
then:
|
||
product_bundle: ["Fresh Tag 1"]
|
||
tech_line: 一次性USB温度记录
|
||
summary: 冷链运输温度监测场景推荐 Fresh Tag 1(-30℃~+70℃,±0.5℃,行程可选 7~300 天)。需再确认报警点与报告格式。
|
||
confidence: 0.84
|
||
|
||
- id: pharma_vaccine
|
||
order: 9
|
||
description: 药品疫苗运输温度记录
|
||
when_all:
|
||
- type: slot_contains
|
||
slot: scenario
|
||
value: 药
|
||
then:
|
||
product_bundle: ["Fresh Tag 1"]
|
||
tech_line: 一次性USB温度记录
|
||
summary: 药品/疫苗等温敏货运输可优先考虑 Fresh Tag 1;报警上下限与行程天数需人工确认后出厂预置。
|
||
confidence: 0.82
|
||
|
||
- id: fresh_food
|
||
order: 9
|
||
description: 生鲜冷冻食品温度记录
|
||
when_all:
|
||
- type: slot_contains
|
||
slot: scenario
|
||
value: 生鲜
|
||
then:
|
||
product_bundle: ["Fresh Tag 1"]
|
||
tech_line: 一次性USB温度记录
|
||
summary: 生鲜/冷冻食品冷链推荐 Fresh Tag 1;确认运输天数对应 7~300 天档位,以及是否需要 PDF&CSV。
|
||
confidence: 0.82
|
||
|
||
- id: prefer_a_line
|
||
order: 10
|
||
description: 明确倾向 A 类或传感场景
|
||
when_all:
|
||
- type: slot_contains
|
||
slot: tech_category
|
||
value: A
|
||
then:
|
||
product_bundle: ["XJ-A100", "XJ-A-GW"]
|
||
tech_line: A类传感
|
||
summary: 按 A 类传感路线匹配主机 + 网关组合,适合监测类诉求。
|
||
confidence: 0.82
|
||
|
||
- id: prefer_b_line
|
||
order: 20
|
||
description: 明确倾向 B 类或控制/产线
|
||
when_all:
|
||
- type: slot_contains
|
||
slot: tech_category
|
||
value: B
|
||
then:
|
||
product_bundle: ["XJ-B200", "XJ-B-IO"]
|
||
tech_line: B类控制
|
||
summary: 按 B 类控制路线匹配控制器 + IO 扩展,适合产线联动。
|
||
confidence: 0.8
|
||
|
||
- id: scenario_production
|
||
order: 30
|
||
description: 未指定大类但场景像产线 → 偏 B
|
||
when_all:
|
||
- type: slot_contains
|
||
slot: scenario
|
||
value: 产线
|
||
then:
|
||
product_bundle: ["XJ-B200", "XJ-B-IO"]
|
||
tech_line: B类控制(场景推断)
|
||
summary: 根据产线场景初步偏向 B 类控制方案,建议人工确认指标后锁定型号。
|
||
confidence: 0.68
|
||
|
||
- id: scenario_outdoor
|
||
order: 40
|
||
description: 户外监测 → 偏 A
|
||
when_all:
|
||
- type: slot_contains
|
||
slot: scenario
|
||
value: 户外
|
||
then:
|
||
product_bundle: ["XJ-A100", "XJ-A-GW"]
|
||
tech_line: A类传感(场景推断)
|
||
summary: 根据户外监测场景初步偏向 A 类传感方案,需确认防护与供电约束。
|
||
confidence: 0.66
|
||
|
||
- id: fallback_uncertain
|
||
order: 1000
|
||
description: 兜底:信息不足或不确定
|
||
when_all:
|
||
- type: always
|
||
then:
|
||
product_bundle: ["待专家确认"]
|
||
tech_line: 待判定
|
||
summary: 当前信息尚不足以稳定定型,建议补充指标或转人工销售确认。
|
||
confidence: 0.4
|
||
handoff: true
|
||
|
||
# 低于该置信度则建议转人工
|
||
handoff_confidence_below: 0.55
|