Prompt Formula

  1. Role (optional): Assign me a role or perspective.
    • Example: “Act as a historian,” “You are a marketing expert,” or “Pretend you’re a teacher.”
  2. Task: Clearly state what you want me to do.
    • Example: “Explain,” “Write,” “Summarize,” “Compare,” “Create,” etc.
  3. Context: Provide background information or specifics.
    • Example: “Explain quantum computing to a beginner,” or “Write a blog post about sustainable fashion trends in 2023.”
  4. 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.”
  5. Tone/Style: Define the tone or style you want.
    • Example: “Use a formal tone,” “Explain like I’m 5,” or “Make it humorous.”
  6. 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

  1. 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.”
  2. Task + Context + Tone:
    • “Write a persuasive essay about why people should adopt pets instead of buying them. Use a friendly and encouraging tone.”
  3. 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.”