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": "EGG AND POTATO HASH", "description": "", "subtitle": "This is traditionally a breakfast dish but it was also one of my mother's go-to dishes for lunch or dinner on busy days when she didn't have time to cook a proper meal. When served with some Labaneh (page 26) and a plate of fresh vegetables, it includes everything you could possibly want in a meal-carbs, protein, dairy, and vegetables-and is ready to eat in about 30 minutes. You do, however, have the option to add other vegetables like onions, garlic, and bell peppers. In that case, just make sure to sauté the vegetables, cooking those with the longest cooking time first.", "ingredients": [ { "section": "For the recipe", "ingredients": [ "3 tablespoons olive oil", "1 lb 11 oz/750 g potatoes (about 5 small or 3 large), chopped into ½ inch/1 cm cubes", "¼ teaspoon Nine Spice Mix (page 24, or use ground allspice)", "½ teaspoon salt", "1/4 teaspoon black pepper (optional)", "4 eggs, lightly beaten", "fresh herbs and chilli flakes, to garnish" ] }, { "section": "To serve", "ingredients": [ "-Pita bread, homemade (page 38) or store-bought" ] } ], "instructions": [ "Heat the olive oil in a large lidded nonstick or cast-iron skillet (frying pan) over medium-high heat.", "Add the potatoes and cook for 20-25 minutes, tossing frequently, until golden brown and crisp all over.", "Add the Nine Spice Mix, salt, and pepper and give it one more toss.", "If the potatoes are still not soft (a fork should slip into a piece easily if ready), add 1-2 teaspoons of water, cover the pan, and let cook for another 5 minutes, tossing once or twice during that time.", "Pour the beaten egg over the potatoes and use a rubber spatula to mix the eggs in until the potatoes are fully coated.", "Continue to move around the pan with the spatula until the eggs are cooked and evenly dispersed throughout the potatoes, about 2-3 minutes.", "Remove from the heat, garnish with fresh herbs and chilli flakes and serve with warm pita bread." ], "author": "" }
- Assistant
{ "data": "WAS" }