Skip to main content

02 · Prompting & Control

How you talk to the model. High ROI — tackle this early. Good prompting technique pays off across every other section.

StepTopicOne-linerStatus
1System promptSetting the model's persona, constraints, and context before the conversation starts🟢
2Prompt engineeringThe craft of writing instructions the model follows reliably🟢
3Few-shot & zero-shotGuiding the model with examples vs. instructions alone🟢
4In-context learning (ICL)How models adapt behavior from examples in the prompt window🔴
5Temperature, Top-p & samplingThe parameters that control randomness and diversity in generation🟢
6Structured output & JSON modeForcing the model to emit valid JSON, XML, or schema-conforming output🟢
7Prompt versioningManaging prompts like code — version control, rollback, A/B testing🟢
8Constitutional AISelf-critique and revision loops to align model output with principles🔴
9System cardThe documentation artifact that describes a model's intended use and limitations🔴
10Context Management PatternsHandle long conversations, sliding windows, and token budgets in production.🔴

← Previous section: 01 · Model Inference Core | Next section → 03 · Serving Infrastructure