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": "Quick Ratatouille", "description": "This super speedy version of the classic Provençal summertime dish is another way to make use of my favorite kitchen gadget, the Vidalia Chop Wizard. It's pretty and delicate and perfectly cooked. Serve with quinoa or any other gluten-free grain you like.", "subtitle": "A speedy version of the classic Provençal dish", "ingredients": [ { "section": "Pour la recette", "ingredients": [ "4 tablespoons olive oil", "1 cup small-diced red onion", "½ teaspoon salt", "3 cloves garlic, minced or pressed", "1 pound eggplant (about 1 medium), peeled, cut into ½-inch rounds, then diced into ½-inch pieces", "8 ounces zucchini, cut into ½-inch pieces", "8 ounces summer squash, cut into ½-inch pieces", "½ teaspoon herbes de Provence (preferably Spicely brand)", "2 (14.5-ounce) cans diced tomatoes", "Freshly ground pepper", "2 tablespoons chopped fresh basil" ] } ], "instructions": [ "Heat 2 tablespoons of the olive oil in a large Dutch oven over medium-high heat. Add the onion and salt and cook until softened and starting to brown, about 3 minutes. Add the garlic and stir.", "Add the remaining 2 tablespoons olive oil and the eggplant and cook, stirring often, for 4 minutes, until the eggplant is softened.", "Add the zucchini and squash and toss, add the herbes de Provence and stir, and add the tomatoes and a few turns of pepper.", "Bring to a simmer, reduce the heat to medium-low, and cook, covered, for 15 minutes, stirring occasionally, until the vegetables are tender and the sauce has thickened up a bit.", "Remove the lid and cook for about 1 more minute, stirring a few times.", "Remove from the heat and stir in the basil. Serve hot, cold, or at room temperature." ], "author": "" }
- Assistantjson
{ "data": "FR" }
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.