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": "Crêpes", "description": "Avec une salade et un joli dessert, cela fait un parfait dîner de dimanche soir.", "subtitle": "Buckwheat crêpes with andouille and leeks", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "75 g de farine de sarrasin", "40 g de farine pâtissière", "2 gros œufs", "350 ml de lait demi-écrémé", "40 g de beurre légèrement salé", "2 petites poireaux", "un peu d'huile d'olive", "12 fines tranches d'Andouille de Guéméné ou autre saucisse de porc fumée à grain gros", "sel" ] } ], "instructions": [ "Tip 75 g of buckwheat flour and 40 g of pastry flour into a bowl.", "Mix together and make a well in the centre.", "Separate the whites and yolks of 2 large eggs and drop the yolks in the well.", "Mix in, gradually adding 350 ml of semi-skimmed milk.", "Cut 40 g of lightly salted butter into pieces and melt in a small pan until lightly golden.", "Pour into the batter, beating well as you do so.", "Beat the egg whites until stiff then fold them gently into the batter, stirring constantly in the same direction so that they don't collapse.", "Cover the bowl with a clean tea towel and leave the batter to rest for 1 hour.", "Wash 2 small leeks, cut off the base, remove the green part, take off the outer leaf, and cut them at an angle into thin slices about 4 mm thick.", "Heat a splash of olive oil in a pancake pan, add the leeks, salt and then sweat for 2 minutes, keeping them crunchy.", "Remove from the pan with a slotted spoon and lay them on a plate.", "Take the skin off 12 thin slices Andouille de Guéméné or other coarse-grained smoked pork sausage and shred them.", "Return the pancake pan to the heat.", "When it's hot, scatter a spoonful of leeks and 3 slices of andouille, and cook for just 20 seconds.", "Then pour a small ladle of batter and spread it over the whole surface of the pan.", "Cook until the edges of the crêpe begin to colour then toss or turn with a spatula and cook the other side for approximately 1 minute.", "Lay the crêpe on a plate and keep warm.", "Cook the other three crêpes in the same way." ], "author": "" }
- Assistant
{ "data": "FR" }