{
 "什麼是 Linux AI 助理與整體架構#2": {
  "type": "cards",
  "cards": [
   {
    "title": "自然語言輸入",
    "points": [
     "不用背指令與參數"
    ]
   },
   {
    "title": "LLM 負責想",
    "points": [
     "理解意圖、決定步驟",
     "整理結論"
    ]
   },
   {
    "title": "程式負責做",
    "points": [
     "受控的 Python 工具",
     "只做白名單內的事"
    ]
   }
  ],
  "reveal": [
   0,
   1,
   2,
   3,
   3
  ]
 },
 "什麼是 Linux AI 助理與整體架構#3": {
  "type": "flow",
  "nodes": [
   {
    "label": "使用者介面",
    "color": 0
   },
   {
    "label": "助理核心 agent",
    "color": 1
   },
   {
    "label": "LLM 層",
    "color": 2
   },
   {
    "label": "提示詞層",
    "color": 3
   },
   {
    "label": "工具層",
    "color": 0
   },
   {
    "label": "審計層",
    "color": 1
   },
   {
    "label": "Linux 主機",
    "kind": "end",
    "color": 2
   }
  ],
  "layout": "snake",
  "reveal": [
   0,
   7,
   7,
   7
  ]
 },
 "什麼是 Linux AI 助理與整體架構#4": {
  "type": "flow",
  "nodes": [
   {
    "label": "使用者提問",
    "sub": "磁碟快滿了嗎?",
    "color": 0
   },
   {
    "label": "送給 LLM",
    "sub": "含工具清單",
    "color": 1
   },
   {
    "label": "要求呼叫工具",
    "sub": "查詢磁碟用量",
    "color": 2
   },
   {
    "label": "白名單檢查",
    "sub": "工具與參數",
    "color": 3
   },
   {
    "label": "執行工具",
    "sub": "取得 JSON",
    "color": 0
   },
   {
    "label": "結果回 LLM",
    "sub": "整理成一句話",
    "color": 1
   },
   {
    "label": "顯示並審計",
    "sub": "寫入紀錄",
    "kind": "end",
    "color": 2
   }
  ],
  "layout": "snake",
  "reveal": [
   0,
   7,
   7,
   7
  ]
 },
 "什麼是 Linux AI 助理與整體架構#5": {
  "type": "table",
  "head": [
   "章節",
   "助理能力"
  ],
  "rows": [
   [
    "第六章",
    "系統監控"
   ],
   [
    "第七章",
    "服務檢查"
   ],
   [
    "第八章",
    "日誌分析"
   ],
   [
    "第九章",
    "知識庫檢索 RAG"
   ],
   [
    "第十章",
    "Agent 任務與授權"
   ],
   [
    "第十一章",
    "Docker 管理"
   ],
   [
    "第十二章",
    "資安檢查"
   ]
  ],
  "widths": [
   0.3,
   0.7
  ],
  "reveal": [
   0,
   1,
   2,
   4,
   5,
   7
  ]
 },
 "什麼是 Linux AI 助理與整體架構#7": {
  "type": "cards",
  "cards": [
   {
    "title": "想做萬能助理",
    "points": [
     "從唯讀查詢開始",
     "跟著章節加能力"
    ]
   },
   {
    "title": "以為 LLM 連主機",
    "points": [
     "LLM 只是遠端 API",
     "操作都在你的程式裡"
    ]
   },
   {
    "title": "忽略隱私",
    "points": [
     "日誌可能有 IP、帳號、token",
     "第八、十二章教遮罩"
    ]
   }
  ],
  "reveal": [
   0,
   1,
   2,
   3
  ]
 },
 "AI Agent 運作原理:LLM、工具與迴圈#2": {
  "type": "flow",
  "nodes": [
   {
    "label": "目標",
    "sub": "使用者的自然語言需求",
    "color": 0
   },
   {
    "label": "工具",
    "sub": "名稱、說明、參數格式",
    "color": 1
   },
   {
    "label": "迴圈",
    "sub": "想、呼叫、看結果、再想",
    "color": 2
   },
   {
    "label": "AI Agent",
    "sub": "LLM + 工具 + 迴圈",
    "kind": "end",
    "color": 3
   }
  ],
  "layout": "row",
  "reveal": [
   0,
   1,
   2,
   4
  ]
 },
 "AI Agent 運作原理:LLM、工具與迴圈#3": {
  "type": "flow",
  "nodes": [
   {
    "label": "組訊息",
    "sub": "系統提示與問題",
    "color": 0
   },
   {
    "label": "交給 LLM",
    "sub": "附工具清單",
    "color": 1
   },
   {
    "label": "要呼叫工具?",
    "sub": "沒有就直接回答",
    "color": 2
   },
   {
    "label": "檢查白名單",
    "sub": "與參數",
    "color": 3
   },
   {
    "label": "執行工具",
    "sub": "結果加回訊息",
    "color": 0
   },
   {
    "label": "超過步數",
    "sub": "報錯",
    "kind": "end",
    "color": 1
   }
  ],
  "layout": "cycle",
  "reveal": [
   1,
   2,
   3,
   5
  ]
 },
 "AI Agent 運作原理:LLM、工具與迴圈#4": {
  "type": "cards",
  "cards": [
   {
    "title": "單次問答",
    "points": [
     "不呼叫工具",
     "第三章"
    ]
   },
   {
    "title": "Tool Calling",
    "points": [
     "輸出結構化資料",
     "由程式執行",
     "第五章"
    ]
   },
   {
    "title": "多步驟 Agent",
    "points": [
     "自己規劃先後順序",
     "第十章"
    ]
   }
  ],
  "reveal": [
   0,
   1,
   2,
   3
  ]
 },
 "AI Agent 運作原理:LLM、工具與迴圈#5": {
  "type": "table",
  "head": [
   "技術",
   "補的是"
  ],
  "rows": [
   [
    "RAG(檢索增強生成)",
    "環境知識(維運手冊等)"
   ],
   [
    "Tool Calling",
    "即時的主機資料"
   ]
  ],
  "widths": [
   0.4,
   0.6
  ],
  "reveal": [
   0,
   2,
   2
  ]
 },
 "安全設計原則:白名單、最小權限與審計#2": {
  "type": "cards",
  "cards": [
   {
    "title": "白名單",
    "points": [
     "只呼叫註冊過的工具",
     "不用黑名單"
    ]
   },
   {
    "title": "最小權限",
    "points": [
     "專屬低權限使用者",
     "不用 root"
    ]
   },
   {
    "title": "唯讀優先",
    "points": [
     "前九章工具全唯讀",
     "查詢與修改分級"
    ]
   }
  ],
  "reveal": [
   0,
   1,
   2,
   3,
   3
  ]
 },
 "安全設計原則:白名單、最小權限與審計#4": {
  "type": "table",
  "head": [
   "等級",
   "性質",
   "處理"
  ],
  "rows": [
   [
    "L0",
    "唯讀、無敏感資料",
    "直接執行"
   ],
   [
    "L1",
    "唯讀、可能含敏感資料",
    "視需求先遮罩"
   ],
   [
    "L2",
    "改變狀態但可復原",
    "需人工確認"
   ],
   [
    "L3",
    "難以復原",
    "本課不提供"
   ]
  ],
  "widths": [
   0.15,
   0.45,
   0.4
  ],
  "reveal": [
   0,
   1,
   2,
   3,
   4
  ]
 },
 "專案目錄結構與命名約定#2": {
  "type": "table",
  "head": [
   "模組",
   "職責"
  ],
  "rows": [
   [
    "tools",
    "只做查詢,回傳結構化資料"
   ],
   [
    "LLM 模組",
    "只負責跟 API 溝通"
   ],
   [
    "prompts",
    "放所有提示詞"
   ],
   [
    "agent",
    "串起三者、白名單、步數上限、審計"
   ]
  ],
  "widths": [
   0.25,
   0.75
  ],
  "reveal": [
   0,
   1,
   2,
   3,
   4
  ]
 }
}