Beginner-Friendly Topic
Take your time - it's perfectly normal to re-read this topic 2-3 times. Try the interactive code editor below to run code yourself. Use the Q&A section to check your understanding before moving on. You've got this! 🚀
What is a Prompt?
A prompt is the instruction or input you give to a Generative AI model. The quality of your prompt directly determines the quality of the AI's response.
What is a Prompt?
A prompt is any input you give to a Generative AI model.
It can be:
- A question: 'What is the boiling point of water?'
- An instruction: 'Write a professional email to decline a meeting invitation.'
- A task: 'Summarize this article in three bullet points.'
- A context plus a question: 'I am a beginner learning Python. Explain what a list is.'
The term 'prompt engineering' refers to the skill of crafting prompts that produce the best possible AI output. It is one of the most practical skills you can develop for working with Generative AI.
Deep Learning ⊂ Machine Learning ⊂ Artificial Intelligence
Why Prompts Matter So Much
The AI model has the same capabilities regardless of what prompt you write. But the prompt determines which of those capabilities get applied to your specific situation.
A vague prompt:
'Tell me about marketing.'
(Result: a very general overview that may not be useful)
A specific prompt:
'I run a small online store selling handmade candles. Suggest five low-cost marketing strategies suitable for a one-person business with a limited budget.'
(Result: targeted, actionable advice for your exact situation)
Same AI, same model. Dramatically different output. The difference is only the quality of the prompt.