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": "Caramel Sauce", "description": "Caramel sauce is a mixture of sugar, cooked until it's caramelized, and cream. I use coconut milk creamer in my version, instead of the heavy C cream traditional recipes call for. Ooey, gooey, that's caramel.", "subtitle": "", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "5 tablespoons shortening (see page 7)", "½ cup (120 ml) coconut milk creamer (see page 33)", "1½ teaspoons Vanilla Extract (page 288)", "1 cup (220 g) organic cane sugar", "¼ cup (60 ml) brown rice syrup", "2 tablespoons water" ] } ], "instructions": [ "Melt 4 tablespoons of the shortening in a small saucepan over low heat. Remove the pan from the heat and add the creamer and vanilla. Stir well.", "Combine the sugar, syrup, and water in a separate medium saucepan with high sides. Stir the ingredients together over low heat, until the sugar is melted. Increase the heat to medium-low and bring it to a low boil. Let it boil, without stirring, for about 20 minutes, until the mixture is medium golden brown.", "Remove the sugar from the heat and stir in the cream mixture. As you do this, the sauce will bubble intensely. Stand back, and use an oven mitt to protect your hand. Stir the sauce until it is smooth.", "Return the pot to medium-low heat and simmer for another 8 to 10 minutes, stirring occasionally. Add in the remaining tablespoon of shortening and stir until it is fully incorporated.", "Remove the caramel sauce from the heat and let it cool to room temperature before transferring it to a jar. Cover and refrigerate for up to 2 months. If the sauce solidifies it can be softened in the microwave." ], "author": "" }
- Assistantjson
{ "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.