A prompt with one example that shows the AI how to do a task.
It is like showing a new cashier one receipt. The next receipt looks less like a wild guess.
One example shows the format and tone. You may use it for sorting, pulling out facts, or rewriting text.
Few-Shot Learning
One-shot Prompting is Few-Shot Learning with one example.
Zero-shot Learning
One-shot Prompting gives one example. Zero-shot Learning gives none.
In-Context Learning
It puts an example in the current prompt. The AI copies its pattern.
Prompt-engineering
It uses an example to make the task and format clear.