MicrolearnENPTES

Learning from examples

Lesson 6 of 20 · AI.Micro

Show two or three examples and the model copies the pattern: format, labels and style.

Classify this review: «The latte was cold and the staff ignored us.»

This review expresses a rather negative experience, mainl

Asked to classify a review with no example, the model answers in a full sentence with its own label. Fine for a person, useless for a spreadsheet that expects one word.

Check yourself

What is few-shot prompting?

Do it in the browser: a real generative AI tool, a short mission and instant feedback. No install.

Start this lesson — free
← Clear instructionsStructured output →

All lessons · AI.Micro