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": "Owl Cupcakes", "description": null, "subtitle": null, "ingredients": [ { "section": "Cupcakes", "ingredients": [ "2 cups white sugar", "2 cups all-purpose flour, sifted", "1 cup unsweetened cocoa powder", "2 teaspoons baking powder", "1 teaspoon salt", "½ teaspoon baking soda", "1 cup buttermilk", "½ cup vegetable oil", "2 large eggs eggs", "1 teaspoon vanilla extract", "1 cup hot water" ] }, { "section": "Frosting", "ingredients": [ "3/4 cup heavy whipping cream", "1 ½ tablespoons heavy whipping cream", "1½ cups mascarpone cheese", "2 tablespoons mascarpone cheese", "7 tablespoons unsweetened cocoa powder", "1/4 cup white sugar" ] }, { "section": "Decoration", "ingredients": [ "48 cookies chocolate sandwich cookies (such as Oreo)", "48 piece (blank)s brown candy-coated milk chocolate pieces (such as M&M's)", "24 piece (blank)s orange or yellow candy-coated milk chocolate pieces (such as M&M's)" ] } ], "instructions": [ "Preheat oven to 350 degrees F (175 degrees C). Line 2 muffin tins with paper liners.", "Combine 2 cups sugar, flour, 1 cup cocoa powder, baking powder, salt, and baking soda in a bowl.", "Whisk buttermilk, vegetable oil, eggs, and vanilla extract in a large bowl. Add flour mixture; mix until well-combined.", "Pour in hot water; stir until batter is smooth. Divide batter evenly among muffin tins.", "Bake in the preheated oven until a toothpick inserted into the center comes out clean, about 12 minutes. Transfer cupcakes to a wire rack and let cool completely, about 20 minutes.", "Whip 3/4 cup plus 1 1/2 tablespoon heavy cream in a bowl with an electric mixer until soft peaks form. Fold in 1 1/2 cup plus 2 tablespoons mascarpone cheese, 7 tablespoons cocoa powder, and 1/4 cup sugar gently to make frosting.", "Spread 1 tablespoon frosting over each cooled cupcake.", "Twist chocolate sandwich cookies open, leaving all cream filling on 1 side. Place 2 cookies, cream filling-side up, on each cupcake to make owl eyes. Place a brown milk chocolate piece on each cookie to create pupils. Insert an orange or yellow milk chocolate piece in the center to make a beak." ], "author": null }
- Assistantjson
{ "data": "WWW" }