What are few-shot and zero-shot? Show examples rather than explain.

Bonbay Updated on 15 November 2026 2 min read

In practice in a business

To have product descriptions written in your house style, the instruction includes three descriptions already published, followed by the new product’s features. To sort incoming emails, it gives one example per category. These examples are stored in a shared prompt template, so the whole team gets the same result.

Not to be confused with

Few-shot is not fine-tuning. The examples in the prompt only apply for the duration of the request and change nothing in the model, whereas fine-tuning modifies it permanently using hundreds or thousands of examples. One-shot refers to the case of a single example.

Bonbay. Updated on 15 November 2026.

Your questions.

Does few-shot always work better?

No. For a simple, common task, a clear instruction with no example is enough. Examples help mostly when the expected format is precise or specific to your business.

Do examples use up tokens?

Yes, they are re-read with every request and count towards both the bill and the context window. Three short examples are better than ten long ones.

Do you need real documents as examples?

Real documents give the best results, provided you remove personal and confidential data before sending them to an online tool.