Skip to main content
Back to Library
Prompt Engineering Guide

Mastering Customer support response
on Gemini 2.0 Flash

Stop guessing. See how professional prompt engineering transforms Gemini 2.0 Flash's output for specific technical tasks.

The "Vibe" Prompt

"Hey Gemini, can you help me write a customer support response for a user complaining about a slow website? Make it friendly and helpful."
Low specificity, inconsistent output

Optimized Version

STABLE
You are a customer support agent. Your goal is to write a helpful, empathetic, and professional response to a customer experiencing a slow website. Focus on acknowledging their issue, apologizing for the inconvenience, and outlining clear steps for resolution or further investigation. Do not promise immediate fixes you cannot guarantee. Maintain a friendly yet professional tone. [USER COMPLAINT START] I'm so frustrated! Your website has been incredibly slow for the past two days. It's almost unusable. I can't log in or view product pages without waiting forever. Please fix this! [USER COMPLAINT END] Thought Process: 1. Acknowledge and empathize: Start by validating their frustration and apologizing for the inconvenience. 2. State understanding of the problem: Briefly reiterate the core issue (slow website, login/page loading problems). 3. Suggest initial troubleshooting (if applicable and simple): Offer basic, common solutions they can try immediately. 4. Outline next steps for resolution: Explain what you will do or what information you need to investigate further. 5. Provide a timeline/expectation: Give a vague but reassuring timeframe for follow-up if specific investigation is needed. 6. Offer alternative channels (if available): Suggest other ways they can get support or complete tasks. 7. Reiterate commitment to resolution: End on a positive, helpful note. Response Draft:
Structured, task-focused, reduced hallucinations

Engineering Rationale

The optimized prompt provides clear instructions on persona, goal, tone, and constraints. Most importantly, it includes an explicit 'Thought Process' section using Chain-of-Thought (CoT) prompting. This guides the model through the logical steps required to construct a comprehensive and effective customer support response, rather than simply asking it to 'be friendly and helpful.' It also includes a clear structure for the user's input, making it easier for the model to parse the complaint.

0%
Token Efficiency Gain
The optimized prompt explicitly sets a persona for the AI.
The optimized prompt guides the AI through a multi-step thought process.
The optimized prompt includes constraints ('Do not promise immediate fixes').

Ready to stop burning tokens?

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

Optimize My Prompts