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": "CARROT LOAF CAKE", "description": "So ...\ncarrot cake. It's safe to say I am slightly obsessed with it, and it's a firm favourite on my blog too. My top flavour can change\nfrequently but put a piece of carrot cake in front of me and I will always be happy. This spiced loaf cake topped with a cream cheese\nfrosting is perfection in every bite - soft, moist and delicious. You basically can't go wrong with carrot cake. Honestly, it always works!", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "175ml sunflower oil", "3 large eggs", "200g soft light brown sugar", "250g grated carrots", "100g raisins", "Zest of 1 orange", "200g self-raising flour", "1 tsp bicarbonate of soda", "2 tsp mixed spice", "1 tsp ground ginger", "1 tsp ground cinnamon", "1 tsp grated nutmeg" ] }, { "section": "CREAM CHEESE FROSTING", "ingredients": [ "125g unsalted butter, at room temperature", "125g icing sugar", "250g full-fat soft cheese", "1 tsp vanilla extract" ] }, { "section": "DECORATION", "ingredients": [ "Fondant carrots", "Chopped nuts" ] } ], "instructions": [ "Preheat the oven to 180°C/160°C fan and grease and line a 900g loaf tin with parchment paper.", "Put the sunflower oil, eggs and brown sugar into a large bowl and mix lightly until combined.", "Add the grated carrots, raisins and orange zest and fold\nthrough to combine, then add the self-raising flour, bicarbonate of soda and all the spices and mix again - take care not to overmix.", "Pour the mixture into the tin and bake for 55-60 minutes. Sometimes it can take a little longer so test with a skewer - it should come out clean when\ninserted in the middle.", "Once baked, leave to cool in the tin for 10 minutes, then remove from the tin and leave to cool on a wire rack while you make\nthe frosting.", "Beat the butter in a bowl on its own for a few minutes to loosen it.", "Add the icing sugar, and beat again. I beat this for about 5 minutes to make it\nreally smooth.", "Before you add the soft cheese, make sure it does not have any excess water; drain it away if it does.", "Add the soft cheese and vanilla\nextract and beat - it can go through a lumpy stage first, but eventually it will become smooth and thick!", "Slather the cream cheese frosting over the cooled cake - I usually use an offset spatula.", "Decorate with fondant carrots and chopped nuts and enjoy!" ], "author": null }
- Assistantjson
{ "data": "WWW" }