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": "Shepherd's Pie", "description": "Throughout my childhood I knew shepherd's pie as pâté chinois. My French Canadian grandmother taught me that this one-dish meal was intended to use up leftovers. I have since learned that Chinese cooks fed French Canadian railway workers the dish because it was inexpensive and easy to prepare.", "subtitle": "A delicious one-dish meal for the family", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "1 pound (454 g) ground beef", "1 tablespoon olive oil", "1 small onion, peeled and diced", "1 garlic clove, minced", "¼ teaspoon salt", "½ teaspoon ground black pepper", "One 10-ounce (284 package frozen corn, thawed and drained, or one 15-ounce (438 g) can corn, drained", "1 batch of Cauliflower Cream (page 147)" ] } ], "instructions": [ "1. Preheat a medium skillet over medium-high heat. Lower the heat to medium, add the ground beef, and cook for 5 to 6 minutes, until the meat is no longer pink, stirring frequently. Drain the fat from the meat and set it aside.", "2. Heat the olive oil in small skillet, over medium heat. Lower the heat to medium-low, add the onions and garlic and sauté, stirring occasionally, until the onions are translucent, about 3 to 4 minutes.", "3. Preheat the oven to 350°F (180°C).", "4. Combine the ground beef, cooked onions, garlic, salt, and pepper. Layer this mixture in the bottom of a deep baking dish.", "5. Finish assembling the casserole by layering the corn on top of the beef mixture and then layering the Cauliflower Cream on top of the corn.", "6. At this point you can freeze the casserole for baking at a later date (see freezing instructions). Otherwise, bake for 30 minutes. Refrigerate leftovers for up to a week." ], "author": "" }
- Assistant
Pour identifier l'origine de la recette "Shepherd's Pie", nous allons suivre le processus décrit :
-
Le terme "pâté chinois" mentionné dans la description indique une influence canadienne française, ce qui nous amène à identifier le pays comme étant le Canada.
-
Le code ISO 3166-1 alpha-2 pour le Canada est CA.
Nous allons donc renvoyer le code dans le format JSON requis.
json{ "data": "CA" } -
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.