Designing prompts · Question 3 of 12

What is few-shot prompting?

1 answer is correct. Easy Created with AI

Show answer

Answer

  • A Showing the model a few input and output examples in the prompt

Explanation

In few-shot prompting, the prompt contains examples from which the model can infer format and style. This improves accuracy for tasks such as classification or extraction without retraining the model. Without examples, it is called zero-shot.

Certifications & exams

Which exam comes next?

You can already practise for 51 exams, and 16 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications