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": "Veggie Pizza Pinwheels", "description": "Puff pastry pinwheels are one of the easiest treats to make - using store-bought puff pastry, of course. Lightly spiced and filled with red onions, mixed peppers, olives and cheese, these are extremely addictive. Serve with Tomato & Coriander Chutney (see page 137).", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "2 tablespoons black olives, chopped", "2 tablespoons chopped red pepper", "2 tablespoons chopped green pepper", "2 tablespoons tinned sweetcorn kernels, drained", "1 small red onion, diced", "1 teaspoon dried mixed herbs", "1 teaspoon chilli flakes", "½ teaspoon ground black pepper", "100g medium Cheddar cheese, grated", "375g ready-rolled puff pastry", "6 tablespoons ready-made smooth tomato pasta sauce", "1 egg, beaten", "salt" ] } ], "instructions": [ "Place the olives in a bowl with the red and green peppers, sweetcorn, red onion, mixed herbs, chilli flakes, black pepper and grated cheese and season with salt.", "Toss everything together.", "Unroll the puff pastry and spread a layer of pasta sauce over it, leaving a 1cm border around the edges.", "Scatter the veggie mix evenly on top.", "Roll up the pastry lengthways to make a tight roll and chill in the fridge for 10 minutes.", "Preheat the oven to 180°C (gas mark 4) and line a baking tray with baking paper.", "Use a sharp knife to cut the roll into 12 equal slices and arrange them on the prepared baking tray.", "Brush each pinwheel lightly with beaten egg and cook in the oven for 12-15 minutes until puffed and golden.", "These are best eaten fresh from the oven." ], "author": null }
- Assistant
{ "data": "GB" }