AI04 · AI 工程實作

AI 系列最肥、最工程的一章。從 API call 到 production 服務的完整堆疊:API 整合、RAG、後端整合、AI Gateway、LLM Observability、Evaluation、App-level Security。

詳細規劃見 ROADMAP.md

章節目標

  • 寫第一支 LLM API 程式
  • 建 RAG pipeline 到 production-grade
  • 導入 AI Gateway 抽象層
  • 建立 Eval framework
  • 做 LLM Observability
  • 防 prompt injection(app 層)

對照 repo

ai-examples/(待建)8 個子目錄,每個對應本章一個 section。

跟其他章 / 系列的分工

  • AI02 Prompt / AI03 技術原理 / AI05 Agent
  • backend/ B20(後端工程師視角)
  • infra/ I06 F06-F(infra 層 AI Gateway 守門)
  • infra/ I05 30(Grafana / APM)