Few-shot prompting

A method of prompting where you supply some examples of inputs and the answers you expect from the model.

Also called

  • In-context learning
  • Few-shot learning

Kind of

  • Prompt Text or data given to an AI system, usually by a user and often as an instruction, that is only part of the context the system sees when it answers.

Often confused with

  • In-context use Supplying company-specific data to a model in the prompt so that it can provide a more relevant response, without changing the model.

← All terms