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": "Pumpkin Cheesecake Cupcakes", "description": null, "subtitle": null, "ingredients": [ { "section": "Crust", "ingredients": [ "1 (4.8 ounce) package graham crackers", "2 tablespoons ground ginger", "6 tablespoons butter, melted" ] }, { "section": "Filling", "ingredients": [ "3 (8 ounce) packages cream cheese, softened", "½ cup white sugar", "½ cup packed brown sugar", "1 (15 ounce) can pumpkin puree", "1 tablespoon ground cinnamon", "1 tablespoon ground ginger", "2 teaspoons ground nutmeg", "1 teaspoon ground cloves", "1/4 teaspoon salt", "3 large eggs eggs" ] }, { "section": "Topping", "ingredients": [ "1 cup sour cream", "3 tablespoons confectioners' sugar, or to taste", "1 tablespoon vanilla extract", "1 pinch ground cinnamon, for garnish" ] } ], "instructions": [ "Step 1\nPreheat oven to 350 degrees F (175 degrees C). Line 24 muffin cups with foil liners.", "Step 2\nCrush graham crackers and 2 tablespoons ground ginger together in a resealable plastic bag; pour into a bowl.", "Add butter to graham cracker mixture and mix with a fork or pastry blender until blended.", "Step 3\nBeat cream cheese, white sugar, and brown sugar together in a large bowl until creamy; beat in pumpkin puree.", "Add cinnamon, 1 tablespoon ginger, nutmeg, cloves, and salt; add eggs 1 at a time, beating well after each\naddition.", "Step 4\nPress 1 tablespoon graham cracker mixture into the base of each prepared muffin cup, pressing mixture slightly\nup the sides of the liners. Fill each cup with cream cheese mixture.", "Step 5\nBake in the preheated oven until tops are smooth and cupcakes jiggle slightly when moved, about 15 minutes.", "Cool in the pans for 10 minutes before transferring to a wire rack to cool.", "Step 6\nStir sour cream, confectioners' sugar, and vanilla extract together in a bowl until frosting is smooth. Top each\ncheesecake with the topping and sprinkle with cinnamon." ], "author": null }
- Assistantjson
{ "data": "WNA" }