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é.
code1. 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": "Quick Chicken Pot Pie", "description": "Sometimes, you just want pie.", "subtitle": "", "ingredients": [ { "section": "For the recipe", "ingredients": [ "400g diced chicken", "2 onions", "100g quartered mushrooms", "3 tablespoons of flour", "330ml white beer", "300ml chicken or vegetable stock", "4 tablespoons of chopped tarragon leaves", "salt and pepper", "ready-rolled all-butter puff pastry sheet", "oil" ] }, { "section": "Chicken breasts, Madeira, the luxury of double cream", "ingredients": [ "2 chicken breasts", "cling film", "seasoned flour", "butter", "Madeira", "4 tablespoons of double cream" ] } ], "instructions": [ "Peel and roughly chop 2 onions.", "Brown 400g diced chicken in a little oil, remove, then add the chopped onions and 100g quartered mushrooms, letting them brown.", "Add 3 tablespoons of flour and continue cooking for about 5 minutes, then add 330ml white beer, 300ml chicken or vegetable stock and bring to the boil.", "Lower the heat, then add 4 tablespoons of chopped tarragon leaves, a grinding of salt and pepper, and simmer for about 10 minutes till thick.", "Tip into a baking dish and leave to cool for as long as you can.", "Put a ready-rolled all-butter puff pastry sheet on a work surface and, using the dish as a template, cut out a disc to fit the top.", "Lay the pastry disc gently on top of the sauce, then cut three slits with the point of a knife.", "Decorate with the remaining pastry, cut into leaves or whatever you fancy.", "Bake at 180°C/Gas 4 for 30 minutes.", "Flatten 2 chicken breasts by wrapping them in cling film and hitting them with a rolling pin or cutlet bat, then dust them in a little seasoned flour.", "Melt a thick slice of butter in a shallow pan, add the chicken, then cook briefly on both sides till golden.", "Lift out the chicken, add a glass of Madeira to the pan then bubble and stir to dissolve any chicken bits that have been left behind in the pan.", "When the liquid has reduced to half its original quantity, stir in 4 tablespoons of double cream, season and simmer briefly." ], "author": null }
- Assistantjson
{ "data": "GB" }