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": "Freekeh, Beef, and Vegetables Pies", "description": "This dish is often made during special occasions because it looks very pretty and is easy to serve in individual portions. Sometimes, for an even more impressive presentation, it is made in a giant bowl as one large dome that is then cracked open at the table. Normally made with rice, I opted for freekeh in this recipe because that's how my mother makes it.", "subtitle": "This dish is often made during special occasions because it looks very pretty and is easy to serve in individual portions.", "ingredients": [ { "section": "For the recipe", "ingredients": [ "1 tablespoon butter", "2 tablespoons olive oil", "1 large onion, finely diced", "1 teaspoon salt", "½ teaspoon Nine Spice Mix (page 24)", "½ teaspoon ground cumin", "7 oz/200 g ground (minced) beef or lamb", "7 oz/200 g freekeh", "3½ oz/100 g carrots, diced", "3½ oz/100 g green peas", "1 quantity Toasted Pine Nuts (page 31)", "1 lb 2 oz/500 g bought all-butter puff pastry sheets", "1 egg, lightly beaten with 1 tablespoon water" ] } ], "instructions": [ "Heat the butter and oil in a large pan over medium heat.", "Add the onion, salt, and spices, reduce the heat, and cook for 6-8 minutes, stirring occasionally, until the onions have softened and started to brown.", "Increase the heat to high and add the ground (minced) beef.", "Break up any lumps with a wooden spoon and cook for 10-12 minutes, or until browned. If your beef releases water, you may need to cook a little longer until the water has evaporated and the beef has browned.", "Reduce the heat, add the freekeh, and mix until combined. Continue to cook, stirring occasionally, until lightly toasted, about 6 minutes.", "Pour in 18 fl oz/500 ml water, give it one final stir, and bring to a boil.", "Reduce the heat, cover the pan, and simmer gently over low heat for 35-45 minutes.", "Taste the freekeh, if it still has too strong a bite, add some more water and continue to cook over low heat until it is fully cooked.", "Meanwhile, bring a small pan of salted water to a boil.", "Add the carrots and cook for 3-4 minutes before adding the peas and cooking for another 3 minutes.", "Drain and rinse under cold water to stop the vegetables from cooking any further.", "When the freekeh is done, transfer to a large platter or tray and allow to cool for about 10 minutes.", "Add the peas, carrots, and toasted pine nuts and mix until combined.", "Preheat the oven to 400°F/200°C/Gas Mark 6.", "Roll out your puff pastry as thinly as possible and cut the pastry into roughly 6-inch/15-cm squares.", "Press one of the squares into a small bowl, fill the bowl with 3-5 tablespoons of the freekeh mixture and bring the edges of the pastry together to close it on the stuffing.", "Flip the bowl over and you will have a lovely circle-shaped parcel with the stuffing inside.", "Transfer to a baking sheet and repeat with the remaining pastry squares and filling.", "Brush the pies with the egg then bake for 20 minutes, or until the pastry is a light golden brown.", "Serve immediately." ], "author": "" }
- Assistant
{ "data": "WAS" }