Stage 2 · Teens · Foundations

Prompting Basics

System prompts, few-shot examples, and how instructions shape output.

Since a model just continues text, how you phrase your input dramatically shapes the output. This is the essence of prompting.

A system prompt sets persistent instructions/context ("You are a helpful assistant that only answers in French"). The user prompt is the actual request. Some prompts include few-shot examples — demonstrations of the desired input/output pattern — before asking the real question.

What Actually Goes in a Prompt
Persistent instructions for the whole conversation — not the user's question.

Click each layer of a real prompt. The model just continues this whole stack.

All lessons in Stage 2: How AI works