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": "Bloody Broken Glass Cupcakes", "description": null, "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "1 (18.25 ounce) package white cake mix", "1 cup water", "½ cup vegetable oil", "3 large eggs eggs", "1 (16 ounce) can white frosting" ] }, { "section": "Sugar Glass", "ingredients": [ "2 cups water", "1 cup light corn syrup", "3½ cups white sugar", "1/4 teaspoon cream of tartar" ] }, { "section": "Edible Blood", "ingredients": [ "½ cup light corn syrup", "1 tablespoon cornstarch", "1/4 cup water, or more as needed", "15 drops red food coloring", "3 drops blue food coloring" ] } ], "instructions": [ "Step 1\nPreheat an oven to 350 degrees F (175 degrees C). Line 2, 12-cupcake tins with paper cupcake liners.", "Step 2\nBlend cake mix, 1 cup water, vegetable oil, and eggs in a large bowl. Beat with a mixer on low speed for 2\nminutes. Divide cake batter between lined cupcake tins.", "Step 3\nBake cupcakes in preheated oven until a toothpick inserted in the center comes out clean, 18 to 22 minutes.\nCool completely. Frost cupcakes with white frosting.", "Step 4\nMake the sugar glass. Mix 2 cups water, 1 cup corn syrup, white sugar, and cream of tartar in a large saucepan;\nbring to a boil. Use a candy thermometer and boil sugar syrup until temperature reaches 300 degrees (hard\nball), stirring constantly. The mixture will thicken as water evaporates. When sugar reaches 300 degrees.\nquickly pour onto a metal baking pan. Cool until completely hardened. Break into "shards" using a meat mallet.", "Step 5\nMake the edible blood. Mix together 1/2 cup corn syrup and cornstarch in a large bowl. Slowly stir in the 1/4\ncup of water, adding more if necessary, until the corn syrup mixture has thickened to the consistency of blood.\nStir in the red and blue food coloring.", "Step 6\nStab each frosted cupcake with a few shards of broken sugar glass. Drizzle on drops of "blood" to complete the\neffect." ], "author": null }
- Assistant
{ "data": "WWW" }