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": "GRILLED VEGETABLE WRAPS", "description": "This vegetable wrap is perfect for repurposing leftovers. Don't be afraid to make them with whatever you have on hand. This is another tribute to Ivorian\nstreet food where shawarma and pain-chien (an Ivorian beef sandwich on crusty bread) are king.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "1 medium sweet potato, chopped", "1 red bell pepper, chopped", "1 yellow bell pepper, chopped", "10 cherry tomatoes, halved", "Coconut oil", "1 teaspoon ground allspice", "1 teaspoon garlic powder", "1 teaspoon smoked paprika", "4 whole wheat wraps", "Handful of mesclun greens", "1 avocado, sliced", "2 tablespoons chopped cilantro", "Salt", "Black pepper" ] } ], "instructions": [ "Preheat the oven to 350°F (180°C). Line a baking sheet with parchment paper.", "Place the sweet potato, red and yellow bell peppers, and tomatoes on the baking sheet. Drizzle with oil, and sprinkle\nwith the allspice, garlic powder, and paprika. Season with salt and pepper to taste, then stir well to coat.", "Roast for 35 minutes or until the vegetables are golden brown. Remove from the baking sheet and let cool completely.", "Heat the wraps in the still-hot oven for 1 minute.", "Add the roasted vegetables, mesclun greens, and avocado to the wraps, then top with cilantro." ], "author": null }
- Assistant
{ "data": "CI" }