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": "Vanilla Frosting", "description": "Whether you need just a little to make Chocolate Sandwich Cookies, or to decorate Brownie Bites, this frosting will cover them all.", "subtitle": "Perfect for Chocolate Sandwich Cookies and Brownie Bites", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "3 cups (432 g) Powdered Sugar", "¼ teaspoon salt", "1 tablespoon Vanilla Extract", "12 tablespoons shortening, softened", "2 to 4 tablespoons water, as needed" ] } ], "instructions": [ "Whisk together the powdered sugar and salt in a large mixing bowl to eliminate lumps.", "Add the vanilla and shortening and combine them using a mixer on medium-low speed until creamy, about 5 minutes.", "Scrape down the sides of the bowl as needed.", "Add 2 tablespoons of water and mix on medium-low speed for 2 to 3 minutes, until the frosting is smooth.", "Add up to 2 more tablespoons of water as needed, tablespoon at a time, until the desired consistency is reached.", "Refrigerate for up to 1 month in an airtight container.", "If the frosting hardens in the refrigerator, let it sit at room temperature for up to 2 hours before using it; mix it together well to soften it." ], "author": "" }
- Assistant
{ "data": "WWW" }
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.