Blog

2026-11-16

LangGraph vs LangChain: From Chains to Graphs — Why Real Agent Workflows Need State and Structure

Why linear LangChain chains get brittle once agents loop, branch or pause for humans, and how LangGraph's nodes, edges and shared state fix it.

LangGraphLangChainAI AgentsLLMAI Engineering
2026-11-16

LangGraph vs LangChain:從 Chain 到 Graph,為什麼真正的 Agent 工作流需要狀態與結構?

線性的 LangChain chain 適合簡單流程,但當 Agent 需要迴圈、分支、跨步驟記住上下文或等待人工審核時就顯得脆弱。整理 LangGraph 的節點、邊與共享狀態如何解決這些問題,以及什麼時候仍該選 LangChain。

LangGraphLangChainAI AgentsLLMAI Engineering
2026-10-27

LLM or Rule-Based? Choosing a Document Parsing Approach, Guardrails, and Eval Design for AI Applications

Why I skipped my existing LLM pipeline and parsed 100+ PDF statements with rules: when not to use an LLM, and how to apply Guardrails and Eval in practice.

LLMAI EngineeringGuardrailEvalPDF Parsing
2026-10-27

LLM 還是規則式?AI 應用的文件解析選型、Guardrail 與 Eval 設計

專案裡已經有現成的 LLM 解析流程,新增一種對帳單時我卻刻意不用它,一百多份文件全部解析成功。從 AI 應用工程的角度,整理什麼時候不用 LLM、如何防範 LLM 輸出的風險,以及 Guardrail 與 Eval 怎麼落地。

LLMAI EngineeringGuardrailEvalPDF Parsing
2026-10-23

How Self-Hosted Langfuse Froze My Mac: ClickHouse System Logs, the Hidden Disk Killer

When a disk fills up, we usually assume it is the data. But my Langfuse data was only 10MB — ClickHouse ate 9.5GB of diagnostic records and froze my whole Mac.

LangfuseClickHouseDockerSelf-hostingDevOps
2026-10-23

自架 Langfuse 塞爆整台 Mac:ClickHouse System Log 的隱形空間殺手

磁碟空間不足,我們常以為是「資料太多」。但這次 Langfuse 的資料只有 10MB,ClickHouse 卻吃掉 9.5GB 的診斷紀錄,最後讓整台 Mac 當機。

LangfuseClickHouseDockerSelf-hostingDevOps
2026-09-09

From Chaos to Order: How Netflix Manages Thousands of ML Models with Runway — A Deep Dive into MLOps Model Management

How Netflix's Runway, presented at OpML '20, manages thousands of ML models: data lineage, deployment validation and async architecture across the lifecycle.

Artificial IntelligenceNetflixMachine LearningMLOpsAI Infrastructure
2026-09-02

從混亂到秩序:Netflix 如何用 Runway 管理數千個機器學習模型?深入解析 MLOps 模型管理

從 Netflix 在 OpML 分享的 Runway 系統,理解資料血緣(Data Lineage)、發布驗證(Deployment Validation)與非同步架構(Asynchronous Architecture),如何支撐數千個模型的生命週期管理。

Machine LearningNetflixArtificial IntelligenceMLOpsAI Infrastructure
2026-08-26

6 Principles of Privacy by Design | Understanding the Underlying Logic of Product Trust

How Privacy by Design principles (transparency, privacy by default, end-to-end security and user-centric design) shape whether users trust a product.

AI Product ManagementProduct ManagementPrivacy by DesignUX DesignData Privacy
2026-08-19

隱私設計的六大原則|從 Privacy by Design 看見產品信任的底層邏輯

從隱私設計(Privacy by Design, PbD)出發,延伸到產品設計、使用者體驗設計與人機互動,探討透明度、預設隱私、端到端安全與以使用者為中心,如何共同影響一個產品是否值得信任。

Data PrivacyAI Product ManagementUX DesignProduct ManagementPrivacy by Design
2026-08-12

Duke AI PM 學習筆記(九):AI Product UX Design|從 Don Norman 六大互動設計原則,打造值得信任的 AI 使用者體驗

從 Don Norman 六大互動設計原則出發,延伸到 AI Product、AI UX Design 與 Human-AI Interaction,探討 Transparency、Uncertainty、Feedback Loop 與 Trust 如何影響 AI 產品的使用者體驗。

Product ManagementUX ResearchUX DesignUser ExperienceInteraction Design
2026-08-05

Duke AI PM 學習筆記 (八):以人為中心的 ML 機器學習,讓 AI 回到使用者身上

從 Google Design 的 Human-Centered Machine Learning,理解 AI Product 如何回到使用者任務、情境、錯誤設計與信任建立為核心。

Google DesignHuman Centered DesignProduct ManagementArtificial IntelligenceMachine Learning
2026-07-29

Duke AI PM 學習筆記 (七):從模型監控到模型維護:建立能持續演進的 AI Product

Monitoring 只是開始,Maintenance 才是 AI Product 長期成功的關鍵。整理模型部署後的維護策略:Retraining、Updating、Retraining Threshold、模型稽核、安全部署與版本管理。

Model MonitoringMachine LearningMLOpsML Model DeploymentArtificial Intelligence
2026-07-22

Duke AI PM 學習筆記(六):AI 模型不是部署就結束,建立可持續演進的 Machine Learning Lifecycle

模型部署並不是終點,而是另一個生命週期的開始。從 AI Product 與 MLOps 的角度,整理一套完整的 Machine Learning Lifecycle。

