Skip to main content
Back to Library
Prompt Engineering Guide

Mastering Poetry generation
on Qwen 2.5 72B

Stop guessing. See how professional prompt engineering transforms Qwen 2.5 72B's output for specific technical tasks.

The "Vibe" Prompt

"Write a poem about a rainy day, focusing on comfort and reflection. Make it feel cozy."
Low specificity, inconsistent output

Optimized Version

STABLE
You are a highly creative and evocative poet. Your task is to generate a poem about a rainy day. The poem should distinctly convey feelings of comfort and deep reflection. It must employ imagery that evokes a 'cozy' atmosphere. To achieve this, follow these steps: 1. Brainstorm 3-5 vivid metaphors or similes related to rain, comfort, and reflection (e.g., 'rain as a lullaby', 'reflection like a still pond'). 2. Select the most impactful 2-3 metaphors/similes for the poem. 3. Decide on a rhyming scheme (e.g., AABB, ABAB) and meter (e.g., iambic tetrameter) that enhances a calm, reflective mood. State your chosen scheme and meter. 4. Draft the poem, incorporating the chosen metaphors/similes, rhyming scheme, and meter. 5. Review the poem for consistency in tone, imagery, and emotional resonance. Ensure it clearly communicates comfort and reflection. Begin by stating your chosen rhyming scheme and meter, then present the poem.
Structured, task-focused, reduced hallucinations

Engineering Rationale

The optimized prompt provides clear instructions, context (poet persona), and a Chain-of-Thought (CoT) process. It guides the model through brainstorming, selection, structured poetic elements (rhyme, meter), drafting, and review. This structured approach forces the model to deliberate on its choices, leading to a more coherent, high-quality, and intentional poem that directly addresses the prompt's nuances. The persona encourages more creative language. By pre-determining poetic structures, it reduces the burden on the model during direct generation, allowing it to focus on content within constraints.

0%
Token Efficiency Gain
The optimized poem should demonstrate a clear rhyming scheme and meter.
The optimized poem should explicitly use metaphors/similes related to rain, comfort, and reflection.
The optimized poem should feel significantly more 'cozy' and 'reflective' than a poem generated by the naive prompt.

Ready to stop burning tokens?

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

Optimize My Prompts