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": "OG Buttermilk Pancakes", "description": "This chapter is filled with a number of delicious, over-the-top pancake recipes, but before we get into wacky ideas and add-ons, I had to nail the\nperfect airy pancake with just the right amount of sweetness. I give you the OG Buttermilk Pancake. I played around with the recipe quite a bit\nuntil I thought it was exactly the way an OG pancake should look and taste, and now I'm happy with how these stack up...(Get it? Stack up, like a\npancake stack? Okay, I'll stop now.) From here you can do with them what you like: add chocolate chips, or blueberries, or whatever floats your\nboat.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "3 cups (750 mL) all-purpose flour", "¼ cup (60 mL) white sugar", "1 tablespoon (15 mL) baking powder", "1½ teaspoons (7 mL) baking soda", "3/4 teaspoon (4 mL) salt", "1/4 teaspoon (1 mL) cinnamon", "3 cups (750 mL) buttermilk", "½ cup (125 mL) whole milk", "3 large eggs", "5 tablespoons (75 mL) unsalted butter, melted", "1 teaspoon (5 mL) pure vanilla extract", "1 teaspoon (5 mL) unsalted butter, for the pan" ] }, { "section": "For Serving", "ingredients": [ "Butter", "Pure maple syrup" ] } ], "instructions": [ "In a large bowl whisk together the flour, sugar, baking powder, baking soda, salt, and cinnamon.", "In a second bowl whisk together the buttermilk, milk, eggs, melted butter, and vanilla.", "Add the wet ingredients to the dry ingredients and whisk just until you have a smooth, lump-free batter.", "Melt 1 teaspoon (5 mL) butter in a large non-stick frying pan over medium-high heat.", "Using a 1-cup (250 mL) ladle, pour the batter into the hot pan.", "When the pancake is slightly browned on the bottom and you see small bubbles begin to form on the top, flip it with a large spatula.", "Cook the pancake until the second side is browned.", "Repeat with the remaining batter.", "Stack the finished pancakes on a plate and keep covered with paper towel to retain heat until all the pancakes have been made.", "Serve with butter and maple syrup." ], "author": null }
- Assistant
{ "data": "WNA" }