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": "ROASTED CAULIFLOWER", "description": "Cooking the cauliflower in large wedges achieves great browning, but you'll need to chop the cauliflower into pieces after roasting to make for easier eating in a bowl. This recipe can be easily doubled; adjust uncovered cooking time in steps 2 and 3 to 8 to 12 minutes.", "subtitle": "Makes 2 cups, enough for 4 bowls", "ingredients": [ { "section": "For the recipe", "ingredients": [ "1 head cauliflower (1 pound)", "2 tablespoons extra-virgin olive oil or vegetable oil, divided", "¼ teaspoon table salt, divided", "⅛ teaspoon pepper, divided" ] } ], "instructions": [ "Adjust oven rack to lowest position and heat oven to 475 degrees.", "Trim outer leaves off cauliflower and cut stem flush with bottom.", "Cut half head into 4 equal wedges.", "Place wedges, with either cut side down, on aluminum foil-lined rimmed baking sheet.", "Drizzle with 1 tablespoon oil and sprinkle with ½ teaspoon salt and pinch pepper.", "Gently rub oil and seasonings into cauliflower.", "Gently flip cauliflower and repeat on second cut side with remaining 1 tablespoon oil, remaining ½ teaspoon salt, and remaining pinch pepper.", "Cover baking sheet tightly with foil and cook for 10 minutes.", "Remove foil and continue to roast until bottoms of cauliflower wedges are golden, 4 to 6 minutes.", "Remove baking sheet from oven, use spatula to carefully flip wedges so other cut side is down, and continue to roast until cauliflower is golden all over, 4 to 6 minutes.", "Cut cauliflower as desired and season with salt and pepper to taste.", "(Cauliflower can be refrigerated for up to 2 days.)" ], "author": "" }
- Assistant
{ "data": "WWW" }