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": "KAFTA AND TOMATO BAKE", "description": "This is probably the most traditional way Palestinians make kafta. Each person has their own way of arranging and shaping the ingredients but the ultimate result is a well-spiced meat mixture with crispy potatoes in a rich tomato sauce.\nThis recipe is the way Juju, my mother's best friend, makes it. If you want to give it more of a kick, you could add green chillies and garlic to the sauce, but I love it as is because Juju does it the way her mother and grandmother before her have done it for generations. Tried, tested, and unbelievably tasty, this dish is as perfect for a midweek dinner as it is for a weekend feast.", "subtitle": "صينية كفته ببندوره", "ingredients": [ { "section": "For the meat", "ingredients": [ "1 lb 2 oz/500 g coarsely ground (minced) meat (beef, lamb, veal, or a combination)", "small bunch chopped flat-leaf parsley", "1 small onion, finely grated", "½ teaspoon ground pimento", "½ teaspoon ground cinnamon", "1/4 teaspoon black pepper, plus extra for grinding", "1 x 14-oz/400-g can crushed tomatoes", "2 cloves garlic, crushed (optional)", "4 tablespoons olive 1. plus extra for drizzling", "5 potatoes, thinly sliced", "5 tomatoes, sliced into rounds", "1 green bell pepper, sliced into rounds", "salt" ] }, { "section": "To serve", "ingredients": [ "Vermicelli Rice (page 32) or Pita bread, homemade (page 38) or store-bought, to serve" ] } ], "instructions": [ "Preheat the oven to 400°F/200°C/Gas Mark 6.", "Put the meat, parsley, onion, spices, and 1 teaspoon of salt into a large bowl and mix gently with your hands until just combined, taking care not to over mix the meat.", "In a separate bowl, mix together the crushed tomatoes, garlic, olive oil, and ½ teaspoon of salt.", "Pour into an ovenproof baking dish, about 12 × 8 inches (30 x 20 cm).", "Shape the meat mixture into mini hamburger shapes.", "Arrange in rows in the baking dish, alternating with slices of potato, tomato, and green bell pepper.", "Grind over some black pepper and drizzle with olive oil.", "Cover the dish with aluminum foil and bake in the oven for 20-30 minutes.", "Remove the foil and return to the oven for a further 15 minutes, or until the potatoes are golden brown on top.", "Remove from the oven, let stand for 5 minutes, then serve with vermicelli rice or pita bread." ], "author": null }
- Assistant
{ "data": "PS" }