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": "Frankenstein Ice Cream Cake", "description": null, "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "½ gallon mint chocolate chip ice cream", "2 cups heavy whipping cream", "½ cup white sugar", "1 pouch whipped cream stabilizer (such as Dr. Oetker Whip It)", "2 teaspoons vanilla extract", "1 drop green food coloring, or as desired.", "2 cups crushed chocolate sandwich cookies (such as Oreo)", "½ cup melted butter", "1 tablespoon hot fudge sauce, or as needed", "2 tablespoons chocolate sprinkles, or as desired", "2 cookies chocolate sandwich cookies (such as Oreo)" ] } ], "instructions": [ "Put ice cream in the refrigerator to soften while you make whipped cream frosting.", "Beat cream in a bowl using an electric mixer until stiff peaks almost form.", "Add white sugar, whipped cream stabilizer, vanilla extract, and green food coloring to whipped cream; beat until stiff peaks form.", "Scoop softened ice cream into a large bowl; stir until a uniform consistency is reached. The ice cream shouldn't be completely melted, but firm enough to hold form.", "Scoop ice cream into the loaf pan and spread evenly using a spatula, trying to avoid creating air bubbles.", "Mix crushed cookies and melted butter together in a bowl.", "Pat cookie mixture the ice cream for the "hair"; freeze for 5 hours.", "Run a knife along the edges of the pan and carefully flip it upside-down over a cake platter.", "Return cake to the freezer until firm, at least 30 minutes.", "Spread whipped cream evenly over the top and sides of cake. Freeze cake until solid, about 1 hour more.", "Spoon hot fudge sauce onto the cake creating "eyes", a "mouth", and "hairline"; top hot fudge areas with sprinkles.", "Place 1 cookie on each side of the bottom of the cake for the "neck bolts".", "Freeze cake until ready to eat." ], "author": null }
- Assistantjson
{ "data": "WNA" }