01 / DECIDE
架構決策
適合錄音搜尋、字幕、會議筆記與 voice interface,且原始 audio 仍是權威來源。
把 transcription 當成 media-processing job,包含 upload validation、language context、segmentation、speaker policy 與 correction workflow。 先把 input、output、state 與 side effect 畫成一條可觀察路徑,再決定 以 timestamp 與 uncertainty 建立 transcription 要放在哪一層。
02 / BUILD
三步實作
- 01
框定合約
先寫下 caller、資料分類、成功條件、timeout、取消與 ownership。適合錄音搜尋、字幕、會議筆記與 voice interface,且原始 audio 仍是權威來源。
- 02
建立單一路徑
只實作一條 end-to-end path,保留 request correlation、typed state 與可逆 failure handling。把 transcription 當成 media-processing job,包含 upload validation、language context、segmentation、speaker policy 與 correction workflow。
- 03
證明結果
把驗收寫成可重跑的 fixture、contract test 或 browser test。Fixture 衡量 word error、timestamp drift、named entity、silence、overlap、accent 與 corrupted media。
03 / BOUND
Production 邊界
取得錄音同意、縮短 retention;用於法律、醫療或懲處前必須人工 review。
04 / PROVE
驗收證據
Fixture 衡量 word error、timestamp drift、named entity、silence、overlap、accent 與 corrupted media。
SOURCE / HTTP
可重現來源探針
curl -fsSI 'https://developers.openai.com/cookbook/examples/speech_transcription_methods' | sed -n '1,5p'