AI and LLMs · Junior · Question 11 of 75

What is few-shot prompting?

Show the answer

Correct answer: Including a few examples of input and desired output in the prompt

Explanation

Examples show format and style better than descriptions. They should be varied, so the model doesn't copy one example too literally.

Further reading

Problem with a question

AI and LLMs · Junior · question 11

Test yourself

Take the AI and LLMs · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz