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": "Chicken Breasts with Taleggio", "description": null, "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "chicken breasts", "Taleggio cheese", "Parma ham", "sage", "2 large chicken breasts", "80g Taleggio cheese", "4 thin slices of Parma ham", "a couple of sage leaves" ] }, { "section": "Sautéed chicken, porcini and Marsala", "ingredients": [ "a handful of new potatoes", "olive oil", "4 seasoned chicken pieces", "a couple of chopped garlic cloves", "a handful of soaked dried porcini mushrooms", "a little chopped rosemary", "a small glass of dry Marsala" ] } ], "instructions": [ "Set the oven at 180°C/Gas 4.", "Slice 2 large chicken breasts in half horizontally.", "Arrange the slices snugly on a lightly oiled baking sheet and season with salt and black pepper.", "Thickly slice 80g Taleggio cheese and place on the chicken pieces.", "Take 4 thin slices of Parma ham and wrap one around each piece of chicken, tucking a couple of sage leaves into each.", "Bake for 10-15 minutes, till the cheese has started to flow and the chicken is cooked through.", "Lift carefully from the baking sheet with a fish slice to serve.", "Cut a handful of new potatoes in half lengthways.", "Heat a little olive oil in a large pan, add 4 seasoned chicken pieces and the potatoes and cook until brown and lightly crisp.", "Add a couple of chopped garlic cloves and colour lightly, then add a handful of soaked dried porcini mushrooms and a little chopped rosemary.", "Pour in a small glass of dry Marsala and simmer, partially covered with a lid, for about 20 minutes, till the chicken is cooked through." ], "author": null }
- Assistant
{ "data": "IT" }