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": "Lemony Roasted Chicken (Djedj Mechou)", "description": null, "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "1 (3-4 lb) roasting chicken", "2 lemons, halved", "2 large garlic cloves, minced", "3 tbsps unsalted butter", "1 tbsp seasoning, mixed", "1 1/2 tbsps coarse salt", "coarse salt", "fresh ground pepper", "olive oil", "3-4 sprigs thyme" ] } ], "instructions": [ "1. Set your oven to 450 degrees F before doing anything else and arrange a rack in a roasting pan.", "2. In a mortar with pestle, mash the garlic with salt.", "3. In a bowl, mix together the garlic paste, butter and spices.", "4. With your fingers, loosen the skin under the breast and thighs.", "5. With your fingers rub the butter mixture under the skin evenly and drizzle with the lemon juice.", "6. Sprinkle the cavity and outer skin of the chicken with salt and black pepper.", "7. Stuff the cavity of the chicken with thyme sprigs and 4 lemon halves.", "8. Arrange the chicken into prepared roasting pan, breast side down.", "9. Cook in the oven for about 15 minutes.", "10. Remove the roasting pan from oven and place the chicken breast side up.", "11. Now, reduce the temperature of oven to 350 degrees F.", "12. Cook in the oven for about 90 minutes, basting with water and olive oil occasionally.", "13. If chicken becomes brown too soon then cover with a foil paper for about 60-75 minutes and then remove before last 15 minutes of cooking." ], "author": null }
- Assistantjson
{ "data": "DZ" }