`### Also check Daniel Miessler. Great prompt ingeneer and also Joseph Thacker and Eric Pope
What is a prompt?
A Call to Action to large language models. But it teaches that a prompt just isn’t a question. It’s a program.
Personas
-
Persona refers to what expertise you want the generative AI too to draw from.
-
Give AI some personality
Context
-
The necessary details to help the gen AI tool understand what you need from it. This is the difference between writing. Give me some ideas for a birthday present under $30 and Give me five ideas for a birthday present. My budget is $30. The give is for a 29 year old who loves winter sport and has recently switched from snowboarding to skiing.
ALWAYS BE CONTEXTING
Output Requirements
e.g
- Fomrmat: Use a clear bullet list for the timeline of events
- Length: Keep it under 200 words
- Tone: Professional, apologetic, and radically transparent. No corporate fluff.
We can actually teach the large language model to follow a pattern using something called few shot examples or few shot prompting. e.g. give examples of how something should look like. Give examples of a structured timeline.
Advanced Techniques #
Chain of Toughts or Showing your work
Telling the LLM to take steps to think step by step before it answers.
e..g Before writing the email, think through step by step:
- What was the root caujse? (The permissions change)
- Why did a permissions change create duplicate metadata? (Explain the mechanism)
- Why did duplicate features cause the file to exceed 200.
This process does following:
- Increase Accuracy
- Trust
-> Use extended thinking in e. g Chatgpt (Icon with clock)
TOT (Trees of Toughts)
e.g You are a Senior Site Reliability Engineer (SRE) at xxx with extensive experience in incident communication and post-mortem writing. We need to draft a customer-facing apology email following a significant outage. Please use the “Tree of Thoughts” reasoning frame work to determine the most effective communication strategy. Structure your response exactly as follows:
Step1. Brainstorm three distrinct tonal/strategy approaches (branches) for the apology email.
- Branch A: “Radical Transparency” - Heavy emphasis on the detailed technical root cause and timeline
- Branch B: “Customer Empathy First” – Primary focus on acknowledging the business impact, furustration and erosion of trust
- Branch C: “Future-Focused Assurance” - Center the message almost entirely on wshat has been fixed and the new safeguards implemented. Step 2: Evaluate each branch objectively:
- List clear pros and cons for each approach.
- Specifically analyze: Which restores trust most effectively? Whcih risks alienating or confusing non0-technical customers? Which might invite unwated scrutinity or speculation Step 3: Syntesize the best elemnts from all three branches to create an optimal “Golden Path” strategy that balances transparencyh, empathy, and confidence building Step 4: Using the Golden Path, write the complete customer apology email. The email should:
- Be signed from the xxx enginerring team
- Have a clear, concise subject line
- Use prfessional, calm, and confident language
- Include appropriate sections (e.g. what happened, impact, root cause at a hgiht level, what we’ve done, and what we’re doing to prevent recurrence).
- End on a note of commitment and gratitude Show all your reasoning step-by-step before presenting the final email
The Meta-Skill (Clarity of thought) #
At the end of the day it’s all about expressing yourself well.
Once you figure out that good prompt, save it. Get a prompt library.
Use Fabric to improve prompts (improve_prompt)