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": "Ann's Chocolate Chip Carrot Cake Pumpkins", "description": null, "subtitle": null, "ingredients": [ { "section": "Cupcakes", "ingredients": [ "2 cups cake flour", "2 teaspoons ground cinnamon", "1½ teaspoons baking soda", "1 teaspoon baking powder", "1 teaspoon salt", "2 cups white sugar", "1 ½ cups vegetable oil", "4 large eggs eggs", "2 cups grated carrots", "1 (8 ounce) can crushed pineapple, drained", "½ cup chopped walnuts", "½ cup semisweet chocolate chips" ] }, { "section": "Frosting", "ingredients": [ "1 tablespoon cake flour", "½ cup butter", "1 (8 ounce) package cream cheese, softened", "1 tablespoon vanilla extract", "2 cups confectioners' sugar, or more as needed", "1 tablespoon lemon juice", "3 drops orange food coloring", "1 (1.5 ounce) tube black decorating gel" ] } ], "instructions": [ "Preheat oven to 325 degrees F (165 degrees C). (If using a countertop induction oven, preheat to 325 degrees F.) Grease\n12 pumpkin-shaped cupcake molds (silicon molds work well).", "Sift 2 cups cake flour, cinnamon, baking soda, baking powder, and salt together in a bowl. Mix in sugar, oil, and eggs\nuntil combined. Stir carrots and pineapple into the batter.", "Place 1 tablespoon cake flour in a bowl. Toss walnuts and chocolate chips in flour until coated; fold into batter.", "Pour batter into cupcake molds to about two-thirds full; gently tap molds onto work surface to remove air bubbles.", "Bake in preheated oven (or countertop induction oven) until a toothpick inserted into the center of a cupcake comes out\nclean, 20 to 25 minutes (or 15 to 20 minutes in the countertop induction oven). Cool to room temperature, 15 to 20\nminutes; remove from molds.", "Combine butter, cream cheese, and vanilla extract in a bowl; beat with an electric mixer until well blended, 4 to 6\nminutes. Mix in confectioners' sugar on low speed, 1/2 cup at a time, until frosting is smooth and spreadable. Add lemon\njuice and orange food coloring; stir until combined. Refrigerate until set, 15 to 20 minutes.", "Frost cupcakes with the cream cheese frosting; decorate with black decorating gel." ], "author": "Ann" }
- Assistant
{ "data": "WNA" }