Gen AI Leader Techniques to improve gen AI model output MEDIUM
PRODUCTION SCENARIO
A support prompt must sort tickets into three categories. Its eight few-shot examples still include two categories that were retired last quarter, and the model keeps returning those two.

What should the team fix first?

Answering here is anonymous. Nothing is saved unless you sign in.

Show answer and explanation

Answer: Relabel the example tickets to use the three current categories

Google's prompt health checklist says to audit a prompt for contradictions between an instruction and an example. Few-shot examples teach the output pattern, so examples carrying retired categories teach the wrong taxonomy. A recap restates the instruction while the conflicting examples stay, eight more correct examples leave the wrong ones in place, and a lower temperature only makes the model follow those examples more consistently.
Free

Keep practicing Gen AI Leader

60 original Gen AI Leader practice questions, each with an explanation and a source link. No account needed.

Start free practice set → Timed, explained, free