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": "La-ratatouille", "description": "La-ratatouille was a dream of Remy, which he never really knew was possible. The opening of the Parisian café, La-ratatouille, became a reality only after he impressed the well-known food critic, Anton Ego. The very dish that won over the serious and egoistic, Anton Ego was the classic ratatouille. Ratatouille is a classic vegetarian dish with lots of veggies. It's a very famous French dish. Ratatouille was also, as we already know, adopted as the title for the movie Ratatouille, which came out in 2007.", "subtitle": "The classic la-ratatouille", "ingredients": [ { "section": "For the recipe", "ingredients": [ "2 eggplants", "6 Roma tomatoes", "2 yellow squashes", "2 zucchinis" ] }, { "section": "For the sauce", "ingredients": [ "2 tablespoons olive oil", "1 chopped onion", "1 finely chopped garlic", "1 red bell pepper", "1 yellow bell pepper", "salt", "pepper", "795g of crushed potatoes", "2 tablespoons freshly chopped basil" ] }, { "section": "For the seasoning", "ingredients": [ "2 tablespoons freshly chopped basil", "1 teaspoon finely chopped garlic", "2 tablespoons chopped parsley", "thyme salt", "pepper", "4 tablespoons olive oil" ] } ], "instructions": [ "Preheat the oven at 375F (190C)", "Cut the eggplant, tomatoes, and zucchini, and squash into circular pieces and keep them aside.", "Use an oven-safe pan.", "Heat the olive oil.", "Add onion, garlic, and bell peppers in the heated olive oil, and cook it until it's soft.", "Next, add salt and pepper according to taste.", "Add the crushed tomatoes at this stage.", "Mix the ingredients well.", "Take it off the heat.", "Add basil.", "Gently spread out the sauce on the smooth surface with the help of a spatula.", "Arrange the freshly chopped vegetables.", "Add salt and pepper.", "In a different bowl, mix the garlic, basil, parsley, thyme, salt, pepper, and olive oil.", "Use a brush or a spoon to spread it over the vegetables.", "Cover the utensil with a foil before baking.", "Bake for 40 minutes.", "Remove the foil and bake for another 20 minutes.", "Enjoy!" ], "author": "" }
- Assistant
{ "data": "FR" }