食品安全合規告警
AI → HumanIoT 感測器監控儲存條件,AI 標記違規項目並告警廚房管理員。
5 個節點 · 5 條連接food-service
eventagenthumansystem
視覺化
IoT 感測器資料串流event
來自冰箱與儲藏室的溫度、濕度與開門事件。
↓sequential→ AI 合規檢查
AI 合規檢查agent
對照 HACCP 閾值與時溫濫用限制比較讀值。
↓conditional→ 違規分類
↓timeout→ 廚房管理員告警
違規分類system
嚴重(立即丟棄)、主要(採取糾正行動)、次要(僅記錄)。
↓sequential→ 廚房管理員告警
廚房管理員告警api
即時推播通知,附帶受影響設備、讀值與超標時間。
↓sequential→ 糾正行動
糾正行動human
管理員檢查食品,必要時丟棄,並重新校準設備。
uc-food-safety-alert.osop.yaml
osop_version: "1.0"
id: "food-safety-alert"
name:"食品安全合規告警"
description:"IoT 感測器監控儲存條件,AI 標記違規項目並告警廚房管理員。"
nodes:
- id: "sensor_data"
type: "event"
name: "IoT 感測器資料串流"
description: "來自冰箱與儲藏室的溫度、濕度與開門事件。"
- id: "compliance_check"
type: "agent"
subtype: "llm"
name: "AI 合規檢查"
description: "對照 HACCP 閾值與時溫濫用限制比較讀值。"
security:
risk_level: "high"
- id: "violation_classify"
type: "system"
name: "違規分類"
description: "嚴重(立即丟棄)、主要(採取糾正行動)、次要(僅記錄)。"
- id: "kitchen_alert"
type: "api"
name: "廚房管理員告警"
description: "即時推播通知,附帶受影響設備、讀值與超標時間。"
- id: "corrective_action"
type: "human"
subtype: "review"
name: "糾正行動"
description: "管理員檢查食品,必要時丟棄,並重新校準設備。"
security:
approval_gate: true
edges:
- from: "sensor_data"
to: "compliance_check"
mode: "sequential"
- from: "compliance_check"
to: "violation_classify"
mode: "conditional"
when: "violation.detected == true"
- from: "violation_classify"
to: "kitchen_alert"
mode: "sequential"
- from: "kitchen_alert"
to: "corrective_action"
mode: "sequential"
- from: "compliance_check"
to: "kitchen_alert"
mode: "timeout"
timeout_sec: 10
label: "Bypass if critical temperature breach"