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": "Plain risotto", "description": "It takes only half an hour to prepare this succulent starchy dish to which you can add all kinds of vegetables and/or shellfish to create a complete dish.", "subtitle": "", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "1 white onion", "500 ml of chicken stock", "2 tablespoons of olive oil", "15 g of butter", "180 g of Arborio or Carnaroli rice", "half a glass of dry white wine", "40 g of grated parmesan" ] } ], "instructions": [ "Peel and finely dice 1 white onion.", "Heat 500 ml of chicken stock.", "Heat 2 tablespoons of olive oil and 15 g of butter (30 g in total required for recipe) in a sauté pan.", "Add the onion and sweat for 3 minutes without letting it colour.", "Add a little salt.", "Add 180 g of Arborio or Carnaroli rice and cook for 2 minutes over a very low heat, stirring until it becomes translucent and all the grains are coated.", "Tip in half a glass of dry white wine and wait until it is completely absorbed.", "Then pour in hot chicken stock to cover and stir.", "When the rice has absorbed this stock, pour in a little more and continue to cook, stirring until it is absorbed.", "Repeat the operation until the rice is fully cooked, about 18 to 20 minutes.", "Check the seasoning.", "Off the heat, add the last 15 g of butter and stir it in until melted.", "Then do the same with 40 g of grated parmesan.", "Serve immediately." ], "author": "" }
- Assistant
Pour déterminer l'origine de la recette de "Plain risotto", examinons les éléments fournis.
-
Recherche d’un pays mentionné : La recette n'indique pas explicitement de pays. Cependant, le risotto est un plat traditionnellement associé à la cuisine italienne, en particulier à la région de la Lombardie en Italie.
-
Détermination de l’origine culinaire : Étant donné que le risotto est un plat typique de la cuisine italienne, nous pouvons identifier l'Italie comme l'origine culinaire.
-
Identification d’un continent : Comme un pays a été identifié (Italie), il n'est pas nécessaire d'identifier un continent.
-
Retour du code : L'ISO 3166-1 alpha-2 pour l'Italie est "IT".
Ainsi, le format JSON structuré selon les instructions serait :
{ "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.