What Is a Prompt?
A prompt is the instruction or question you input when conversing with an AI model. A well-crafted prompt can help the AI produce more accurate and useful responses.
Basic Structure of a Prompt
A complete prompt typically includes the following elements:
- Role Assignment - Tell the AI what role to play
- Task Description - Clearly explain what needs to be done
- Constraints - Restrict the output format, length, etc.
- Examples - Provide reference samples (optional)
Simple Example
❌ Bad Prompt:
Write an article about AI
✅ Good Prompt:
You are a tech blogger. Please write an 800-word popular science article about the impact of AI on everyday life. Use simple and easy-to-understand language and include 3 specific examples.
Next Steps
Continue learning Advanced Prompt Techniques →
Top comments (0)