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" ] }, { "section": "For the frosting", "ingredients": [ "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": [ "Preheat an oven to 350 degrees F (175 degrees C). Line 2, 12-cupcake tins with paper cupcake liners.", "Blend cake mix, 1 cup water, vegetable oil, and eggs in a large bowl. Beat with a mixer on low speed for 2 minutes.", "Divide cake batter between lined cupcake tins.", "Bake cupcakes in preheated oven until a toothpick inserted in the center comes out clean, 18 to 22 minutes. Cool completely. Frost cupcakes with white frosting.", "Make the sugar glass. Mix 2 cups water, 1 cup corn syrup, white sugar, and cream of tartar in a large saucepan; bring to a boil. Use a candy thermometer and boil sugar syrup until temperature reaches 300 degrees (hard ball), stirring constantly. The mixture will thicken as water evaporates. When sugar reaches 300 degrees, quickly pour onto a metal baking pan. Cool until completely hardened. Break into "shards" using a meat mallet.", "Make the edible blood. Mix together 1/2 cup corn syrup and cornstarch in a large bowl. Slowly stir in the 1/4 cup of water, adding more if necessary, until the corn syrup mixture has thickened to the consistency of blood. Stir in the red and blue food coloring.", "Stab each frosted cupcake with a few shards of broken sugar glass. Drizzle on drops of "blood" to complete the effect." ], "author": null }
- Assistant
{ "data": "WWW" }