Few-shot Prompt

On this page

A few-shot prompt includes two or more worked input-output examples inside the prompt itself, giving the model a concrete behavioral template to follow rather than relying solely on verbal instructions.

Why examples consistently outperform instructions in proposal work

Language models are trained to predict patterns, not to follow rules. Telling a model to "write a project approach in an active voice, 150 words, focused on the client's drainage problem" produces inconsistent output because those instructions are interpreted differently across runs. Showing the model two or three prior project approaches that match those parameters narrows the output distribution toward what you actually want. The non-obvious implication: a few-shot prompt built from your firm's real SF-330 Section F narratives or shortlist-winning project descriptions does more formatting work than any style guide you can write out in plain language. Your existing proposal archive is, in effect, a prompt engineering asset most teams don't treat that way.

Where few-shot prompting fits in an active pursuit

The highest-value moments for few-shot prompts are the ones where format and tone matter as much as content: win themes, project approach paragraphs, cover letter openings, and personnel qualification summaries. A typical two-week RFP response cycle doesn't leave room for repeated iteration on a blank-page output; a few-shot prompt front-loads that calibration before the first draft appears. The practical constraint is construction: you need to locate two or three genuinely relevant examples, confirm they're accurate, and structure them so the model reads them as templates rather than source material to paraphrase. That retrieval step is where most teams lose the time the technique would otherwise save on review cycles.

The common mistake: using generic examples instead of verified ones

A few-shot prompt is only as good as the examples inside it. Using placeholder narratives, competitor boilerplate pulled from public submittals, or outdated project descriptions creates a precise-looking output that carries the wrong substance, which is a version of hallucination that's harder to catch because the format looks correct. In pursuit contexts, a wrong project scope or a misattributed client name in a Section E narrative can survive internal review and reach the owner. Kantiv surfaces verified project data, past proposal content, and personnel history so that the examples you use in a few-shot prompt are drawn from your firm's actual institutional record, not from whatever a writer remembered or a search returned. The difference between a few-shot prompt built on verified context and one built on approximation is the difference between a first draft that tightens on redlines and one that gets rebuilt from scratch.

Related terms