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": "Whipped Chocolate Cake", "description": "Komi, a beautiful girl who appears to be aloof, suffers from extreme social anxiety and struggles to make friends. In this chapter of the manga, Komi is invited by her friends to make a chocolate cake for Valentine's Day. This recipe, adapted from the manga, is extra creamy and chocolaty.", "subtitle": null, "ingredients": [ { "section": "Whipped Chocolate Cake", "ingredients": [ "1½ cup (85 g) semisweet chocolate chips", "¼ cup (55 g) unsalted butter", "½ cup (50 g) unsweetened cocoa powder", "2 tablespoons hazelnut milk (or any dairy or nondairy milk)", "4 large egg whites", "½ cup (100 g) sugar, divided", "4 large egg yolks", "1½ tablespoons brandy (or 1 teaspoon vanilla extract)", "2 tablespoons all-purpose flour", "2 pinches salt" ] }, { "section": "Soft Whip", "ingredients": [ "1½ cups (360 ml) heavy whipping cream", "½ tablespoon sugar", "1 teaspoon vanilla extract" ] } ], "instructions": [ "To make the whipped chocolate cake: Preheat the oven to 350°F (175°C; gas mark 4). Line the sides and bottom of the 7 x 3-inch (18 x 7.5 cm) or 8 x 2-inch (20 x 5 cm) round cake pan with parchment paper and set aside.", "In a small microwave-safe bowl, microwave the chocolate chips and butter in 15- to 30-second increments, until melted, stirring in between. Add the cocoa powder and hazelnut milk and stir until fully combined.", "In a medium bowl, using a hand mixer with a whisk attachment, whip the egg whites and ¼ cup (50 g) of the sugar. Start at low speed, and once frothy, increase to medium-high until stiff peaks form, about 6 minutes.", "In a large bowl, whip the egg yolks and the remaining ¼ cup (50 g) sugar with the same whisk attachment and whip until pale in color and tripled in volume. Add the brandy and mix on low speed until combined. Using a spatula, slowly fold in the melted chocolate in thirds.", "Whisk one-third of the stiff egg whites into the chocolate-yolk mixture to loosen. Continue to fold in the stiff egg white mixture in one-third increments. Add the flour and salt and fold until combined, aiming to fold less than ten times.", "Place the chocolate cake batter into the prepared cake pan, lightly tap the pan on a surface to get rid of larger air bubbles, and bake for 18 to 20 minutes, until a toothpick inserted in the center comes out clean. Let the cake rest for a few minutes. (Deflating is normal for soufflé-like cakes and is accurate to the anime.)", "To make the soft whip: Add all the soft whip ingredients to a medium bowl and, using a hand mixer with a clean whisk attachment, whip on slow speed, gradually increasing to medium-high speed, until soft peaks form, around 3 minutes.", "Slice the cake into wedges and serve each slice with a dollop of soft whip." ], "author": null }
- Assistant
{ "data": "WWW" }