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": "GARLIC STUFFED BREAD", "description": "You know when you make a recipe, and it says one garlic clove for the entire dish? Are you like me and at least double, if\nnot triple the quantity? Well, you will definitely enjoy this Garlic-Stuffed Bread then. I used four garlic cloves, but you\ncould increase the number of cloves if you want - the balance of the garlicky goodness with the crunch of the sea salt and\nthe fresh parsley is spot on. Grabbing a bread loaf from any supermarket bakery, slicing it to create a pull-apart-style bake\nand packing it with the garlic butter is simple. The thing that turns it up a notch? All of the mozzarella that is stuffed into\nit!", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "100g unsalted butter", "4 garlic cloves, crushed", "1 tsp sea salt", "10g fresh parsley, finely chopped", "1 large crusty bread loaf", "250g mozzarella, grated" ] } ], "instructions": [ "Preheat the oven to 200°C/180°C fan and line a large baking tray with parchment paper.", "In a small bowl, add the butter, garlic and sea salt and microwave in short bursts until melted and smooth.", "Stir in the parsley.", "On a chopping board, cut 2-5cm-sized diamonds into the top of the bread, cutting down only two-thirds into the loaf so that the base stays whole.", "Cut diagonals in one direction, then turn the bread around and cut in the other direction.", "Carefully spoon the melted garlic butter mixture into the segments you have created and then sprinkle over the mozzarella, stuffing it into the cracks.", "Wrap the bread in foil and bake in the oven for 20 minutes.", "Remove the foil and bake for another 10 minutes until the cheese browns and turns crispy.", "Let the bread cool for 20 minutes and then enjoy." ], "author": null }
- Assistant
{ "data": "WWW" }