# Prompt Engineering Techniques ## Principles - Be specific. - Give context. ## Techniques - Few-shot: instruction with exemplars. - CoT (Chain-of-Thought): break down the task. - Zero-shot COT: step by step - Few-shot COT: show how to break down the task. ## Let AI Generate Prompts Let AI help to improve the prompt: - Find and evaluate variants - Generate examples - Generate hint or context [[Prompt - Prompt Engineering]] ## References - [[Dair.ai Authors - Prompt Engineering Guide (Highlights)]] - [[Jessica Shieh - Best practices for prompt engineering with OpenAI API (Highlights)]] - [[Ben Congdon - On Prompt Engineering (Highlights)]] - Prompt Design posted by [[Anthropic Authors]] - [[DeepLearning.AI - ChatGPT Prompt Engineering for Developers (Notes)]]