Module 06 / 17
Basic Prompt Engineering
The art of interacting with generative AI like ChatGPT for maximum results.
01 What is Prompt Engineering?
Prompt Engineering is the skill of designing, optimizing, and structuring instructions (prompts) given to Generative AI models (such as LLMs) to produce relevant, accurate, and user-desired outputs.
02 Core Prompting Principles
- Be Clear and Specific: Avoid ambiguity.
- Provide Context: Tell the AI what role to play (e.g., "Act as a marketing expert").
- Specify Output Format: Ask the AI to respond in a specific format (table, list, bullet points).
- Limit Scope: Explain what the AI should NOT do.
03 Advanced Prompting Techniques
Zero-shot Prompting: Asking AI to perform a task without giving any examples.
Few-shot Prompting: Providing one or more output examples so the model understands the desired pattern.
Chain of Thought (CoT): Asking the model to explain its thinking step by step ("Let's think step by step") before giving the final answer.