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": "MARBLED CHOCOLATE VANILLA CAKE", "description": "This Marbled Chocolate Vanilla Cake is a delightful treat that combines the rich flavors of chocolate and vanilla in a beautifully marbled design, perfect for any occasion.", "subtitle": "", "ingredients": [ { "section": "For the chocolate cake", "ingredients": [ "4 large (200 g) eggs (¾½ cup plus 1 tablespoon)", "½ cup (60 g) trimoline (inverted sugar)", "½ cup (100 g) superfine sugar", "½ cup (60 g) ground almonds", "¼ cup (95 g) cake flour", "1½ teaspoons (7 g) baking powder", "¼ cup (20 g) unsweetened cocoa powder", "½ cup plus 1 tablespoon (95 g) UHT cream", "¼ cup (60 g) grapeseed oil", "1½ ounces (40 g) Guanaja chocolate" ] }, { "section": "For the vanilla cake", "ingredients": [ "4 large (200 g) eggs (¾ cup plus 1 tablespoon)", "½ cup (60 g) trimoline (inverted sugar)", "½ cup (100 g) superfine sugar", "½ cup (60 g) ground almonds", "cup plus 2 tablespoons (115 g) cake flour", "1½ teaspoons (7 g) baking powder", "½ cup plus 1% tablespoons (100 g) UHT cream", "¼ cup (60 g) grapeseed oil", "2 vanilla beans", "1½ ounces (40 g) white chocolate" ] }, { "section": "For the softened butter", "ingredients": [ "1 tablespoon (15 g) unsalted butter" ] } ], "instructions": [ "First, in an electric stand mixer fitted with a flat beater attachment, mix the eggs, trimoline, sugar, and ground almonds.", "Second, a separate bowl, mix the flour, baking powder, and cocoa powder, and add this mixture to the first one.", "Stir in the cream (at room temperature) and mix again.", "Add the grapeseed oil.", "Finally, add the Guanaja chocolate, previously melted in a bain-marie.", "To make the batter, follow the first step for the chocolate cake above.", "Second, add the vanilla (split and scraped beans) and melted white chocolate.", "Continue the recipe as described above.", "Spoon some of the chocolate cake batter into the bottom of a greased cake pan, then the vanilla cake batter on top. Repeat this process twice to make six layers.", "Use a knife to make zigzags through the different layers to create a marbling effect.", "Soften the butter, pour it into a pastry bag without a tip, make a hole at the end, and pipe a line of butter along the middle of the cake.", "Preheat the convection oven to 360°F (180°C).", "Bake the cake for 20 minutes.", "Reduce the temperature to 320°F (160°C) and finish baking for about 25 minutes." ], "author": "" }
- Assistant
{ "data": "WWW" }