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": "Halloween Skeleton Cookies", "description": null, "subtitle": null, "ingredients": [ { "section": "Icing", "ingredients": [ "1½ cups white sugar", "1 cup butter, softened", "2 eaches eggs", "1½ teaspoons vanilla extract", "1½ teaspoons almond flavoring", "3½ cups all-purpose flour", "1 teaspoon baking powder", "½ teaspoon salt", "2 tablespoons confectioners' sugar", "1 cup confectioners' sugar", "2 teaspoons milk, plus more as needed", "2 teaspoons light corn syrup, or more as needed", "1/4 teaspoon vanilla extract", "1 (1.5 ounce) tube black decorating gel" ] } ], "instructions": [ "Cream sugar and butter in a bowl with an electric mixer until creamy. Add eggs, 1 1/2 teaspoons vanilla extract, and almond flavoring and mix well.", "Stir flour, baking powder, and salt together in a second bowl. Add flour mixture to the creamed butter mixture and mix to combine. Wrap in plastic wrap and chill in the refrigerator for 3 to 4 hours or overnight.", "Preheat oven to 350 degrees F (175 degrees C). Line 2 baking sheets with parchment paper.", "Dust a work surface with 2 tablespoons confectioners' sugar and roll out dough into a 1/4-inch-thick circle. Cut out figure shapes with a gingerbread man cookie cutter and arrange cut-out cookies on prepared baking sheets.", "Bake in the preheated oven for 8 to 10 minutes. Remove from baking sheets carefully and transfer to wire racks. Cool completely, about 20 minutes.", "Stir 1 cup confectioners' sugar and milk together in a small bowl until smooth. Beat in corn syrup and 1/4 teaspoon vanilla extract until icing is smooth and glossy. Add more corn syrup if icing is too thick.", "Spoon icing into a piping bag with a small plain tip. Draw a filled-out circle inside the head for the skull and a skeleton on the body, including 3 horizontal lines for the ribs. Let cookies stand until icing dries completely, about 2 hour, best overnight.", "Use black decorating gel to draw eyes, a nose, and a mouth on the skull and let cookies dry again, about 1 hour." ], "author": null }
- Assistant
{ "data": "WNA" }