Skip to main content
Back to Library
Prompt Engineering Guide

Mastering Write email
on Cerebras Llama 3.1 70B

Stop guessing. See how professional prompt engineering transforms Cerebras Llama 3.1 70B's output for specific technical tasks.

The "Vibe" Prompt

"Write an email to a colleague, Sarah, about organizing a team lunch next week. Make it friendly and suggest a few date options."
Low specificity, inconsistent output

Optimized Version

STABLE
You are an AI assistant designed to generate professional and concise email drafts. Your task is to write an email to Sarah regarding a team lunch next week. Prioritize clarity and provide actionable suggestions. ### RECIPIENT: Sarah ### SUBJECT: Team Lunch Next Week - [Your Name] ### PURPOSE: Organize a team lunch ### KEY REQUIREMENTS: - Friendly tone - Propose 2-3 specific date/day options for next week (e.g., Monday, Wednesday, or Thursday afternoon) - Ask for her availability - Suggest a follow-up for location/cuisine once dates are narrowed down ### INSTRUCTIONS: 1. Draft the email, incorporating all key requirements. 2. Ensure the tone is appropriate for a colleague. 3. Keep the email concise and easy to read. 4. Do not include any personal greetings or closings outside the main email content.
Structured, task-focused, reduced hallucinations

Engineering Rationale

The optimized prompt provides clear instructions and constraints, leveraging chain-of-thought elements. It defines the AI's persona, specifies the recipient, subject, purpose, and key requirements. Breaking down the task into explicit instructions ensures all necessary components are included and the output format is consistent. This reduces ambiguity for the model, leading to higher quality and more focused output. The 'RECIPIENT', 'SUBJECT', 'PURPOSE', and 'KEY REQUIREMENTS' headers guide the model to extract and organize information effectively. The 'INSTRUCTIONS' then clearly outline the generation steps.

0%
Token Efficiency Gain
The 'optimized_prompt' should generate an email that is more structured and complete than the 'vibe_prompt'.
The 'optimized_prompt' output should explicitly include date options and a request for availability.
The 'optimized_prompt' output should follow a professional yet friendly tone as specified.

Ready to stop burning tokens?

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

Optimize My Prompts