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": "Basil Tomato Pasta", "description": null, "subtitle": null, "ingredients": [ { "section": "For the recipe", "ingredients": [ "basil", "tomatoes", "pasta", "olive oil", "150g conchiglie or other pasta", "150ml olive oil", "20g basil leaves", "a beefsteak tomato", "salt and pepper", "Gorgonzola", "a little olive oil", "a little cream", "a couple of medium-sized courgettes", "butter", "2 large garlic cloves", "a handful of chopped mint leaves", "a little grated lemon zest", "a little more butter", "small pasta, such as penne or rigatoni" ] } ], "instructions": [ "Cook 150g conchiglie or other pasta in deep, salted water till just tender.", "Make a dressing by putting 150ml olive oil, 20g basil leaves, a beefsteak tomato and a little salt and pepper into a food processor or blender and blitzing till you have a rough dressing.", "Drain the pasta and return to the pan, then add the dressing and toss gently.", "Cook any pasta in deep, boiling, generously salted water.", "Warm ripe Gorgonzola in a small bowl over hot water, stir in a little cream and olive oil.", "Drain the pasta, then toss with the melted cheese sauce.", "Dice a couple of medium-sized courgettes, then cook the cubes in butter in a shallow pan till they are tender and golden.", "Finely chop 2 large garlic cloves and let them colour with the courgettes.", "Add a handful of chopped mint leaves, a little grated lemon zest and a little more butter.", "Cook enough small pasta, such as penne or rigatoni, for 2 in deep, salted boiling water, drain and toss with the courgette and lemon." ], "author": null }
- Assistant
{ "data": "IT" }