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": "Spiced Mushrooms on Naan", "description": "The nourishment of warm bread. The heat of spice.", "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "mushrooms", "curry powder", "naan", "canned tomatoes", "spring onions", "chilli", "yoghurt", "mint", "a few tablespoons of oil, or oil and a slice of butter", "3 chopped spring onions", "a finely sliced chilli", "200g chestnut mushrooms", "a tablespoon of your favourite curry powder", "a 400g can of crushed tomatoes and their juice" ] } ], "instructions": [ "Warm a few tablespoons of oil, or oil and a slice of butter, in a deep pan over a moderate heat, then add 3 chopped spring onions and a finely sliced chilli.", "Cook until the onion is soft then cut 200g chestnut mushrooms into halves or quarters depending on their size and add them to the pan.", "As soon as the mushrooms start to lightly brown, stir in a tablespoon of your favourite curry powder, fry briefly, then add a 400g can of crushed tomatoes and their juice.", "Season generously and leave to simmer for about 20 minutes, watching the pan carefully.", "Serve with warm naan, and if you wish, a little yoghurt and chopped mint." ], "author": null }
- Assistant
{ "data": "IN" }