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": "Pop Art Cookie", "description": "A multifaceted celebration of art in many forms, EPCOT International Festival of the Arts features world-class cuisine, remarkable visual art, and an extraordinary lineup of performance art, music, and hands-on workshops and seminars. Kids have a blast decorating with the glaze on the whimsical cookie.", "subtitle": "Sweet Endings and Desserts", "ingredients": [ { "section": "SUGAR COOKIE", "ingredients": [ "1/2 cup sugar", "1 cup butter", "1 egg white", "2½ cups all-purpose flour, sifted", "1/8 teaspoon salt" ] }, { "section": "TOPPINGS", "ingredients": [ "6 tablespoons strawberry jam" ] }, { "section": "GLAZE", "ingredients": [ "1/2 cups powdered sugar", "3 to 4 tablespoons milk", "2 teaspoons vanilla extract", "food coloring" ] } ], "instructions": [ "Cream sugar and butter until fluffy in bowl of electric mixer fitted with paddle attachment.", "Add egg white and beat for 1 minute.", "Slowly add flour and salt and beat at medium speed until soft dough forms.", "Cover and refrigerate for 30 minutes.", "Preheat oven to 300°F.", "Line a baking sheet with parchment or silicone baking mat.", "Roll dough into a 1/4-inch-thick rectangle on a lightly floured surface.", "Cut into 6 (3x5-inch) rectangles.", "Place cookies on prepared baking sheet and bake for 15 minutes, or until golden brown.", "Remove from oven and cool.", "Spread 1 tablespoon strawberry jam on each cookie, leaving a border of about 1/8 inch around edges.", "Set aside.", "Whisk powdered sugar, 3 tablespoons of milk, and vanilla extract in a pie plate until smooth.", "(Add additional milk if glaze is too thick.)", "Set aside 2 tablespoons of glaze in small bowl.", "Dip each cookie, jam side down, in glaze to cover the jam.", "Set on a wire rack to dry.", "Mix remaining glaze with desired colors of food coloring.", "Use a fork to drizzle on cookies." ], "author": null }
- Assistant
{ "data": "WWW" }