โ† Generative AI & Prompt Engineering learning path
Generative AI & Prompt Engineering ยท Module 3 of 10

Prompt engineering basics

Write prompts that get great results.

๐Ÿ“– Key ideas

  1. Be clear and specific about the task.
  2. Give context: audience, purpose, constraints.
  3. Specify format: bullet points, table, JSON, word count.
  4. Assign a role when helpful ("You are a math tutor").
  5. Iterate: refine prompts based on outputs.
๐Ÿ’ก Real-life example: A prompt is a brief to a talented assistant: vague briefs get vague work.
PromptInstructions given to an AI
ContextBackground information
Output formatDesired structure of the answer
IterationRefining step by step