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é.
1. 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": "Halloween Cyclops Cupcakes", "description": null, "subtitle": null, "ingredients": [ { "section": "Cupcakes", "ingredients": [ "9 tablespoons unsweetened cocoa powder", "5 tablespoons boiling water, or more if needed", "3/4 cup unsalted butter", "2 tablespoons white sugar", "3/4 cup white sugar", "3 eaches eggs", "1 cup all-purpose flour", "2 teaspoons baking powder" ] }, { "section": "Frosting", "ingredients": [ "1 (8 ounce) package cream cheese, softened and cubed", "1/4 cup unsalted butter, softened", "½ teaspoon vanilla extract", "1 cup confectioners' sugar", "3 drops green food coloring" ] }, { "section": "Cyclops", "ingredients": [ "1 (.68 oz. tube) black decorating gel", "12 piece (blank)s blue candy-coated milk chocolate pieces", "4 eaches marshmallows", "3 eaches dark colored fruit leather", "2 tablespoons confectioners' sugar", "½ teaspoon lemon juice, or more as needed", "3 tablespoons silver dragees decorating candy", "24 eaches sunflower seeds" ] } ], "instructions": [ "Step 1\nPreheat the oven to 400 degrees F (200 degrees C). Grease a 12-cup muffin tin or line cups with paper liners.", "Step 2\nSift cocoa powder into a large bowl and add 5 tablespoons boiling water. Stir into a thick paste, adding more\nwater, 1 tablespoon at a time, if needed. Add 3/4 cup butter and 3/4 cup plus 2 tablespoons sugar and beat with\nan electric mixer until smooth and creamy. Beat in eggs one at a time, beating well after each addition, until\nbatter is smooth.", "Step 3\nMix flour and baking powder in a bowl and stir into the batter until well combined. Spoon batter into the\nprepared muffin cups, filling each 2/3 to the top using an ice cream scoop.", "Step 4\nBake in the preheated oven until tops spring back when lightly pressed and a toothpick comes out clean, 10 to\n15 minutes. Allow to cool in muffin tin for a few minutes; transfer to wire rack and cool completely, about 1\nhour.", "Step 5\nBeat cream cheese and 1/4 cup butter together in a bowl until creamy. Mix in vanilla extract. Stir in 1 cup\nconfectioners' sugar gradually until frosting is smooth. Mix in green food coloring.", "Step 6\nFrost each cupcake with a thin layer of green frosting and refrigerate for 30 minutes to make decorating easier.\nFrost with a second thin layer of green frosting.", "Step 7\nDraw a small dot with the black decorating gel on each candy-coated milk chocolate piece for the pupil. Cut\nmarshmallows into 4 slices with a sharp knife and stick 1 blue pupil in the center of each marshmallow piece.", "Step 8\nCut fruit leather into crescent shapes or semi-circles for the mouths using small sharp scissors.", "Step 9\nMix 2 tablespoons confectioners' sugar with lemon juice in a bowl to make icing. Glue silver dragees onto the\nfruit leather mouths using a toothpick dipped in icing.", "Step 10\nAssemble cyclops by placing a mouth and one marshmallow eye onto each cupcake. Stick 2 sunflower seeds on\ntop of the cupcake for the horns." ], "author": null }
- Assistant
{ "data": "WWW" }