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": "Spinach and Chickpea Stew", "description": "Growing up, I always knew when summer was around the corner because my mother would start cooking with spinach. She would mostly make this stew and Spinach Turnovers and the two couldn't possibly taste more different. Whereas the turnovers are tangy and sharp, this is mellow with earthy flavors-it's therefore complemented very well by lemon juice squeezed directly on your plate before eating.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "3 tablespoons olive oil", "2 small onions (or 1 large), diced", "6-8 cloves garlic, crushed", "3 pieces mastic", "1 lb 5 oz/600 g lamb or beef, cut into ½-inch/1-cm cubes (or use ground/minced lamb or beef)", "2 teaspoons Nine Spice Mix", "1½ teaspoons salt", "2½ lb/1 kg fresh spinach, chopped", "2 cups (16 fl oz/475 ml) chicken broth (stock), homemade or store-bought, or use water", "1 teaspoon tomato paste (purée) (optional)", "1 x 14-oz/400-g can chickpeas, drained and rinsed" ] }, { "section": "To serve", "ingredients": [ "Vermicelli Rice", "lemon wedges", "yogurt" ] } ], "instructions": [ "Heat the oil in a large pan, add the onions, and cook over medium heat, tossing until softened, about 3 minutes.", "Add the garlic and mastic and cook for another minute.", "Add the meat, spice mix, and salt and cook for 10-15 minutes, stirring occasionally, until any water has evaporated and the meat is nicely browned.", "Add the chopped spinach and broth (stock) to the pan.", "Cover, reduce the heat and cook for 5-10 minutes, or until the spinach has wilted.", "Remove the lid and stir in the tomato paste (purée), if using (although optional it does help to concentrate the flavors).", "If using water instead of broth, taste for salt and adjust the seasoning.", "Pour in the chickpeas and cook for another 5 minutes.", "Remove from the heat and serve with vermicelli rice, lemon wedges to be squeezed over the spinach, and yogurt." ], "author": null }
- Assistantjson
{ "data": "WAS" }