1. What Prompting Really Is
- What Prompting Really Is
- Context, Examples, and Roles
- Reasoning, Constraints, and Format
- Iterating and Fixing Failures
- Prompting Different Tools
- Putting It All Together
A prompt is an instruction
A prompt is simply the words you give an AI to tell it what you want. The AI does not read your mind. It reads your text, then predicts a helpful continuation. So the quality of what comes back depends almost entirely on the quality of what you put in.
Think of it like talking to a very fast, very well-read new coworker who has never met you, knows nothing about your project, and will take you completely literally. If your request is vague, you get a vague answer. If your request is clear and specific, you usually get something useful on the first try.
Vague in, vague out
Compare these two requests. The first is what most people type. The second is what an experienced user types.
| Weak prompt | Strong prompt |
|---|---|
| Write about dogs. | Write a friendly 150-word paragraph for a pet-shelter website explaining why adopting an older dog is rewarding. Warm tone, no bullet points. |
| Fix my email. | Rewrite this email to a customer so it stays polite but firmly declines a refund. Keep it under 5 sentences. Here is the email: ... |
The strong prompts win because they say who it is for, how long it should be, what tone to use, and what to avoid. None of that is technical. It is just being specific.
The core habit
Before you hit send, ask yourself: have I said what I want, who it is for, how long it should be, and what 'good' looks like? If you can answer those, you are already prompting well. Everything else in this course is just sharpening that one habit.
- OpenAI. GPT-4 and prompting guidance in the OpenAI API documentation (platform.openai.com).
- Anthropic. Prompt engineering guide in the Claude documentation (docs.anthropic.com).
- Google. Prompting guidance for Gemini in Google AI for Developers (ai.google.dev).
- Brown, Tom, et al. "Language Models are Few-Shot Learners." NeurIPS, 2020.
- Wei, Jason, et al. "Chain-of-Thought Prompting Elicits Reasoning in Large Language Models." NeurIPS, 2022.