Few-shot prompting trick: turn examples into a list the system completes

mmitchell_ai · x · 2026-10-24

In her exchange with Chris Albon about a cyclist-recipe prompt, Margot Mitchell shares an actionable technique: to break out of a locked-in example format, structure your examples as a list the system needs to complete rather than full templates to imitate — what she calls one-shot or few-shot prompting.

Related event: Hashimoto Suggests Few-Shot Completion Lists to Avoid Prompt Template Traps(2 posts)→

Original post →

More from coding & agent

coding & agent channel →