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": "Vegetable pie", "description": "A pie bursting with antioxidants, gentle fibre, vitamins, mineral salts and not much fat: how much better could it be?", "subtitle": "", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "400 g de pâte brisée", "500 g de Swiss chard", "1 fennel bulb", "2 courgettes", "1 red onion", "1 garlic clove", "2 tablespoons of olive oil", "2 sprigs of thyme", "30 g of shelled peas", "30 g of shelled broad beans", "small bunch of parsley", "small bunch of chervil", "small bunch of chives", "2 tablespoons of pitted block olives", "3 tablespoons of crème fraîche", "2 egg yolks", "2 tablespoons of grated parmesan", "salt", "3 pinches of sesame seeds" ] } ], "instructions": [ "Check when the pie is done by inserting a skewer or knife into it. It should come out dry.", "If you make your pâte brisée in advance, begin by placing it in the pie dish and put it in the fridge while you prepare the vegetables.", "Wash 500 g of Swiss chard. Plunge the leaves in salted boiling water for 2 minutes. Drain and squeeze to extract as much water as possible. Chop them and set to one side.", "Wash 1 fennel bulb and 2 courgettes. Thinly slice the fennel. Cut the courgettes in half lengthwise and remove the seeds before thinly slicing these too.", "Peel 1 red onion and slice thinly. Peel and crush 1 garlic clove.", "Heat a frying pan with 2 tablespoons of olive oil and sweat the fennel, courgettes, onion and garlic with the leaves of 2 sprigs of thyme for 10 minutes.", "Then add the Swiss chard and 30 g of shelled peas and 30 g of shelled broad beans, salt and cook gently for 5 minutes.", "While this is cooking, rinse, dry, and chop the leaves of a small bunch of parsley and a small bunch of chervil. Wash and finely chop a small bunch of chives. Crush 2 tablespoons of pitted block olives.", "In a bowl, mix 3 tablespoons of crème fraîche with 2 egg yolks (3 yolks required in total for recipe).", "After 15 minutes of cooking, take the frying pan off the heat and incorporate all these ingredients, gradually, stirring well.", "Also add 2 tablespoons of grated parmesan. Mix well. Taste and adjust the seasoning, adding salt if needed.", "Preheat the oven to 180 °C (gas mark 4).", "Cut the ball of pastry in half and roll out each half. Lay one of the rolled-out pieces in a 24 cm diameter baking tin.", "Pile the contents of the frying pan on top in a dome shape, then cover with the other piece of pastry and press the edges together.", "Mix the last egg yolk with a little water and brush the whole surface of the pie.", "Sprinkle the top with 3 pinches of sesame seeds. Pierce a hole in the centre of the pie to allow the steam to escape.", "Put in the oven for 30 minutes.", "Then allow to rest for 15 minutes.", "Serve it in its baking tin." ], "author": "" }
- Assistant
{ "data": "WEU" }