Goal Objectif est d'identifier l'origine d'une recette de cuisine et de retourner un…
- User
Goal Objectif est d'identifier l'origine d'une recette de cuisine et de retourner un code correspondant dans un format JSON structuré.
code1. Recherche d’un pays mentionné dans la recette et extraction de son code ISO 3166-1 alpha-2. 2. Détermination de l’origine culinaire du pays si aucun pays n'est explicitement mentionné. 3. Identification d’un continent si aucun pays ne peut être déterminé. 4. Retour du code WWW si l’origine ne peut être définie. Return Format Renvoies un objet JSON structuré comme suit : json { "data": "<code>" } - Si un pays est mentionné, utilise son code ISO 3166-1 alpha-2 (ex. : FR pour la France). - Si aucun pays n'est trouvé, renvoie un code de continent parmi : WAF (Afrique) WAS (Asie) WEU (Europe) WNA (Amérique du Nord) WSA (Amérique du Sud) WOC (Océanie) - Si aucune information ne permet de déterminer une origine, renvoie WWW. Warnings - Respecte l’ordre de priorité : pays → continent → code WWW. - Le code ISO 3166-1 alpha-2 doit être exact et valide si un pays est identifié. - Le format du JSON doit être strictement respecté et bien formatté. - Ne fais aucune supposition infondée sur l’origine de la recette. Context Dump Données de la recette fournies : json {"title": "Chocolate Raisin Granola Bars", "description": "Granola bars are known to many as a grab-and-go breakfast, but they also make a terrific anytime snack. Feel free to vary the add-ins (or leave them out completely) to suit your taste and avoid allergens. Choose organic, unsweetened puffed rice cereal.", "subtitle": "Makes 16 bars", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "2½ cups (216 g) gluten-free old-fashioned rolled oats", "1 cup (30 g) gluten-free puffed rice cereal", "2 tablespoons flaxseed meal", "¼ teaspoon salt", "½ teaspoon ground cinnamon", "5 tablespoons shortening (see page 7)", "½ cup (48 g) organic light brown sugar", "½ cup (80 ml) honey", "1 teaspoon Vanilla Extract (page 288)", "½ cup (80 g) raisins, optional", "½ cup (120 g) mini chocolate chips, optional" ] } ], "instructions": [ "Preheat the oven to 350°F (180°C). Line a large baking sheet with parchment paper.", "Spread the oats on the baking sheet and bake them for 5 minutes. Stir the oats, then bake them for 5 minutes longer (for a total of 10 minutes), until they are lightly golden and fragrant.", "While the oats are toasting, combine the puffed rice cereal, flaxseed meal, salt, and cinnamon in a large mixing bowl.", "In a small saucepan, melt the shortening, sugar, and honey together over low heat. Add the vanilla and stir until the mixture is smooth.", "After the oats are toasted, reduce the oven temperature to 325°F (165°C). Line a 9 by 12-inch (23 by 30 cm) baking dish with parchment paper. Spray a thin coat of oil on the parchment, using a mister.", "Add the toasted oats to the dry ingredients. Add the melted ingredients and stir until all of the oats are coated.", "Stir in the raisins (if desired) and chocolate chips (if desired). Note that some of the chocolate will melt.", "Spread the mixture into the prepared pan. Use the back of a spoon or a spatula to work it to the edges of the pan and pat it down. Bake for 18 to 20 minutes.", "Let the granola cool for 10 minutes in the pan, then lift the granola (with the parchment paper) and transfer it to a cooling rack. Let it cool for at least 2 hours before cutting it into bars. Store granola bars at room temperature in an airtight container for up to 1 week.", "TO FREEZE: Freeze granola bars in an airtight container for up to 6 months. Thaw at room temperature." ], "author": "" }
- Assistantjson
{ "data": "WWW" }
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.