Skip to content
Learn AI by building
← World of AI

Generative AI

N-Shot Learning

Teaching a task inside the prompt with a handful of examples — zero, one or few.

Zero-shot gives only an instruction, one-shot adds a single example, few-shot adds several. The model infers the pattern from context without any weight update.

Example choice, ordering and formatting all measurably change results, which is why prompts belong in version control and should be tested like any other code path.

Also in Generative AI

JOIN NOW

Begin the first module

It is free, it is the real curriculum, and if it is not for you, you have lost nothing but an evening.

Join any time · Build AI skills at your pace