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": "HONEY CRUNCH CAKE", "description": null, "subtitle": null, "ingredients": [ { "section": "HONEY CRUNCH", "ingredients": [ "3 tablespoons water", "1 cup granulated sugar", "3 tablespoons corn syrup", "24 teaspoons baking soda, sifted" ] }, { "section": "HONEY SIMPLE SYRUP", "ingredients": [ "1/2 cup water", "1/2 cup granulated sugar", "2 teaspoons honey" ] }, { "section": "HONEY WHIPPED CREAM", "ingredients": [ "3 cups heavy cream", "3/4 cup confectioners' sugar", "5 tablespoons honey" ] } ], "instructions": [ "Combine water, sugar, and corn syrup in a large saucepan over medium heat.", "Insert a candy thermometer.", "When temperature reaches 310°F, whisk in baking soda and turn off heat.", "Let mixture rise without stirring.", "Pour onto a nonstick baking mat and completely cool.", "When cool, break honey crunch into several pieces and store in a resealable plastic bag.", "Squeeze the bag to break candy into small pieces.", "Combine the water and sugar in a saucepan; bring to a boil.", "Remove from heat and whisk in honey.", "Store in the refrigerator until ready to use.", "In an electric mixer with a whip attachment, combine heavy cream and confectioners' sugar.", "Mix on medium speed for 2 minutes or until cream begins to thicken.", "Add honey and increase the speed, whipping until medium soft peaks form.", "Cut the cooled cake in half.", "Reserve top layer.", "Drizzle the bottom layer with simple syrup.", "Generously spread whipped cream on the bottom layer, then sprinkle with broken pieces of honey crunch.", "Spread a little more whipped cream over the honey crunch.", "Replace the top layer and drizzle with remaining simple syrup.", "Frost the top and the sides of the cake with remaining whipped cream.", "Break and arrange remaining honey crunch on each piece.", "Best when served immediately." ], "author": null }
- Assistant
{ "data": "WWW" }