Safe and Smart Use
How to Write a Good Prompt: Tips for Beginners
A prompt is what you type to an AI. Five easy habits for clearer questions and better answers.
A prompt is the message you give to an AI. Clear prompts usually get clearer answers.
Illustration made for this site.
Five habits
- Say what you want. "Explain photosynthesis" is better than "plants".
- Give context. "Explain it for a beginner" or "use simple words" changes the style. Keep your name and other private details out of prompts.
- Ask for a format. "Give me three bullet points" or "use a short story".
- Give an example of what a good answer looks like. The GPT-3 paper "Language Models are Few-Shot Learners" showed that a large model can do a new task from just a few examples written into the prompt, with no extra training.
- Follow up. If the answer is too hard, say "make it simpler".
Try it
Ask the same question twice: once vaguely, once with the five habits. Compare.
Remember
A good prompt helps, but it cannot make the AI know things it does not know. Check important facts.