Skip to main content
Back to Library
Prompt Engineering Guide

Mastering Product description
on Groq Llama 3.1 70B

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

The "Vibe" Prompt

"Write a product description for our new AI-powered vacuum cleaner. Make it sound really good and exciting. Mention its smart features and how it makes life easier. Also, say something about its battery life and durability. Don't make it too long, but long enough to cover everything."
Low specificity, inconsistent output

Optimized Version

STABLE
You are a highly skilled copywriter specializing in consumer electronics. Your task is to craft a compelling product description for the 'GroqClean 5000' – an AI-powered robotic vacuum cleaner. Follow these steps: 1. **Headline:** Create an attention-grabbing headline (maximum 10 words) that highlights a key benefit. 2. **Introduction (Paragraph 1):** Introduce the GroqClean 5000, emphasizing its AI capabilities and how it transforms home cleaning. Focus on convenience and intelligence. 3. **Key Features (Bulleted List):** Detail 3-4 primary features. For each feature, explain what it is and briefly describe its benefit to the user. Include: * AI Navigation & Obstacle Avoidance * Self-Emptying Dustbin (if applicable, assume it has this) * Multi-Floor Mapping & Zone Cleaning * Extended Battery Life with Smart Recharging 4. **Durability & Longevity (Paragraph 2):** Describe the product's robust build quality and long-term reliability. Mention premium materials and warranty (assume 2-year warranty). 5. **Call to Action (CTA):** End with a concise CTA encouraging purchase or learning more. **Constraints:** * Target audience: Busy professionals, tech enthusiasts, families. * Tone: Modern, sophisticated, reassuring, benefit-driven. * Word count: 180-250 words total. * Keywords to include: 'AI-powered', 'smart home', 'effortless cleaning', 'long-lasting battery', 'premium design'.
Structured, task-focused, reduced hallucinations

Engineering Rationale

The optimized prompt leverages a chain-of-thought approach by breaking down the task into sequential, logical steps. It assigns a clear persona (highly skilled copywriter), specifies the product name, and outlines explicit constraints regarding target audience, tone, word count, and keywords. By dictating structure (headline, paragraphs, bullet points) and providing specific content inclusions (AI navigation, self-emptying, warranty), it guides the model towards a high-quality, comprehensive, and well-organized output, significantly reducing ambiguity and the need for the model to 'guess' the desired format or content. The naive prompt is vague, leading to potentially inconsistent or incomplete results, whereas the optimized version provides a precise blueprint for success.

0%
Token Efficiency Gain
The optimized prompt explicitly defines the persona.
The optimized prompt uses a numbered list for sequential instructions, enabling chain-of-thought.
The optimized prompt specifies structural elements like 'Headline', 'Paragraph 1', 'Bulleted List', and 'CTA'.

Ready to stop burning tokens?

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

Optimize My Prompts