Effective Prompt Structure and Prompt Patterns
In this lesson, we will learn effective prompt structure and prompt patterns. Role-based prompt, few-shot prompting, step-by-step instruction, output template, critique prompt, comparison prompt and refinement prompt will be explained with practical examples. ## Lesson objective In this lesson, we will learn effective prompt structure and prompt patterns. In the previous lesson, we covered Prompt Engineering basics. We explained what a prompt is and how task, context, role, constraints, output format, audience and tone are used. Now we move prompt writing to a more systematic level. A prompt pattern is a reusable prompt structure.