Draft, Then Data
Part of the Prompting Techniques section of Coddy's AI Prompts journey. Lesson 24 of 24.
An online shop adds products in two steps. First a writer drafts a short description. Then the page builder needs the same product as JSON with the keys name, tagline and weight_grams.
The product: a reusable water bottle that keeps drinks cold for 24 hours and weighs 300 grams. The tagline has to fit on a small product card.
Challenge
HardYou have 2 messages. First, ask for a short product description of the bottle: keeps drinks cold for 24 hours, weighs 300 grams. Then turn it into JSON with the keys name, tagline and weight_grams, without repeating the facts.
The AI's response must:
- Be a JSON object with name, tagline and weight_grams
- Have weight_grams 300, from your first message
- Have a tagline of at most 10 words
This lesson includes a short quiz. Start the lesson to answer it and track your progress.