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": "Cranberry Maple Granola", "description": "This recipe combines two classic New England flavors that I love-cranberry and maple. The trick to a crunchy granola is to cook it at a low temperature. It's easy to make but does require some elapsed time; I suggest making it at night for breakfast the next morning.", "subtitle": "A crunchy granola combining two classic New England flavors.", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "3 cups (288 g) gluten-free old-fashioned rolled oats", "¼ cup (24 g) shredded coconut, optional", "¼ teaspoon salt", "½ cup (80 ml) pure maple syrup", "4 tablespoons coconut oil, melted", "1 teaspoon Vanilla Extract", "1 cup (120 g) dried cranberries" ] } ], "instructions": [ "Preheat the oven to 250°F (120°C). Line a large baking sheet with parchment paper.", "Combine the oats, coconut (if desired), and salt in a large bowl. Mix them together well.", "In a small bowl, stir together the maple syrup, oil, and vanilla. Pour the mixture over the oats and toss all of the ingredients together until the oats are coated.", "Spread the granola on the prepared baking sheet. Do not pack it down. Bake for 30 minutes.", "Remove the baking sheet from the oven and stir the granola. Return it to the oven and bake for 30 minutes longer.", "Remove the baking sheet again, and stir the cranberries into the granola. Bake for another 15 to 30 minutes (for a total of 75 to 90 minutes baking time) until the oats are golden and fragrant.", "Let the granola cool and dry before transferring it to an airtight container. Store it at room temperature for up to one month." ], "author": "" }
- Assistantjson
{ "data": "WNA" }
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.