Asking a language model to do a task with a few worked examples of that task in the prompt. The examples show the model the expected answer and its format. The model is not trained again.
A prompt asks a model to label emails. Before the new email, the prompt shows three emails with their correct labels: “address change”, “payroll update” and “coverage change”. The model then labels the new email in the same way.