One-shot prompting is a technique where exactly one example is provided to demonstrate the desired task or output format before asking the model to perform the same task on new input.
It sits between zero-shot (no examples) and few-shot (multiple examples), offering a balance between context efficiency and task clarity.