IniziaInizia gratis

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.

Questo esercizio fa parte del corso

Prompt Engineering with the OpenAI API

Visualizza il corso

Esercizio pratico interattivo

Passa dalla teoria alla pratica con uno dei nostri esercizi interattivi

Inizia esercizio