Skip to main content
Back to Library
Prompt Engineering Guide

Mastering Write email
on Mixtral 8x22B

Stop guessing. See how professional prompt engineering transforms Mixtral 8x22B's output for specific technical tasks.

The "Vibe" Prompt

"Write an email to my colleague, John, about the project status. It should be friendly and informative."
Low specificity, inconsistent output

Optimized Version

STABLE
You are an AI assistant specialized in drafting professional and friendly emails. Your task is to write an email from me to my colleague, John, regarding the 'Project X' status. The email should be concise, informative, and maintain a friendly tone. Here's the chain-of-thought process: 1. **Identify the recipient and sender:** Recipient is John, sender is me. 2. **Determine the core topic:** Project X status update. 3. **Identify key elements to include (status):** - What has been completed recently? - What are the current blockers/challenges? - What are the next steps? - When can John expect the next update or a solution? 4. **Choose an appropriate opening:** Friendly greeting, directly state purpose. 5. **Draft the body:** Present information clearly and concisely, using bullet points or short paragraphs for readability. 6. **Choose a closing:** Professional and friendly, offer further discussion. 7. **Review and refine:** Check for tone, clarity, completeness, and conciseness. Now, generate the email based on this thought process, assuming the following details for 'Project X': - **Recent completion:** Phase 1 user interface mockups are approved. - **Current blockers:** Integrating API with backend services, awaiting credentials from Dev Team. - **Next steps:** Follow up with Dev Team for API credentials, start backend integration once received. - **Next update:** Aiming for an update by end of next week. Craft the email.
Structured, task-focused, reduced hallucinations

Engineering Rationale

The optimized prompt leverages a chain-of-thought approach, explicitly guiding the AI through the reasoning and structuring of the email. It provides clear persona instruction ('AI assistant specialized in drafting professional and friendly emails'), defines the goal ('concise, informative, and maintain a friendly tone'), and breaks down the task into logical steps. By pre-defining the thought process and then providing specific details for 'Project X', it significantly reduces ambiguity and the need for the model to infer information or structure. This leads to a more targeted and higher-quality output with fewer iterations, ultimately saving tokens by preventing off-topic or poorly structured responses.

30%
Token Efficiency Gain
The generated email is addressed to 'John'.
The generated email clearly states the purpose is a project status update.
The email includes information about recent completions ('Phase 1 user interface mockups are approved').

Ready to stop burning tokens?

Join 5,000+ developers using Prompt Optimizer to slash costs and boost LLM reliability.

Optimize My Prompts