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": "KHUBZ MAHALLAH (CRÊPES WITH DATE SYRUP)", "description": "Noora Al Balushi, our dear friend Miad's mother, taught me this simple recipe for Omani-style crêpes finished with a drizzle of rich date syrup, which can be purchased at any Middle Eastern shop and at most health food stores. They are served as a dessert, snack, or breakfast dish in Oman, and I find them to be perfect for a leisurely weekend breakfast in place of pancakes.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "2 cups unbleached all-purpose flour", "2 tablespoons sugar", "2 tablespoons dried milk powder", "1 teaspoon kosher salt", "2 tablespoons vegetable oil, plus more for cooking", "Date syrup or date molasses, for serving (optional)" ] } ], "instructions": [ "Whisk together the flour, sugar, milk powder, and salt in a medium bowl.", "Slowly add 2% cups water and mix to form a thin batter, then whisk in the oil.", "Let rest 15 minutes.", "Heat a large nonstick skillet over medium or medium-high heat; drizzle in a little oil and pour about ½ cup batter into the pan, quickly tilting the pan and moving it in a circle to distribute the batter evenly.", "Cook until the crêpe browns and puffs on one side, 1 to 2 minutes.", "Flip and, lifting the edge closest to you with a spatula, drizzle a little more oil under the crêpe, shake to distribute, and cook 1 to 1½ minutes more.", "Flip again if needed and cook the other side 15 to 30 seconds more.", "Transfer to a plate and drizzle with date syrup.", "Repeat with the remaining batter, wiping the pan clean between crêpes as needed." ], "author": "Noora Al Balushi" }
- Assistantjson
{ "data": "OM" }