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": "Monster Chocolate Cupcakes for Halloween", "description": null, "subtitle": null, "ingredients": [ { "section": "Chocolate Cupcakes", "ingredients": [ "½ cup milk", "1 tablespoon white vinegar", "½ cup unsalted butter, at room temperature", "10 tablespoons white sugar", "2 teaspoons vanilla sugar", "2 large eggs", "3/4 cup all-purpose flour", "1 tablespoon all-purpose flour", "½ cup unsweetened cocoa powder", "½ teaspoon baking powder", "1/4 teaspoon baking soda", "1 pinch salt" ] }, { "section": "Cream Cheese Frosting", "ingredients": [ "1 (8 ounce) package cream cheese, softened", "1/4 cup unsalted butter, at room temperature", "1 teaspoon vanilla extract", "1 cup confectioners' sugar, sifted", "2 drops green food coloring", "24 eaches candy eyeballs" ] } ], "instructions": [ "Combine milk and vinegar in a bowl. Let stand until milk curdles, about 5 minutes.", "Preheat oven to 350 degrees F (175 degrees C). Grease a 12-cup muffin tin or line cups with paper liners.", "Combine 1/2 cup butter, white sugar, and vanilla sugar in a large bowl; beat with an electric mixer until smooth and creamy. Add eggs one at a time, beating well after each addition.", "Mix 3/4 cup plus 1 tablespoon flour, cocoa powder, baking powder, baking soda, and salt in a bowl. Alternate adding flour mixture and curdled milk to the creamed butter mixture, mixing until batter is well blended. Spoon batter into the prepared muffin cups, filling each 3/4 full.", "Bake in the preheated oven until tops spring back when lightly pressed and a toothpick inserted in the center of 1 cupcake comes back clean, about 14 minutes. Cool in the muffin tin for a few minutes, then transfer to a wire rack to cool completely, about 1 hour.", "Combine cream cheese and 1/4 cup butter in a bowl; beat with an electric mixer until well combined. Mix in vanilla extract. Stir in confectioners' sugar gradually. Color frosting green with a few drops of food coloring.", "Place green frosting in a pastry bag fitted with a grass tip. Hold the pastry bag at a 90-degree angle 1/8 inch above the surface of a cupcake. Squeeze bag to form green 'fur' by pulling tip up and away when the icing strand is about 1/2 inch high. Repeat to cover cupcake evenly with fur. Add 2 eyes to each cupcake." ], "author": null }
- Assistantjson
{ "data": "WNA" }