Get startedGet started for free

Zero-shot, one-shot, and few-shot prompting

Learning from examples is necessary to improve the performance of a language model on a given task. According to the number of examples (question-answer pairs) provided in the prompt, you differentiate between zero-shot, one-shot, and few-shot prompts. In this exercise, you will be given a set of prompts and your job is to classify them between the three categories.

This exercise is part of the course

Prompt Engineering with the OpenAI API

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise