Glossary

What is Few-shot prompting?

Definition. Few-shot prompting is a technique in which a prompt includes a small number of worked examples of the task so that a language model can follow the same pattern for new inputs.

Few-shot prompting in practice

It is a quick way to improve consistency of format and tone without fine-tuning. The examples should be representative and kept under version control, because changing them changes behaviour in the same way as changing code.

Where iFortis Worldwide applies it

See Generative AI Development Services and LLM Apps for how this is used in client work.

Related terms

  • Prompt engineering: Prompt engineering is the practice of writing and testing the instructions given to an AI model so it produces the required result reliably.
  • Fine-tuning: Fine-tuning is the further training of an existing AI model on a smaller, specific data set so it performs better on a particular task.
  • Golden dataset: A golden dataset is a curated set of representative inputs with agreed correct outputs, used as the reference for testing and comparing AI models, prompts and agents over time.

All glossary terms

Want these ideas applied to your business?

Start with a focused opportunity assessment. We find where AI creates measurable advantage and what it takes to get there.

Contact us Submit an RFQ