Output을 audit 가능하게
High-stakes output (compliance, finance, support, user 영향 결정)에는 사후에 response의 모든 claim을 source — chunk, tool 결과, reasoning trace의 step — 로 trace 가능해야 해. 그 trace 없으면 wrong 답 디버그 못 하고 right 답 defend 못 해.
3단계 traceability
- Provenance field — 모든 output object에
sources(chunk id, tool call id) 포함. - Native citation — Anthropic Citations feature가 output span → input span return.
- Trace log — 전체 request, prompt version, model version, retrieved chunk, tool call, response. Response id 가지고 persist.
이게 prompt design 우려인 이유
Traceability bolt-on 못 해. 프롬프트가 output schema에 source require해야, chunk가 stable id 가져야, tool이 structured argument와 result log해야. 일찍 build in해; retrofit 비싸.