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.
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.
線性的 LangChain chain 適合簡單流程,但當 Agent 需要迴圈、分支、跨步驟記住上下文或等待人工審核時就顯得脆弱。整理 LangGraph 的節點、邊與共享狀態如何解決這些問題,以及什麼時候仍該選 LangChain。
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.
專案裡已經有現成的 LLM 解析流程,新增一種對帳單時我卻刻意不用它,一百多份文件全部解析成功。從 AI 應用工程的角度,整理什麼時候不用 LLM、如何防範 LLM 輸出的風險,以及 Guardrail 與 Eval 怎麼落地。
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.
磁碟空間不足,我們常以為是「資料太多」。但這次 Langfuse 的資料只有 10MB,ClickHouse 卻吃掉 9.5GB 的診斷紀錄,最後讓整台 Mac 當機。
How Netflix's Runway, presented at OpML '20, manages thousands of ML models: data lineage, deployment validation and async architecture across the lifecycle.
從 Netflix 在 OpML 分享的 Runway 系統,理解資料血緣(Data Lineage)、發布驗證(Deployment Validation)與非同步架構(Asynchronous Architecture),如何支撐數千個模型的生命週期管理。
How Privacy by Design principles (transparency, privacy by default, end-to-end security and user-centric design) shape whether users trust a product.
從隱私設計(Privacy by Design, PbD)出發,延伸到產品設計、使用者體驗設計與人機互動,探討透明度、預設隱私、端到端安全與以使用者為中心,如何共同影響一個產品是否值得信任。
從 Don Norman 六大互動設計原則出發,延伸到 AI Product、AI UX Design 與 Human-AI Interaction,探討 Transparency、Uncertainty、Feedback Loop 與 Trust 如何影響 AI 產品的使用者體驗。
從 Google Design 的 Human-Centered Machine Learning,理解 AI Product 如何回到使用者任務、情境、錯誤設計與信任建立為核心。
Monitoring 只是開始,Maintenance 才是 AI Product 長期成功的關鍵。整理模型部署後的維護策略:Retraining、Updating、Retraining Threshold、模型稽核、安全部署與版本管理。
模型部署並不是終點,而是另一個生命週期的開始。從 AI Product 與 MLOps 的角度,整理一套完整的 Machine Learning Lifecycle。
模型部署後的監控比訓練更重要。整理資料漂移、概念漂移、群體偏差與 SHAP/LIME 可解釋性等監控重點,以及如何設計自動化檢查與警報機制,讓 AI 持續支撐商業目標。
從線性模型、決策樹到 CNN 與 NLP,拆解模型如何透過前向傳播、損失函數與反向傳播「學習」,讓 PM 在產品初期就能預判技術難度與數據需求,並在模型性能與可解釋性之間做出權衡。
從 CRISP-DM 建模流程出發,整理監督式、非監督式與強化學習的選型要點,並延伸到 Bias-Variance 權衡、遷移學習與聯邦學習(Federated Learning)的落地考量。
從資料收集、模型訓練到部署、監控與持續再訓練,深入理解 AI Production ML 系統的完整生命週期。
In 2025, enterprise AI has evolved beyond simple Q&A. Companies no longer want AI that just answers questions — they want AI that can…
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.
在資料驅動的公司裡,我們常常以為最大的挑戰是「沒有資料」。 但對 Spotify 來說,真正的痛點卻是:資料很多,卻找不到、也用不好。
釐清結果指標與輸出指標,透過 F1-Score、AUROC 與召回率精準評估分類任務成效
理解反向傳播與損失函數,善用混淆矩陣應對數據不平衡、過擬合與欠擬合挑戰
10 Usability Heuristics You Need to Know x ㄧ枝莉莉
Android 實作:在 attrs 宣告字級、用 Style 設定三組 Theme,再透過 SharedPreferences 記住使用者的選擇,一次切換全部頁面的字體大小(普通/大/特大)。
簡單介紹回歸測試 Regression Testing 應用在何時?為什麼重要?
如何使用 Docker 架設 GitLab CI Runner 跑自動化部署?
Clubhouse聲音社交平台為什麼爆紅的3個觀察 Why Clubhouse is suddenly so popular ? 3 observations of Clubhouse
讓我們繼續練習吧~有關諾貝爾獎得獎者表格的SQL查詢。
此章接續 SELECT basics I。相比前章節,題目更靈活。
SQLZOO是個在線學習 SQL的網站,有提供中文版。內文主要為解答整理/學習歷程。