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": "TRIPLE CHOCOLATE BROWNIES", "description": "I utterly adore brownies that are absolutely full of chocolate flavour. These are thick, fudgy and gooey all at once-perfection! I always use dark chocolate with at least 70% cocoa solids for brownies as it creates the BEST flavour - this is another recipe that has a firm following on my blog so you obviously all agree! With this rich delicious base, I flavour my brownies with three types of chocolate chips - but you can choose whatever you want. And the great thing about brownies i that you can warm them up, top with ice cream and enjoy as a pudding!", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "200g unsalted butter", "200g dark chocolate", "4 eggs", "275g caster sugar", "100g plain flour", "50g cocoa powder", "100g white chocolate chips", "100g milk chocolate chips", "100g dark chocolate chips" ] }, { "section": "CUSTOMISE (Optional)", "ingredients": [ "vanilla extract", "peppermint extract", "zest of a large orange", "pieces of your favourite chocolate bars", "200g dried fruit or nuts", "150g frozen or fresh berries", "75g desiccated coconut" ] } ], "instructions": [ "Preheat the oven to 180°C/160°C fan and line a 23cm square baking tin with parchment paper.", "Melt together the butter and dark chocolate in a heatproof bowl set over a pan of simmering water, or in the microwave for 1-2 minutes. Set aside to cool to room temperature.", "Using an electric whisk or stand mixer, whisk together the eggs and caster sugar for a few minutes until the colour has turned pale, is very mousse-like, and has doubled in volume. You will know when it's ready because when you lift the whisk out of the mix it should leave a trail for a couple of seconds before disappearing.", "Pour the cooled chocolate and butter over the egg and sugar mixture and fold together carefully. It might take some time but be patient - you do not want to knock out the air you whisked in at the previous step. Once completely combined, sift the plain flour and cocoa powder on top of the chocolate mix and then gently fold together again. Fold through the chocolate chips and pour into the lined tin.", "Bake for 25-30 minutes.", "Once baked, leave to cool fully in the tin. You can also 'set' the brownies in the fridge for 2 hours to create a lovely fudgy texture once they have cooled from the oven." ], "author": null }
- Assistant
{ "data": "WNA" }