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": "Hearty Granola with Grilled Peaches", "description": "Granola is like the older and more mature cousin of cereal. My granola has just a hint of sweet and an earthy texture from the combination of nuts, seeds, oats, and dried fruit. What I love most about this recipe is the peaches: their natural sugars are released when grilled, making this an incredibly flavourful brunch or breakfast dish. And look, no bacon needed!", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "1/4 cups (300 mL) raw almonds", "3/4 cup (175 mL) salted roasted cashews", "5 cups (1.25 L) large-flake rolled oats", "2 cups (500 mL) dried cranberries", "1½ cups (375 mL) unsalted shelled pumpkin seeds", "2 tablespoons (30 mL) cinnamon", "1 teaspoon (5 mL) salt", "½ cup (125 mL) brown sugar", "½ cup (125 mL) pure maple syrup", "½ cup (125 mL) canola oil", "2 tablespoons (30 mL) honey", "2 peaches, pitted and sliced", "4 cups (1 L) plain Greek yogurt" ] } ], "instructions": [ "Roughly chop the almonds and cashews in a food processor.", "Transfer the chopped nuts to a large bowl and add the oats, dried cranberries, pumpkin seeds, cinnamon, and salt.", "Toss all the ingredients together.", "In a small saucepan over medium heat combine the brown sugar and maple syrup.", "Stir until the sugar has dissolved.", "Turn the heat down to low and stir in the oil and honey.", "Set aside 2 tablespoons (30 mL) of the maple sugar syrup for the peaches.", "Preheat the oven to 350°F (180°C) and position racks in the upper and lower thirds of the oven.", "Line 2 baking sheets with parchment paper.", "Pour the maple sugar syrup over the dry ingredients and toss to coat well.", "Spread the granola on the prepared baking sheets and bake for 25 minutes, rotating the pans halfway through.", "Bake until the granola is a rich dark brown.", "In a small bowl toss the peaches with the reserved maple sugar syrup.", "Heat a grill pan over medium heat.", "When it is hot, add the peaches and cook for 1 to 2 minutes on each side, until the fruit begins to caramelize.", "To serve, divide the Greek yogurt among 4 to 6 bowls.", "Top each serving with 1 cup (250 mL) granola and a few grilled peach slices.", "Store the granola in a Mason jar or airtight container on the counter or in the refrigerator for up to 2 weeks." ], "author": null }
- Assistantjson
{ "data": "WNA" }