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": "Grilled langoustines", "description": "This takes only 2 minutes to cook, otherwise your langoustines will be too hard and dry. Serve with a nutcracker, so that everyone can open the claws without damaging their teeth. It would be hard to make anything simpler and lighter! Adapt the quantity of langoustines according to the size of the ones available. If they are large, four per person will be enough. Like all crustaceans, langoustines are full of iodine and mineral salts.", "subtitle": "with lemon", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "24 medium langoustines", "2 spring onions", "10 sprigs of lemon thyme", "1 unwaxed lemon", "olive oil", "sea salt", "Piment d'Espelette" ] } ], "instructions": [ "Split 24 medium langoustines in half lengthwise. Remove the black vein and also the sand sac in the head (or get your fishmonger to do it for you!).", "Set the oven grill to maximum (240 to 250 °C, gas mark 8 to 9).", "Peel, wash and finely chop 2 spring onions.", "Take the leaves from around 10 sprigs of lemon thyme.", "Cut 1 unwaxed lemon in half.", "Line up the half langoustines side by side, head to tail, in a dish or on a baking tray.", "Sprinkle the chopped spring onions and thyme leaves over.", "Put in the oven for 2 minutes.", "When you take them out, grate a little lemon zest over and drizzle with a splash of olive oil and lemon juice. Sprinkle a little sea salt and Piment d'Espelette on top and serve immediately." ], "author": "" }
- Assistant
{ "data": "FR" }