DFIELDSOLUTIONS

AI and language models

GlossaryFew-shot prompting

Teaching a model a task by putting examples of it inside the prompt — input and desired output pairs — instead of describing the task in words.

Models are pattern-completers, so the shortest way to specify a pattern is to show it. Three examples of 'this review → that reply' teach tone, length and format more reliably than a paragraph of adjectives about them. Zero-shot asks with words; few-shot shows with cases.

The tradeoffs are practical: examples eat context tokens on every call, and a biased example set quietly biases every answer. In production systems the examples are chosen and versioned like code, not pasted in once and forgotten.

Related terms

The bench this belongs to

AI automation

The repetitive half of your week, handed to software that does not get bored. Inbox triage, follow-ups, reporting, data entry between tools that were never meant to talk.

All termsStart a conversationMarkdown version

DField Bt. · Dunakeszi · dezso@dfieldsolutions.com
5.0
“From LinkedIn DM to live site. Two tiny tweaks, then shipped.”Michael J Ringer · Vilya ProtectionFounder · Spain