庫存低量告警

AI → Human

AI 監控庫存水位、預測需求,並告警採購管理員。

5 個節點 · 4 條連接retail
eventagenthumandb
視覺化
庫存水位監控event

來自倉庫管理系統的即時庫存水位資料串流。

sequentialAI 需求預測
AI 需求預測agent

使用銷售歷史、季節性與趨勢預測需求。

conditional低庫存告警
低庫存告警api

透過電子郵件與儀表板通知採購團隊。

sequential採購管理員審查
採購管理員審查human

審查 AI 建議、調整採購數量並選擇供應商。

conditional建立採購訂單
建立採購訂單db

在 ERP 系統中以核准數量產生採購訂單。

uc-inventory-alert.osop.yaml
osop_version: "1.0"
id: "inventory-alert"
name:"庫存低量告警"
description:"AI 監控庫存水位、預測需求,並告警採購管理員。"

nodes:
  - id: "inventory_monitor"
    type: "event"
    name: "庫存水位監控"
    description: "來自倉庫管理系統的即時庫存水位資料串流。"

  - id: "demand_predict"
    type: "agent"
    subtype: "llm"
    name: "AI 需求預測"
    description: "使用銷售歷史、季節性與趨勢預測需求。"

  - id: "low_stock_alert"
    type: "api"
    name: "低庫存告警"
    description: "透過電子郵件與儀表板通知採購團隊。"

  - id: "manager_review"
    type: "human"
    subtype: "review"
    name: "採購管理員審查"
    description: "審查 AI 建議、調整採購數量並選擇供應商。"
    security:
      approval_gate: true

  - id: "create_po"
    type: "db"
    name: "建立採購訂單"
    description: "在 ERP 系統中以核准數量產生採購訂單。"

edges:
  - from: "inventory_monitor"
    to: "demand_predict"
    mode: "sequential"
  - from: "demand_predict"
    to: "low_stock_alert"
    mode: "conditional"
    when: "predicted_stock_days < 7"
  - from: "low_stock_alert"
    to: "manager_review"
    mode: "sequential"
  - from: "manager_review"
    to: "create_po"
    mode: "conditional"
    when: "review.approved == true"