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é.
code1. 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": "SHAKSHUKA", "description": "Allthough this dish is of Tunisian origin, it has found its place in the Palestinian kitchen. For Eid al-Fitr, the holiday that celebrates the end of Ramadan, we would all gather with my mother's family for a huge breakfast-although it was more akin to dinner in terms of the quantity and type of food served. Everything from braised variety meats (offal), fried mackerel, grilled cheese, and of course shakshuka would be on the table. Although most versions of this recipe available today feature onions, peppers, and other additions like eggplant (aubergine) and feta, my favorite remains this simple version, flavored only with garlic and chilies.", "subtitle": "شکشوکه", "ingredients": [ { "section": "For the recipe", "ingredients": [ "3 tablespoons olive oil", "8-10 cloves garlic, very finely chopped", "3 green chillies, thinly sliced", "1 teaspoon crushed red chilli flakes", "1/4 teaspoon cumin seeds (or use ground cumin)", "2½ lb/1 kg fresh tomatoes, diced or 2 x 14 oz/400 g cans peeled whole plum tomatoes", "6 eggs", "salt and black pepper", "fresh mint or flat-leaf parsley leaves, to garnish" ] }, { "section": "To serve", "ingredients": [ "fresh bread" ] } ], "instructions": [ "Heat the olive oil in a shallow Dutch oven (casserole) or cast-iron skillet (frying pan) over medium heat.", "Add the garlic, chillies, red chilli flakes, and cumin seeds and cook until fragrant, about 2 minutes.", "Add the tomatoes and ½ teaspoon salt and stir to combine.", "Reduce the heat, cover, and simmer for about 10 minutes, or until the sauce thickens. (If using fresh tomatoes this could take up to 30 minutes.)", "Remove the lid and crack the eggs on top of the tomatoes.", "Sprinkle with salt and pepper then re-cover.", "Cook until the eggs are your desired level of doneness, about 5 minutes for fully cooked, 3 minutes for runny yolks.", "Remove from the heat, sprinkle with fresh mint or parsley leaves and serve with bread." ], "author": "" }
- Assistantjson
{ "data": "TN" }