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": "Polenta (Grits)", "description": "Polenta is extremely versatile. If you're eating it for breakfast, it's no harder to make than oatmeal and indeed, it provides an alternative for those who can't tolerate oats. If you'd like to save some to chill and make Fried Polenta Sticks or Polenta Croutons, you will need to cook it longer and add a few more ingredients.", "subtitle": "", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "3 cups (720 ml) water", "½ teaspoon salt", "1 cup (140 g) polenta/corn grits or coarse-grind cornmeal" ] }, { "section": "If making to chill for Fried Polenta Sticks or Polenta Croutons", "ingredients": [ "1/4 teaspoon ground black pepper", "½ teaspoon chopped fresh basil", "½ teaspoon chopped fresh parsley", "½ cup (120 ml) water", "1 tablespoon light olive oil" ] } ], "instructions": [ "1. Bring 3 cups of water and salt to a boil in a medium saucepan over high heat.", "2. Turn the heat to low and stir in the cornmeal. Cook over low heat for 5 minutes, stirring occasionally. (Serve immediately with pure maple syrup and/or fresh fruit.)", "3. Stir in the pepper, basil, parsley, and ½ cup (120 ml) of water. Continue simmering over low heat for 30 minutes, stirring occasionally. With 10 minutes left to simmer, stir in the olive oil. The mixture will become very thick. Let it cool for 5 minutes.", "4. Grease a 7 by 9-inch (18 by 23 cm) baking dish. Transfer the polenta to the baking dish, smoothing to the sides. Let it cool for 15 minutes, then cover and refrigerate for up to 5 days. The polenta will solidify in the refrigerator." ], "author": "" }
- Assistant
{ "data": "IT" }
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.