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": "CHOCOLATE COOKIE PIE", "description": "Cookie pies are one of the most indulgent and delectable bakes that you can make and I can't get enough of them - just look at it. I love this bake because you can swap the flavours of the cookie dough (remove the cocoa powder and add 75g more flour for a plain cookie dough) or even switch the spread you use to a different flavour. This is one of the easiest bakes to customise as the recipe is very forgiving.", "subtitle": "A giant Chocolate Cookie Pie with a double chocolate chip cookie dough, a chocolate spread filling and even more chocolate... one for the chocoholics!", "ingredients": [ { "section": "For the recipe", "ingredients": [ "200g unsalted butter, at room temperature", "225g soft light brown sugar", "100g white granulated sugar", "1 egg", "1 egg yolk", "1 tsp vanilla extract", "350g plain flour", "50g cocoa powder", "1 tbsp cornflour", "1 tsp bicarbonate of soda", "½ tsp sea salt", "400g milk chocolate chips", "750g chocolate hazelnut spread (I use Nutella)", "200g chocolates" ] } ], "instructions": [ "Line the bottom of a 20cm springform cake tin with parchment paper.", "In a large bowl, cream the butter, brown sugar and white sugar together until smooth.", "Add the egg, egg yolk and vanilla extract and beat again.", "Add the flour, cocoa powder, cornflour, bicarbonate of soda and sea salt and beat until a thick cookie dough is formed.", "Add in the chocolate chips and mix until well distributed.", "Divide the cookie dough into three equal portions - each should weigh about 475g.", "Press one-third of the cookie dough into the bottom of the lined cake tin.", "Press another third of the cookie dough around the sides of the cake tin as evenly as possible.", "Put the chocolate hazelnut spread in a small heatproof bowl and microwave for 20 seconds to loosen it slightly. Alternatively, mix in a bowl briefly to loosen.", "Pour into the cookie dough case that you have formed inside the tin.", "Press the chocolates into the spread.", "Transfer the pie to the freezer for 1 hour.", "Once frozen, remove from the freezer and cover the top of the cookie pie with the final third of cookie dough, sealing it well at the edges.", "Return the cookie pie to the freezer for another hour while you preheat the oven to 200°C/180°C fan.", "Transfer the cookie pie to the oven and bake for 30 minutes until golden on top.", "Leave to cool in the tin for 1 hour.", "Return the cookie pie to the fridge and chill for a further 5-6 hours, or preferably overnight.", "Carefully remove from the tin and use a large, sharp knife to cut the pie into slices." ], "author": null }
- Assistantjson
{ "data": "WWW" }