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": "Poop Emoji Cookies", "description": null, "subtitle": null, "ingredients": [ { "section": "Ingredients", "ingredients": [ "2½ cups all-purpose flour", "1 cup confectioners' sugar", "3/4 cup unsweetened cocoa powder", "2 tablespoons unsweetened cocoa powder", "4 teaspoons baking powder", "2 teaspoons vanilla sugar", "1 pinch salt", "1/4 cup milk", "1 egg", "9 tablespoons unsalted butter, cubed" ] }, { "section": "Decoration", "ingredients": [ "3 tablespoons confectioners' sugar", "2 teaspoons lemon juice, or as needed", "90 eaches candy eyeballs" ] } ], "instructions": [ "Combine flour, 1 cup confectioners' sugar, 3/4 cups plus 2 tablespoons cocoa powder, baking powder, vanilla\nsugar, and salt in a large bowl. Work in butter with your fingers until mixture resembles small crumbs. Add\nmilk and egg and knead into a soft dough. Place in a bowl, cover, and refrigerate for 30 minutes.", "Preheat oven to 375 degrees F (190 degrees C). Line 2 baking sheets with parchment paper.", "Roll dough into long, thin 8-inch ropes, pinching one end into a pointy tip. Arrange in the shape of a little poop-\nmound with the pointy tip on top and place onto the prepared baking sheet, leaving space between individual\ncookies.", "Bake in the preheated oven until lightly darkened on the bottom and dried, 10 to 12 minutes. Carefully remove\nfrom baking sheet and transfer onto a wire rack to cool completely, about 2 hours.", "Mix 3 tablespoons confectioners' sugar with lemon juice to form a thin icing. Glue 2 candy eyeballs on each\npoop cookie and let dry." ], "author": null }
- Assistant
{ "data": "WWW" }