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": "S'MORES MUFFINS", "description": "A s'more is typically a combination of biscuit, marshmallow and chocolate, so can you imagine anything better than a muffin version? Here I've created a vanilla muffin, studded with chocolate-chip biscuit pieces and topped with marshmallow fluff and a sprinkling of biscuit crumbs. These beauties encapsulate all things autumnal and 'bonfire'.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "200g self-raising flour", "½ tsp sea salt", "125g soft light brown sugar", "150ml buttermilk", "2 eggs", "125ml sunflower oil/vegetable oil", "½ tsp vanilla extract", "200g dark chocolate chips", "150g biscuits, chopped", "200g marshmallow fluff" ] }, { "section": "Topping", "ingredients": [ "50g biscuits, crushed to fine crumbs", "1 tsp soft light brown sugar", "15g unsalted butter, melted" ] } ], "instructions": [ "Preheat the oven to 190°C/170°C fan and get 12 muffin cases ready.", "In a large bowl, add the flour, sea salt and sugar and mix briefly to combine.", "Add the buttermilk, eggs, oil and vanilla extract and whisk lightly until just combined.", "Finally, fold through the chocolate chips and chopped biscuits.", "Divide the mixture equally between the 12 muffin cases.", "Dollop a teaspoon of marshmallow fluff onto each muffin.", "In a large bowl, mix the biscuit crumbs, sugar and melted butter together to make a crumble topping.", "Sprinkle the crumble over the marshmallow fluff and the muffins.", "Transfer the muffins to the oven and bake for 22-25 minutes.", "Leave to cool fully on a wire rack." ], "author": null }
- Assistantjson
{ "data": "WNA" }