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": "Overnight Cinnamon Bun French Toast", "description": "I love cinnamon buns but hate making them. Ky had the genius idea for this hybrid French toast and cinnamon bun dish, which I had a hard time visualizing at first, but it tastes exactly how you would imagine. What makes this easy is that there's no need to make cinnamon bun dough (definitely the part that will most likely get messed up). This version takes a bit of patience while the bread soaks up the egg and cinnamon bun flavours, but once you're past that, you bake it, top with icing, and devour.", "subtitle": null, "ingredients": [ { "section": "Cinnamon Bun Filling", "ingredients": [ "1 cup (250 mL) unsalted butter, at room temperature", "1 cup (250 mL) brown sugar", "1 tablespoon (15 mL) pure vanilla extract", "1 teaspoon (5 mL) cinnamon" ] }, { "section": "French Toast", "ingredients": [ "10 slices tramezzini bread (or white sandwich bread, crusts removed)", "5 large eggs", "1 teaspoon (5 mL) cinnamon", "1 teaspoon (5 mL) pure vanilla extract" ] }, { "section": "Cinnamon Bun Icing", "ingredients": [ "4 cups (1 L) icing sugar", "1/4 cup (60 mL) whole milk", "1/2 cup (125 mL) unsalted butter, at room temperature", "1 tablespoon (15 mL) heavy (35%) cream", "2 teaspoons (10 mL) pure vanilla extract" ] } ], "instructions": [ "Combine the butter, brown sugar, vanilla, and cinnamon in a food processor and blend until smooth.", "Spread a thin layer of Cinnamon Bun Filling on each tramezzini bread slice.", "Carefully roll each slice like a mini jelly roll.", "Slice each spiral in half crosswise and gently re-form so both ends are circular. (This bread is very soft and is sometimes squished when slicing, so reforming it allows the bread to regain the round shape of a cinnamon bun.)", "Butter a 9-inch (23 cm) round cake pan.", "Crack the eggs into a medium bowl, add the cinnamon and vanilla, and whisk to combine.", "One or two at a time, roll the bread spirals in the egg mixture to ensure that all sides are soaked.", "Arrange the egg-soaked bread cut side up in the buttered pan. Ensure the spirals are tightly packed into the pan (it should look like a pan of pre-baked cinnamon buns).", "Pour any remaining egg mixture over top.", "Cover with plastic wrap and refrigerate overnight.", "Preheat the oven to 350°F (180°C).", "Bake the Overnight Cinnamon Bun French Toast for 35 minutes, or until golden and the rolls are puffed out like actual cinnamon buns.", "Allow to cool in the pan for about 5 minutes.", "While the French toast is baking, make the icing by combining the icing sugar, milk, and butter in a bowl and beat until fluffy.", "Add the cream and vanilla and beat until the icing is smooth.", "Slather the slightly cooled Overnight Cinnamon Bun French Toast with icing. If you're like me, you'll want every inch of those French toast buns covered." ], "author": null }
- Assistantjson
{ "data": "US" }