QUESTION 2 OF 10

When should you use few-shot examples?

Reveal the answer and explore the explanation.

02
EasyCore

When should you use few-shot examples?

Answer
Answer

Includes a small set of example inputs and outputs in the prompt.

Practical example

Show three desired formatting examples before a new request.

Reference: Further reading ↗

Last 30 min revisionHigh-yield interview Q&As