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": "Cheesy Sauce", "description": "Who has the time or gumption to say "nutritional yeast" every time the magical pixie dust comes into conversation? My message boards have come up with a convenient shorthand: nooch. This is the nooch sauce that I use whenever I need a melty, cheesy topping for a meal.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "2 cups vegetable broth (or water)", "1/4 cup all-purpose flour", "1 tablespoon olive oil", "3 garlic cloves, minced", "A pinch dried thyme (crumbled\nin your fingers)", "1/4 teaspoon salt", "A few dashes fresh black pepper", "1/8 teaspoon turmeric", "3/4 cup nutritional yeast", "1 tablespoon fresh lemon juice", "1 teaspoon yellow prepared\nmustard" ] } ], "instructions": [ "Combine the broth and flour in a measuring cup and whisk with a fork until the flour is dissolved (a couple of lumps are okay).", "Preheat a small saucepan over medium-low heat.", "Add the oil and garlic and gently cook the garlic for about 2 minutes, stirring often and being careful not to burn the garlic.", "Add the thyme, salt, and pepper and cook for about 15 seconds.", "Add the broth mixture, turmeric, and nutritional yeast and bring the heat up to medium.", "Use a whisk to stir pretty constantly.", "It should start bubbling and thickening in about 3 minutes; if it doesn't then turn the heat a bit higher.", "Once bubbling and thickening, stir the sauce for about 2 more minutes.", "Add the lemon juice and mustard.", "It should resemble a thick, melty cheese.", "Taste for salt (you may need more depending on how salty your vegetable broth is), turn the heat off, and cover to keep warm until ready to use.", "The top might set a bit while it sits, but you can just stir it and it will be fine.", "Serve warm." ], "author": null }
- Assistant
{ "data": "WWW" }