MLOpsMachine LearningML LifecycleProduct ManagementArtificial Intelligence
2026-07-15

Duke AI PM 學習筆記 (五):從模型監控到概念漂移,打造能長期創造價值的 AI 產品

模型部署後的監控比訓練更重要。整理資料漂移、概念漂移、群體偏差與 SHAP/LIME 可解釋性等監控重點,以及如何設計自動化檢查與警報機制,讓 AI 持續支撐商業目標。

Data DriftProduct ManagementModel MonitoringMachine LearningMLOps
2026-07-08

Duke AI PM 學習筆記 (四):從決策樹到 Transformer,拆解演算法地圖與訓練機制

從線性模型、決策樹到 CNN 與 NLP,拆解模型如何透過前向傳播、損失函數與反向傳播「學習」,讓 PM 在產品初期就能預判技術難度與數據需求,並在模型性能與可解釋性之間做出權衡。

Machine LearningArtificial IntelligenceProduct ManagementData ScienceDeep Learning
2026-07-01

Duke AI PM 學習筆記 (三):從建模流程到演算法選型,構建 AI 產品的技術底座

從 CRISP-DM 建模流程出發,整理監督式、非監督式與強化學習的選型要點,並延伸到 Bias-Variance 權衡、遷移學習與聯邦學習(Federated Learning)的落地考量。

Artificial IntelligenceMachine LearningProduct ManagementFederated LearningDeep Learning
2026-06-26

訓練模型只是開始:完整解析 Machine Learning Lifecycle

從資料收集、模型訓練到部署、監控與持續再訓練,深入理解 AI Production ML 系統的完整生命週期。

Machine LearningMlopsArtificial IntelligenceAi Product ManagementProduct Management
2026-06-16

What Is Agentic RAG? How Next-Generation AI Evolves from Q&A to Task Execution

In 2025, enterprise AI has evolved beyond simple Q&A. Companies no longer want AI that just answers questions — they want AI that can…

Agentic RagAI AgentRagsProduct ManagementKnowledge Management
2026-06-15

How Spotify Made Data Discovery a Great Product (PM Perspective)

Spotify had plenty of data, but no one could find it. A PM breakdown of how Lexikon turned data discovery into a product, with lessons for AI agents and RAG.

Product ManagementData DiscoveryKnowledge ManagementAI AgentAgentic Rag
2026-06-14

Spotify Lexikon 案例:從產品管理視角拆解 Data Discovery 的設計思維

在資料驅動的公司裡,我們常常以為最大的挑戰是「沒有資料」。 但對 Spotify 來說,真正的痛點卻是:資料很多,卻找不到、也用不好。

AI AgentRagsProduct ManagementData DiscoveryKnowledge Management
2026-06-10

Duke AI PM 學習筆記 (二):從成效衡量到醫療案例,如何定義 AI 產品的成功指標

釐清結果指標與輸出指標,透過 F1-Score、AUROC 與召回率精準評估分類任務成效

Machine LearningAIProduct ManagementAi Product ManagementModel Evaluation
2026-02-06

Duke AI PM 學習筆記 (一):從神經網路到架構選型,AI 產品經理的深度學習指南

理解反向傳播與損失函數,善用混淆矩陣應對數據不平衡、過擬合與欠擬合挑戰

Artificial IntelligenceAi Product ManagementProduct ManagementMachine LearningDeep Learning
2023-11-05

十大易用性原則 10 Usability Heuristics

10 Usability Heuristics You Need to Know x ㄧ枝莉莉

Usability Heuristics10 Usability HeuristicsUser ExperienceProduct DesignProduct Experience
2021-10-18

透過SharedPreferences管理全部頁面的字體大小

Android 實作:在 attrs 宣告字級、用 Style 設定三組 Theme,再透過 SharedPreferences 記住使用者的選擇,一次切換全部頁面的字體大小(普通/大/特大)。

AndroidAndroid App DevelopmentSharedpreferencesApp DevelopmentAndroidDev
2021-03-09

Regression Testing 回歸測試是什麼?

簡單介紹回歸測試 Regression Testing 應用在何時?為什麼重要?

Regression TestingSoftware TestingTestTestingIntroduction
2021-03-09

How to run GitLab CI Runner in Docker container?

如何使用 Docker 架設 GitLab CI Runner 跑自動化部署?

DockerGitlabGitlab CiGitlab Ci DockerGitlab Runner
2021-03-08

為什麼Clubhouse爆紅?從3個觀察來看Clubhouse聲音社交平台

Clubhouse聲音社交平台為什麼爆紅的3個觀察 Why Clubhouse is suddenly so popular ? 3 observations of Clubhouse

ClubhouseClubhouse AppProduct AnalyticsTrendingObservation
2019-09-05

SQLZOO Notes III - SELECT from Nobel Tutorial

讓我們繼續練習吧~有關諾貝爾獎得獎者表格的SQL查詢。

ScienceSqlSqlzooNotesNotebook
2019-09-02

SQLZOO Notes II - SELECT from WORLD Tutorial

此章接續 SELECT basics I。相比前章節,題目更靈活。

SqlSqlzooScienceNotesNotebook
2019-08-26

SQLZOO I - SELECT basics

SQLZOO是個在線學習 SQL的網站,有提供中文版。內文主要為解答整理/學習歷程。

SqlSqlzooScienceNotesNotebook