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": "Spiced Root Frittata", "description": null, "subtitle": "A soft tangle of sweet vegetables held together by lightly spiced eggs.", "ingredients": [ { "section": "For the recipe", "ingredients": [ "250g (total weight) of mixed root vegetables, such as parsnip, beetroot and carrot", "a small onion", "2 tablespoons of plain flour", "half a teaspoon each of ground cardamom, cumin and coriander", "a pinch of dried chilli flakes", "half a teaspoon of black mustard seeds", "half a can of chopped tomatoes, drained", "4 eggs", "butter" ] }, { "section": "Black pudding frittata", "ingredients": [ "a thick slice of butter", "200g black pudding", "3 eggs", "3 tablespoons of roughly chopped parsley", "50g finely grated Parmesan cheese" ] } ], "instructions": [ "Peel and grate 250g (total weight) of mixed root vegetables, such as parsnip, beetroot and carrot.", "Peel, then finely shred a small onion and add to the grated roots.", "Stir in 2 tablespoons of plain flour, half a teaspoon each of ground cardamom, cumin and coriander, a pinch of dried chilli flakes and half a teaspoon of black mustard seeds.", "Mix in half a can of chopped tomatoes, drained.", "Lightly beat 4 eggs and add those too.", "Warm a thin pool of butter in a 20cm shallow non-stick pan, then add the egg and tomato mixture.", "Cook till a golden crust has formed on the base but the top is still quite liquid in the centre, then place under a preheated overhead grill and cook for 2 minutes or so, till lightly set.", "Melt a thick slice of butter in a small non-stick frying pan.", "Remove the skin from 200g black pudding and crumble the pudding into the hot butter, leaving it to colour to a deep golden brown.", "Lightly beat 3 eggs, add about 3 tablespoons of roughly chopped parsley, then pour the mixture over the black pudding.", "Add 50g finely grated Parmesan cheese.", "Cook over a fairly low heat till the bottom has formed a golden crust. The centre will hopefully still be wobbly.", "Slip the pan under a hot grill till the frittata has set and the top is lightly coloured.", "Cut into wedges to serve." ], "author": null }
- Assistant
{ "data": "GB" }