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": "Kit Kat Bundt Cake", "description": null, "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "1 serving cooking spray", "4 cups all-purpose flour", "2 tablespoons baking powder", "3/4 teaspoon salt", "2½ cups white sugar", "2 cups butter, at room temperature", "5 large eggs eggs", "2/3 cup milk", "1½ teaspoons vanilla extract", "6 miniature bar (.35 oz)s snack-size chocolate-covered wafer candy bars (such as Kit Kat), coarsely chopped, or more to taste" ] }, { "section": "Frosting", "ingredients": [ "1 tablespoon all-purpose flour", "1/4 cup white sugar", "1/4 cup evaporated milk", "1/4 cup butter", "1/4 cup chocolate chips", "½ teaspoon vanilla extract" ] } ], "instructions": [ "Step 1\nPreheat oven to 350 degrees F (175 degrees C). Spray the inside of a fluted tube pan (such as Bundt) with cooking spray.", "Step 2\nCombine 4 cups flour, baking powder, and salt together in the bowl of a stand mixer. Add 2 1/2 cups sugar, 2 cups softened butter, milk, eggs, and 1 1/2 teaspoons vanilla extract to flour mixture; lightly stir with a spatula to moisten ingredients. Mix on low speed until batter is evenly combined, about 3 minutes.", "Step 3\nToss candy bar pieces with remaining 1 tablespoon flour in a bowl until coated; fold into batter. Spread batter into the prepared pan.", "Step 4\nBake in the preheated oven until a toothpick inserted in the cake comes out moist with crumbs clinging, about 1 hour. Cool in pan for 25 minutes; remove from pan and cool completely on a wire rack.", "Step 5\nCombine 1/4 cup white sugar, evaporated milk, 1/4 cup butter, chocolate chips, and 1/2 teaspoon vanilla extract together in a saucepan; bring to a boil, stirring constantly. Reduce heat and simmer until frosting is thickened, about 5 minutes. Pour frosting over cake." ], "author": null }
- Assistantjson
{ "data": "WNA" }