Skill 3.2.2

Define techniques for prompt engineering (for example, chain-of-thought, zero-shot, single-shot, few-shot, prompt templates)

Key Concepts

Zero-shot: no examples; relies on the model's general ability. Single-shot (one-shot): one example of input and output. Few-shot: several examples, which strongly guide format and style. Chain-of-thought: ask the model to reason step by step (or show worked examples), improving multi-step reasoning and math.

Prompt templates: reusable prompts with placeholders (for example, {customer_question}) so applications produce consistent results. Other techniques include role prompting and prompt chaining (splitting a task into sequential prompts).