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": "Asparagus Cannelloni", "description": null, "subtitle": null, "ingredients": [ { "section": "For the cannelloni", "ingredients": [ "12 asparagus spears", "4 fresh lasagne sheets, measuring roughly 20cm x 10cm", "olive oil", "500ml béchamel sauce", "50g grated Parmesan cheese" ] }, { "section": "Asparagus, bacon, Parmesan", "ingredients": [ "a bundle of asparagus", "4 rashers of bacon or pancetta", "grated Parmesan" ] }, { "section": "Asparagus, garlic, soy", "ingredients": [ "2 tablespoons of dark soy sauce", "2 tablespoons of mirin", "a pinch of sugar", "a little salt", "a bunch of slim asparagus spears", "a little oil", "a finely sliced clove of garlic" ] } ], "instructions": [ "Set the oven at 180°C/Gas 4.", "Trim 12 asparagus spears.", "Cook 4 fresh lasagne sheets, measuring roughly 20cm x 10cm, in plenty of boiling water for 5 minutes, then drain and brush with a little olive oil.", "Place a sheet of lasagne on the work surface, put 3 raw asparagus spears on it, then roll up loosely.", "Continue with the others, placing them snugly in a baking dish as you go.", "Pour over 500ml béchamel sauce (ready-made is fine for this).", "nicely seasoned.", "Bake for 30 minutes, then scatter 50g grated Parmesan cheese over the top and return to the oven for 10 minutes, till the sauce is bubbling and the Parmesan is lightly coloured.", "Boil a bundle of asparagus and drain, then slice each stalk into 3 or 4 pieces.", "Cut 4 rashers of bacon or pancetta into short strips and fry them in a shallow pan until crisp.", "Toss the cooked asparagus into the pan, scatter over some grated Parmesan and, just as the cheese starts to melt, divide between 2 plates.", "Mix together 2 tablespoons of dark soy sauce, 2 tablespoons of mirin, a pinch of sugar and a little salt.", "Fry a bunch of slim asparagus spears in a little oil in a wok till tender.", "Add a finely sliced clove of garlic. When it has turned golden, add the dressing, bubble briefly and serve." ], "author": null }
- Assistant
{ "data": "IT" }