What is a prompt
A prompt is your message to an AI model, your request. A good prompt has four parts: role (who to be), task (what to do), format (who it's for and what shape) and an example of the style you like. The model can't read your mind, so put everything into words.
A vague prompt gets a vague answer. "Tell me about marketing" gets you a lecture about nothing; "Give me 5 TikTok post ideas for a coffee shop near a campus, one line each" gets you something you can use. The difference is in the details: how many, for whom, where, in what shape. Long prompts don't bother the model, they help.
The first answer is rarely perfect, and that's fine. Don't open a new chat, reply in the same one: "shorter", "simpler", "add a real-life example". Two or three follow-ups are usually enough.
Covered in the lessonHow to Write AI Prompts: The 4 Parts of a Good PromptOpen the lesson →
More terms from this course
- What is an AI agent
- What is an AI hallucination
- What is a context window
- What is an embedding
- What is few-shot prompting
- What is a knowledge cutoff
- What is an LLM (large language model)
- What is machine learning
- What is multimodal AI
- What is a neural network
- What is RAG
- What is RLHF
- What is a tokenizer
- What is voice cloning