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 Croutons", "description": "remember the day I discovered polenta croutons at one of my favorite restaurants. I was able to enjoy croutons that are not only gluten-free but also dairy-free and egg-free. Those crunchy croutons, made from polenta, rocked my world and inspired this recipe.", "subtitle": "", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "½ batch Polenta (page 140), chilled for at least 4 hours" ] } ], "instructions": [ "1. Preheat the oven to 450°F (230°C). Line a large baking sheet with parchment paper.", "2. Use a flat knife to loosen the polenta from the edges of the container it was chilled in and transfer it to a cutting board. Use a paper towel to blot excess moisture from the polenta.", "3. Use a sharp knife to create long sticks of polenta about 1 inch (13 mm) thick, then slice each of the sticks into croutons about ½ inch (3 mm) wide. Place the croutons in a single layer on the baking sheet.", "4. Bake for 20 to 22 minutes, until crispy and lightly browned.", "TO FREEZE Croutons not used within 2 days can be frozen in an airtight container for up to 6 months. Reheat from frozen at 375°F (190°C) for 7 to 8 minutes." ], "author": "" }
- Assistant
Dans le contexte de la recette fournie, il n'y a pas de pays mentionné directement. Cependant, le terme "polenta" est associé à la cuisine italienne, ce qui nous permet d'identifier l'origine comme étant l'Italie.
Voici donc le code ISO 3166-1 alpha-2 correspondant à l'Italie, qui est "IT".
Le format JSON structuré retourné est :
{ "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.