Prompt Formula
- Role (optional): Assign me a role or perspective.
- Example: “Act as a historian,” “You are a marketing expert,” or “Pretend you’re a teacher.”
- Task: Clearly state what you want me to do.
- Example: “Explain,” “Write,” “Summarize,” “Compare,” “Create,” etc.
- Context: Provide background information or specifics.
- Example: “Explain quantum computing to a beginner,” or “Write a blog post about sustainable fashion trends in 2023.”
- Format: Specify how you want the output structured.
- Example: “Provide a bulleted list,” “Write in paragraph form,” or “Give me a step-by-step guide.”
- Tone/Style: Define the tone or style you want.
- Example: “Use a formal tone,” “Explain like I’m 5,” or “Make it humorous.”
- Examples (optional): Include examples or analogies if needed.
- Example: “Use an analogy to explain how a neural network works.”
Putting It All Together
Here’s how the formula works in practice:
- Basic Prompt: “Explain photosynthesis.”
- Enhanced Prompt: “Act as a biology teacher and explain photosynthesis to a 10-year-old. Use simple language and include an analogy to make it easier to understand. Provide a step-by-step breakdown.”
Examples of Formula-Based Prompts
- Role + Task + Context + Format:
- “You are a career coach. Provide a list of 5 tips for writing a strong resume. Format it as bullet points.”
- Task + Context + Tone:
- “Write a persuasive essay about why people should adopt pets instead of buying them. Use a friendly and encouraging tone.”
- Role + Task + Context + Format + Tone:
- “Act as a historian. Summarize the causes of the French Revolution in 300 words. Use a formal tone and provide a timeline of key events.”
Comments are closed.