2.9 — Recap: the perfect-prompt template
🟢 In plain words — keep this template handy. It’s a checklist: fill in each bracket
[...]and you have a complete prompt, from role all the way to guardrail.
[ROLE] You are an experienced …[CONTEXT] Here's the situation: …[TASK] Your mission: … (action verbs)[FORMAT] Present the answer like this: … (length, structure)[EXAMPLES] (Few-shot, if precise tone/format): input → output …[GUARDRAIL] If information is missing, say so; don't invent it.📚 Where do these techniques come from? (for the curious) Few-shot → GPT-3, Brown et al. 2020. · CoT (with examples) → Wei et al. 2022. · “Let’s think step by step” (zero-shot CoT) → Kojima et al. 2022. · Tree-of-Thoughts → Yao et al. 2023. · Graph-of-Thoughts → Besta et al. 2023.
📝 My note
A training byBaxIA