Mastering Poetry generation
on Claude 3.5 Haiku
Stop guessing. See how professional prompt engineering transforms Claude 3.5 Haiku's output for specific technical tasks.
The "Vibe" Prompt
Optimized Version
Engineering Rationale
The optimized prompt leverages several key improvements: 1. **Role-playing:** 'PoetryBot' sets a clear persona for the AI, guiding its stylistic output. 2. **Clear Constraints:** Specific rhyme scheme, meter, stanza count, and literary devices provide a strict framework, reducing ambiguity. 3. **Stanza-by-Stanza Guidance:** Breaking down the poem's content into individual stanzas ensures comprehensive coverage of the theme. 4. **Chain-of-Thought (CoT):** The 'Thought Process Chain' explicitly outlines the steps the AI should take, mimicking human creative process. This ensures all constraints are considered iteratively and helps the model self-correct. It also acts as an in-context example of how to approach the task. 5. **Reduced Ambiguity:** The naive prompt uses vague terms like 'capture the feeling', whereas the optimized prompt provides concrete actions and elements to include. 6. **Instructional Phrasing:** Uses imperative verbs and clear instructions, making the task unambiguous.
Ready to stop burning tokens?
Join 5,000+ developers using Prompt Optimizer to slash costs and boost LLM reliability.
Optimize My Prompts