Few-Shot Prompting (FewShot)

Giving an AI a few worked examples in your message so it can infer the pattern and apply it to a new input.

Technically: A prompting technique where a few labeled input-output examples are placed before the actual query, letting the model infer the task format and decision criteria via in-context learning, with no weight updates. How the examples are chosen (random, similarity-retrieved, or hand-curated) noticeably affects results. It sits between zero-shot and fine-tuning in effort.

Category: Prompting & Inference

Related ideas