跳至內容

免費試看

Anatomy of a prompt

實用提示詞工程 · 40 分鐘

影片

本課內容

本節《Anatomy of a prompt》屬於《實用提示詞工程》。請按順序學習,因為每一步都建立在上一步之上。

A prompt library decays the moment models change. Structure does not. This course teaches the components that survive model updates: role, constraints, examples, output contracts and evaluation loops.

  1. 先看一遍或讀一遍: 先不做筆記,把材料過一遍。重點是看清它最終要交付什麼:Write prompts with explicit output contracts
  2. 用到你自己的事情上: 打開你的專案,做同樣的動作。小而完成,勝過宏大而空想。
  3. 把結果保存下來: 把產出放到下次還能找到的地方:作品集資料夾、客戶草稿,或範本。

概述: Write prompts with explicit output contracts · Use few-shot examples without bloating context · Build evaluation loops that catch regressions · Turn prompts into reusable templates