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": "Potato Spinach Squares", "description": "These squares are almost like crustless knishes each is a dense wedge of potatoes laced with spinach, oregano, and lemon. Because these taste great at room temperature, they're a perfect choice for a potluck. Puttanesca Scramble makes a great main dish, even though these potatoes will vie for the spotlight.", "subtitle": "", "ingredients": [ { "section": "For the recipe", "ingredients": [ "3 pounds yellow potatoes (like Yukon Gold), cut into 3/4-inch chunks", "¼ cup nutritional yeast", "¼ cup olive oil", "1 16-ounce package chopped frozen spinach, thawed", "3 tablespoons chopped fresh oregano (or 1 tablespoon dried)", "2 tablespoons fresh lemon juice (juice from 1 lemon)", "Zest from 1 lemon", "1½ teaspoons salt", "Fresh black pepper", "1/4 cups breadcrumbs, divided", "A few pinches paprika", "Additional fresh oregano for garnish (optional)" ] } ], "instructions": [ "In a large pot, cover the potatoes in water and bring them to a boil.", "Once boiling, lower the heat to simmer for about 20 minutes, or until potatoes are easily pierced with a fork.", "Drain and place potatoes in a large mixing bowl.", "Preheat the oven to 400°F.", "Use a potato masher or a strong fork to mash the potatoes a bit.", "Add nutritional yeast and oil and continue to mash until creamy.", "Press the thawed spinach in a colander to remove some of the water.", "Combine with the potatoes.", "Add oregano, lemon juice, zest, salt, and several dashes of pepper.", "Mix in 1 cup of the breadcrumbs and thoroughly combine.", "Taste and adjust seasonings if necessary.", "Lightly grease a 9 x 13-inch baking pan with cooking spray.", "Spread potatoes in evenly and sprinkle with 1/4 cup breadcrumbs and a few pinches of paprika.", "Spray with cooking spray to moisten the breadcrumbs.", "Bake for 30 minutes.", "The dish is ready when the top is browned and the potatoes are pulling away from the sides of the pan.", "Let cool for at least 10 minutes before slicing into squares and serving, but a word to the wise: this dish tastes better the longer you let it cool.", "Sprinkle with fresh oregano to serve, if you like." ], "author": null }
- Assistant
{ "data": "WWW" }